From claude-library
Build a mental model before touching code. Use when joining large repos, legacy systems, before refactoring, or when you need to understand how a codebase is structured.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-library:architecture-archThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Purpose**: Build a mental model before touching code
Purpose: Build a mental model before touching code
Use when:
vs
/learning-codebase-mastery: Use/architecture-archwhen you need a reference document — a map of components, execution paths, and risks. Use/learning-codebase-masterywhen you want to learn and retain how specific code works through quizzes and exercises.
When user asks to understand architecture:
Ask what the target is:
Inspect codebase using search/grep and summarize:
Produce outputs in this exact format:
A) High-level overview (10 lines max)
B) Component map (bullets)
- [Component]: [responsibility]
C) Key execution paths (3-5 numbered flows)
1. [Trigger] → [Step] → [Step] → [Output]
D) Critical files list (with paths)
- path/to/file.py: [why it matters]
E) Risks / tech debt / unknowns
- [Risk]: [explanation]
/architecture_arch Focus on:
- how agent teams are instantiated
- how tools are bound
- where orchestration decisions are made
- where a Composer could plug in safely
Or:
/architecture_arch map the inference API service and show the main execution paths
npx claudepluginhub tabers77/claude_experimentsExplores codebases across phases: scopes target, discovers architecture/components/layers, deep-dives each perspective, then synthesizes findings with file:line evidence. Use before planning changes or orienting on unfamiliar code.
Scans a codebase, interviews the developer, and produces a shareable architecture insights document. Use when assessing architecture, determining direction, or auditing drift.
Maintains architecture.yml with module metadata (path, role, stability) for AI-first repos. Drafts structured answers from directory walk + AGENTS.md; user confirms role/stability.