arch-flow-explorer
Generate interactive HTML visualizations of architecture flows with clickable nodes, pan/zoom, and animated walkthroughs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate interactive HTML visualizations of architecture flows with clickable nodes, pan/zoom, and animated walkthroughs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when creating an SDD implementation plan from exploration.md, with deep interview, task breakdown, and batch assignments.
Generate a Product Requirements Document via interactive interview. Writes a markdown PRD that captures intent, user stories, and out-of-scope. Use when the brief is vague, when no ticket is bound, or when SDD invokes it from its PRD gate.
Use when executing an SDD plan via batch-based task implementation, tracking progress with [ ]/[X] markers and quality gates.
Use when starting an SDD workflow to discover codebase context, curate relevant files, and prepare exploration.md for planning.
SDD Orchestrator coordinates SDD (Spec-Driven Development) workflow via sub-agents
Use when reviewing code changes before commit, comparing implementation against SDD plan, or doing standalone code review with advisor consultation.
| name | arch-flow-explorer |
| description | Generate interactive HTML visualizations of architecture flows with clickable nodes, pan/zoom, and animated walkthroughs. |
| metadata | {"version":"1.1","scope":["architecture","documentation","learning","exploration"],"trigger":"User wants to understand, visualize, or explore a codebase flow/architecture/system","auto_invoke":"Triggers on: 'explícame [feature]', 'muéstrame cómo funciona [X]', 'show me how [X] works', 'explain the [X] flow/pipeline/system', 'visualize [X]', 'diagram [X]', or any request to understand backend interactions, architecture, or flow between components"} |
| allowed-tools | Read, Grep, Glob, Bash(tree:*), AskUserQuestion, Write |
Generate interactive HTML playgrounds that visualize backend flows as clickable node diagrams. Any developer opens the file and immediately understands the system.
A single self-contained HTML file (no external dependencies) with:
Read the actual source code. Don't guess. Trace the flow from entry point to final side effects. Look at:
Organize into a FLOW object with components and steps arrays. See references/data-schema.md for the full schema and type definitions.
Each component needs: id, label, type, x, y, description, tech, details[], connections[]
Component types: entry (green), service (indigo), database (amber), messaging (pink), cache (cyan), external (purple), worker (orange)
Use the template in assets/template.html as your base. Replace the // [FLOW_DATA_PLACEHOLDER] comment with your FLOW object as window.FLOW = { ... };.
Node positioning strategy (top-to-bottom flow layout):
The template includes an auto-layout algorithm that arranges nodes hierarchically if x/y are missing. However, you should always provide explicit x/y coordinates for better control.
Recommended layout approach:
Example layout:
Layer 0 (y: 30): [API Gateway] (centered)
Layer 1 (y: 230): [Service A] [Service B] (spread horizontally, centered)
Layer 2 (y: 430): [Database] [Cache] (spread horizontally, centered)
Layer 3 (y: 630): [Message Queue] (centered)
Layer 4 (y: 830): [Worker] (centered)
Positioning tips:
Canvas reference: The template viewport is effectively infinite, but aim to keep nodes within a ~1200px wide × ~1000px tall area for the initial view.
Save the generated HTML to ./.arch-flow-explorer/ in the project root, using a kebab-case slug of the flow name:
mkdir -p ./.arch-flow-explorer
# Write the HTML file
open ./.arch-flow-explorer/{flow_name}.html
Naming convention: derive the filename from the flow title using kebab-case.
order-creation-flow.htmlcontact-sync-pipeline.htmluser-registration.htmlThis way the team accumulates all flow diagrams in one place:
project-root/
└── .arch-flow-explorer/
├── order-creation-flow.html
├── contact-sync-pipeline.html
└── user-registration.html
steps array drives the walkthrough. Without it, Play Flow won't work../.arch-flow-explorer/ — Always save to project root's .arch-flow-explorer/ directory and open from there.orders collection with writeConcern: majority"async: true in steps so connections render as dashed lines