arch

Generates Mermaid architecture diagrams from codebase analysis.

4|2|Updated Jan 27, 2026
Ready to run
npx skills add https://github.com/Arete-Consortium/ai-skills --skill arch-arete-consortium
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: arch
Source: https://github.com/Arete-Consortium/ai-skills/tree/main/personas/engineering/arch
Command: npx skills add https://github.com/Arete-Consortium/ai-skills --skill arch-arete-consortium

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Understanding a codebase's structure requires manually reading through modules, imports, and class relationships, which is slow and error-prone when documenting or onboarding onto a project. ## Core Features & Use Cases - Codebase Scanning: Identifies modules, classes, functions, and dependencies using Glob, Grep, and Read operations. - Multiple Diagram Types: Supports flowchart, class, sequence, ER, and C4 model diagrams in Mermaid syntax. - Structured Output: Produces Markdown with the diagram, a component table, and key flow descriptions ready for documentation. - Use Case: Run /arch on a new repository to generate a C4 container diagram showing how its modules connect, then paste the output directly into your project README or GitHub wiki. ## Quick Start Ask Claude to generate an architecture diagram of the current project using the arch skill.

Frequently Asked Questions about arch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an architecture diagram from my codebase?▼

Invoke /arch with an optional component name to diagram a specific module, or run it without arguments to diagram the entire project. The skill scans the code, maps dependencies, and outputs Mermaid syntax in Markdown.

What diagram types does Mermaid support for code visualization?▼

This skill supports five Mermaid diagram types: flowchart for control flow, class for inheritance relationships, sequence for component interactions, ER for database schemas, and C4 for context, container, and component views.

Can I generate a diagram for a single component instead of the whole project?▼

Yes, pass the component name as an argument, such as /arch my-module, to scope the analysis to that component. You can also specify a diagram type with the --type flag, for example /arch --type flowchart.

What are the limitations of auto-generated architecture diagrams?▼

Large codebases produce unreadable diagrams, so the skill limits output to roughly 15-20 nodes per diagram and splits larger structures. Generated diagrams reflect static code relationships and may miss runtime or dynamic dependencies.

Where can I use the Mermaid diagram output?▼

The output is Markdown with an embedded Mermaid code block that renders natively on GitHub, GitLab, and many documentation platforms. It also includes a component table and key flows section for additional context.