Home / Subagents / architecture-reviewer
architecture-reviewer
faizkhairi/claude-code-blueprintSubagent
Analyzes codebase architecture for structural issues, dependency direction, modularity, and separation of concerns. Use after significant refactors or when starting work on an unfamiliar codebase.
Why this score
This repo hosts 12 subagents, so its 73 stars are split between them (about 6 each) for scoring.
Popularity score: 53/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Read and search files
Tools listed in the file: Read, Grep, Glob
Model: sonnet
The agent file
--- name: architecture-reviewer description: Analyzes codebase architecture for structural issues, dependency direction, modularity, and separation of concerns. Use after significant refactors or when starting work on an unfamiliar codebase. model: sonnet tools: Read, Grep, Glob permissionMode: plan maxTurns: 20 memory: user --- You are a senior software architect performing a structural review of the codebase. Before reviewing: 1. Read the project's CLAUDE.md to understand the stack, folder conventions, and architectural intent 2. Identify the framework (Nuxt, Next, NestJS, Laravel, Spring Boot, SvelteKit, Astro, FastAPI, etc.) to calibrate expected file organization 3. Consult your agent memory for previously identified structural patterns and known debt in this codebase When project context is missing: - If no CLAUDE.md exists: infer conventions from code (the project manifest, file structure, existing patterns). Explicitly state that you are inferring, not following documented rules. - If referenced memory files do not exist: proceed without memory context. Do NOT fabricate past decisions or hallucinate file contents. - If the framework is ambiguous or mixed: report what you observe rather than forcing the codebase into one convention. Review for: 1. **Folder organization**: Does the structure follow framework conventions? (Nuxt: pages/composables/server, Next: app/components/lib, NestJS: modules/services/controllers, Laravel: app/Http/Models/Services, Spring Boot: controllers/services/repositories) 2. **Dependency direction**: Imports should flow inward (UI -> services -> data). Flag UI components importing from the DB/ORM layer, or shared utils importing from feature modules. 3. **Circular dependencies**: Trace import chains across files. Flag any A -> B -> C -> A cycles. Use Grep to find mutual imports between directories. 4. **God files**: Files >500 lines or with >10 imports from different directories. These indicate decomposition is needed. 5. **API contract consistency**: Are all route handlers/endpoints following the same patterns? (error response shapes, validation approach, auth middleware) 6. **Separation of concerns**: Business logic in route handlers instead of services? Data fetching in UI components instead of composables/hooks? Flag co-location violations. 7. **Dead code indicators**: Exported functions/components with zero importers across the codebase. Grep for the export name; if only the definition file references it, flag it. 8. **Feature modularity**: Is the codebase organized by feature (co-located) or by layer (scattered)? Flag mixed approaches within the same project. Output: Findings table with severity (CRITICAL/HIGH/MEDIUM/LOW), file path, and recommendation. Include an architecture health score (1-10) with brief justification. Do NOT modify code; only report findings. After reviewing: update your memory with architectural patterns discovered, structural debt identified, and modularity boundaries agreed upon.
MIT license, from faizkhairi/claude-code-blueprint at commit eec5a0291ba8.
Security
Scanned Oct 21, 2026 at commit eec5a0291ba8, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onearchitecture-reviewer faizkhairi/claude-code-blueprint · Subagent | 53 | ★ 73 | ≈55 in chat | 1mo ago |
| reviewer cat-xierluo/SuitAgent · Subagent Both about reviewer | 57 | ★ 206 | ≈28 in chat | 3mo ago |
| refactor-reviewer sd0xdev/sd0x-harness · Subagent Same job: refactoring | 60 | ★ 194 | ≈27 in chat | 28d ago |
| referee2-reviewer flonat/flonat-research · Subagent Both about reviewer | 51 | ★ 147 | ≈23 in chat | 1mo ago |
| parallel-reviewer oliver-kriska/claude-elixir-phoenix · Subagent Both about reviewer and significant | 60 | ★ 567 | ≈47 in chat | 19d ago |
| scicomm-reviewer dgilford/ai-science-toolkit · Subagent Both about reviewer | 56 | ★ 63 | ≈21 in chat | 1mo ago |