architecture-to-json
SKILL.md
Architecture/Diagram To JSON
Overview
This skill provides a standardized workflow for converting various diagram types (System Architecture, Flowcharts, Sequence Diagrams) into a structured JSON format.
Workflow
- Identify Diagram Type: Determine if the source is an Architecture Diagram, a Flowchart, or a Sequence Diagram.
- Load Reference: Based on the identified type, read the corresponding guideline file:
- Architecture Diagram: Read
references/architecture.md - Flowchart: Read
references/flowchart.md - Sequence Diagram: Read
references/sequence.md
- Architecture Diagram: Read
- Map to JSON: Use the schema defined in the loaded reference file to structure the data.
- Enforce Constraints: Ensure nesting and structure follow the guidelines in the reference file.
- Summarize Results: Provide a brief summary of the extracted elements (e.g., component count, steps, or swimlanes).
Output Requirements
When using this skill, your output should include:
- The complete JSON structure.
- A brief summary of the extracted content (relevant to the diagram type).
- Notes on any adaptations or assumptions made during extraction.
Weekly Installs
2
Repository
ericoo0/stock-t…platformGitHub Stars
6
First Seen
13 days ago
Security Audits
Installed on
opencode2
gemini-cli2
antigravity2
claude-code2
windsurf2
github-copilot2