andrewbrown-usda/aigb-skills-usda/reviewer-architecture
Claude Code and agent skill by andrewbrown-usda/aigb-skills-usda
- community
Checking that the SKILL.md file is still in the repository.
Performs architectural code reviews focusing on design patterns, duplication, circular dependencies, and refactoring impact. Is the design consistent with the codebase? Use when reviewing code changes for architectural concerns, code smells, or structural issues.
Install
npx vskill@latest install andrewbrown-usda/aigb-skills-usda/reviewer-architectureSKILL.md
The same SKILL.md was published earlier as andrewbrown-usda/aigb-skills-usda/reviewer-architecture.
Architectural Reviewer
Performs deep architectural analysis of code changes, identifying design patterns, duplication, circular dependencies, and refactoring side effects.
Review Complete When
- Scope of affected files and modules is mapped
- Duplication is audited (no new unnecessary copies, consolidation opportunities noted)
- Patterns verified against codebase conventions (caller expectations, interface consistency)
- Circular dependencies validated or ruled out for all affected modules
- Refactoring impact assessed (stub files, side effects, progression toward goal)
- Summary table shows status for all items
- Overall verdict is clear ([PASS] patterns sound / [WARN] concerns noted / [FAIL] rework needed)
A review is not complete if any architectural check has an "unknown" or "not checked" status.
Instructions
1. Identify Scope
Determine which files and modules are affected by the changes. Map the import/export graph for the affected modules.
2. Check for Duplication
Search for duplicate or near-duplicate implementations across the codebase:
For each duplicate found, assess:
- Are the implementations identical or divergent?
- Is there an intentional reason for the duplication?
- Should they be consolidated into a shared utility?
3. Assess Architectural Patterns
Evaluate whether the changes follow existing patterns in the codebase:
- Path resolution: Do path-building functions return full paths consistently? Check against existing patterns like
discoverAgents(). - Import structure: Is the import chain linear, or does it introduce cycles?
- Export surface: Are exports aligned with how consumers use them?
- Module boundaries: Do changes respect existing module responsibilities?
4. Trace Callers and Consumers
For each changed function, verify all callers:
Check:
- Do all callers expect the same interface (e.g., full paths vs. bare filenames)?
- Are there callers that might break with the change?
- Are there unmet imports (functions used but not exported)?
5. Check Circular Dependencies
Build the import graph for affected modules:
Flag any cycles. Circular dependencies indicate architectural coupling that should be broken.
6. Evaluate Refactoring Impact
When changes are part of a larger refactoring (e.g., extracting handlers from a monolith):
- Are stub files created as intermediate artifacts?
- Do new exports serve the refactoring goal?
- Are there side effects on unrelated modules?
- Is the refactoring progressing toward a clear architecture?
7. Report Findings
Structure the review as:
Use status symbols:
- [PASS] -- Correct, no issues
- [WARN] -- Code smell or concern worth noting (not a blocker)
- [FAIL] -- Architectural problem that should be addressed
- [INFO] -- Informational, known state
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/reviewer-architecture/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/andrewbrown-usda/aigb-skills-usda/reviewer-architecture)