From claude-impl-tools
Queries and visualizes project architecture: domains, APIs, layers, tech stack via /architecture subcommands or natural queries like 'show me the structure'. Analyzes filesystem patterns with Mermaid diagrams.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-impl-tools:architectureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Query and visualize the full project architecture. Get a clear picture of domain structure, API catalog, layer layout, and tech stack at a glance.**
Query and visualize the full project architecture. Get a clear picture of domain structure, API catalog, layer layout, and tech stack at a glance.
/architecture — Full architecture overview/architecture domains — Domain structure/architecture api — API catalog/architecture layers — Layer-by-layer structure/architecture tech — Tech stack/architecture <domain-name> — Specific domain detailarchitecture-updater.js hook.Receive /architecture [subcommand]
|
v
[1] Parse subcommand
|
v
[2] Check existing architecture documents (.claude/architecture/)
|
v
[3] Explore project structure
|
v
[4] Analyze by subcommand
|
+--> overview: full architecture overview
+--> domains: domain structure
+--> api: API endpoints
+--> layers: layer structure
+--> tech: tech stack
+--> <domain-name>: domain detail
|
v
[5] Output visualization
| Subcommand | Description |
|---|---|
| (none) | Full architecture overview |
domains | Domain structure + Mermaid diagram |
api | API endpoint catalog |
layers | Layer-by-layer structure + violation detection |
tech | Auto-detected tech stack |
<domain-name> | Detailed analysis of a specific domain |
| Pattern | Example |
|---|---|
src/domains/<name>/ | src/domains/member/ |
domains/<name>/ | domains/order/ |
packages/<name>/ | packages/auth/ |
modules/<name>/ | modules/payment/ |
Layers vs. Domains:
api/, services/, models/, utils/order/, member/, product/| Layer | Directory Patterns |
|---|---|
| API/Route | api/, routes/, controllers/ |
| Service | services/, usecases/ |
| Model/Entity | models/, entities/ |
| Schema | schemas/, dto/ |
| Repository | repositories/, dao/ |
| Infrastructure | infrastructure/, adapters/ |
| Test | tests/, __tests__/ |
| Category | Detection Source |
|---|---|
| Language | File extension distribution |
| Framework | Config files, import patterns |
| Database | Config files, ORM imports |
| Infrastructure | Docker, K8s config files |
| CI/CD | Workflow files |
# Check config files
cat package.json pyproject.toml requirements.txt 2>/dev/null | head -30
# Infrastructure config
ls Dockerfile docker-compose*.yml .github/workflows/ 2>/dev/null
| Priority | Source |
|---|---|
| 1 | .claude/architecture/*.md (hook-generated documents) |
| 2 | .claude/project-team.yaml (project config) |
| 3 | Real-time filesystem scan |
| Aspect | Hook (architecture-updater.js) | Skill (/architecture) |
|---|---|---|
| Trigger | Auto-runs after Write/Edit | On user request |
| Scope | Incremental, based on changed files | Full or per subcommand |
| Output | Auto-updates documents | Interactive visualization |
| Purpose | Document maintenance | Architecture understanding |
| Skill | When to Link | Purpose |
|---|---|---|
/deps | After full analysis | Deep dependency analysis |
/impact <file> | When a specific file is of interest | Change impact scope |
/changelog <domain> | After domain detail view | Change history |
/coverage | After layer analysis | Test coverage |
references/output-formats.md — Output format detailsreferences/examples.md — Usage examplesnpx claudepluginhub insightflo/claude-impl-tools --plugin claude-impl-toolsScans codebase and generates high-level architecture graph as interlinked markdown files in docs/professor/architecture/. Use for new project analysis or significant changes.
Automatically analyzes codebases to generate zero-config architecture diagrams by detecting project type, tech stack, and structure. For repo overviews without custom specs.