.claude/skills/document-architecture/SKILL.md
Generate Arc42-based architecture documentation with C4 diagrams. Use when documenting system architecture, creating architecture docs, or explaining how the system is structured.
npx skillsauth add amak07/acr-automotive document-architectureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate comprehensive architecture documentation using the Arc42 template structure with C4 model diagrams. This produces "Explanation" type documentation in the Diátaxis framework.
Before writing ANY documentation, review ../DOCUMENTATION_PRINCIPLES.md for:
These principles override any template suggestions that conflict with them.
When documenting system architecture:
templates/arc42.md/docs/architecture/[system].mdUse the template at: .claude/skills/document-architecture/templates/arc42.md
The template includes all 12 Arc42 sections:
Use Mermaid with C4 naming conventions:
graph TB
subgraph "System Context"
User[User]
System[ACR Automotive]
External[External System]
end
User --> System
System --> External
| Level | Purpose | When to Use | | ------------ | -------------------------- | ------------------------ | | 1. Context | System in environment | Always | | 2. Container | High-level tech components | Always | | 3. Component | Internal structure | For complex containers | | 4. Code | Class/function level | Rarely, only when needed |
| Scope | Output Path |
| ----------- | ----------------------------------- |
| Full system | /docs/architecture/OVERVIEW.md |
| Subsystem | /docs/architecture/[SUBSYSTEM].md |
Before completing:
/docs/architecture/OVERVIEW.md/docs/architecture/SEARCH.md/docs/architecture/DATA_IMPORT.mddevelopment
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
data-ai
Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.