6.1 KiB
6.1 KiB
Architecture Design - Claude Skill
A comprehensive Claude skill for creating professional software architecture documentation through guided interviews and template-based generation.
Overview
The Architecture Design skill transforms Claude into an expert architecture consultant capable of generating detailed, standardized ARCHITECTURE.md files. It helps development teams create comprehensive documentation that accelerates onboarding and improves system understanding.
Sample architecture document for a Trello clone app with NextJS and Supbabase generated by this skill.
Features
Core Capabilities
- Interactive Architecture Interviews: Guided sessions to gather system information (5-7 questions)
- Template-Based Generation: Generate comprehensive 11-section document
1. Project Structure
2. High-Level System Diagram
3. Core Components
4. Data Stores
5. External Integrations / APIs
6. Deployment & Infrastructure
7. Security Considerations
8. Development & Testing Environment
9. Future Considerations / Roadmap
10. Project Identification
11. Glossary / Acronyms
- Visual Diagrams: Generates system diagrams and C4 model representations
- Advanced Features: Mermaid diagrams, OpenAPI spec
Claude Code Installation
/plugin marketplace add vukhanhtruong/claude-rock
/plugin install architecture-design@claude-rock
Claude Chat Installation
Step 1: Download the Skill
- Download the bundle zip file
- Save it to your computer
Step 2: Upload to Claude
- Go to Settings > Capabilities
- Click "Upload Skill"
- Select the file you downloaded
- Wait for the upload to complete
Step 3: Enable the Skill
- In the same Settings > Capabilities page
- Find "Architecture Design" in your skills list
- Toggle the switch to enable it
- The skill is now ready to use
How to Use
Trigger the Skill
Say any of these:
- "Create architecture documentation"
- "Document my system architecture"
- "Design a new architecture"
Usage Examples
"Create architecture documentation for my Node.js e-commerce platform"
"Design an architecture for an e-commerce application using Java Spring Boot microservices"
"Create a full architecture documentation package for my serverless application on AWS"
"Generate architecture for my Python Django application"
Need to update? Just say:
"Update the architecture documentation"
"Add Redis cache to the architecture"
"Document the new services"
Answer Questions
The skill will ask 5-7 questions about:
- Architecture pattern (monolith/microservices/serverless)
- Technology stack (Node.js/Python/Java/etc.)
- Components and services
- Data stores
- Deployment infrastructure
Receive Documentation
Get a complete ARCHITECTURE.md with:
- All 11 required sections
- System diagrams
- Technology-specific patterns
- Best practices
- Validated for completeness
What You Get
ARCHITECTURE.md File
- Comprehensive documentation
- Professional format
- Technology-specific patterns
- Validated completeness
- Ready to commit to repo
Enhanced Features (when requested)
- Visual Diagrams - Mermaid.js diagrams (C4 Context, Container, Component, Data Flow, Deployment)
- API Specifications - OpenAPI 3.0 compliant documentation
System Diagrams
- ASCII-based (version control friendly)
- Multiple diagram types
- Clear component relationships
- Data flow visualization
Structure
$(pwd)
├── ARCHITECTURE.md # Main documentation
├── openapi.json # API specification (if applicable)
└── diagrams/ # Visual documentation
├── 01-context.png # System context diagram
├── 02-container.png # Container diagram
├── 03-component.png # Component diagram
├── 04-dataflow.png # Data flow diagram
├── 05-deployment.png # Deployment diagram
└── source/ # Editable source files
├── 01-context.mmd
├── 02-container.mmd
├── 03-component.mmd
├── 04-dataflow.mmd
└── 05-deployment.mmd
Speed & Efficiency
- Questions: 5-7 focused questions
- Time: 2-3 minutes to complete
- Output: Comprehensive 11-section document
- Quality: Professional, validated, complete
Pro Tips
For New Projects
- Be clear about your architecture goals
- Mention any constraints upfront
- Specify your tech preferences
For Existing Systems
- Describe current pain points
- Mention planned improvements
- Identify undocumented areas
For Best Results
- Answer questions completely
- Provide specific names (not generic terms)
- Mention actual tools and services you use
- Let the skill know your deployment target
Key Benefits
- Consistency: Standard format every time
- Completeness: No missing sections
- Specificity: Your tech stack, your patterns
- Speed: Minutes instead of hours
- Quality: Industry best practices included
- Validation: Automatic checks for completeness
Troubleshooting
Skill Not Working
- Verify the skill is enabled in Settings > Capabilities
- Try refreshing Claude and starting a new conversation
- Check that you're using the correct trigger phrases
PDF Generation Issues
- PDF generation requires optional tools (pandoc or WeasyPrint)
- If tools aren't available, you'll get clear instructions to install them
- The skill still works without PDF generation
Diagram Rendering
- Mermaid diagrams can be rendered to PNG with
@mermaid-js/mermaid-cli - If not available, you'll get the .mmd source files instead
- These can be rendered later using online Mermaid editors
Support
For questions or issues:
- Use the skill's built-in help: "Show architecture-design skill help"
- Create an issue on the skill's GitHub repository