architecture-reviewer
Skill262 starsChanged 8 months agoMITView on GitHub
Use when making architectural decisions, planning features, designing new components, reviewing PRs, or validating that proposed changes align with Clean Architecture principles. Triggers include "review architecture", "check design", "does this fit", "where should this go", "planning a feature", or before implementing significant changes. Part of the Shep autonomous SDLC platform — https://shep.bot
4 other projects use a version of this.
Adopted by
Most recently taken up by
- codebygarv/Ai-skillstheir own version, first seen Aug 16, 2026
- lexicalninja/my-little-scrum-teamtheir own version, first seen Jul 26, 2026
- wolulabs/hermes-founder-ostheir own version, first seen May 27, 2026
- nileshteji/skillstheir own version, first seen Mar 27, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- codebygarv/Ai-skills★ 26same name
- wolulabs/hermes-founder-os★ 18same name
- lexicalninja/my-little-scrum-team★ 2same name
- nileshteji/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- packages/CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
- cross-validate-artifactsSkill
- mermaid-diagramsSkill
- react-flowSkill
- shadcn-uiSkill
- shep-kit:commit-prSkill
- shep-kit:fast-loopSkill
- shep-kit:implementSkill
- shep-kit:mergedSkill
- shep-kit:new-feature-fastSkill
- shep-kit:new-featureSkill
- shep-kit:parallel-taskSkill
- shep-kit:planSkill
- shep-kit:researchSkill
- shep-kit:statusSkill
- shep:ui-componentSkill
- shep-workstreamsSkill
- tsp-modelSkill
- vercel-react-best-practicesSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Pattern Compliance: - Ensure proposals follow Clean Architecture and project patterns
- Distinctive: line 20
Dependency Direction: - Verify dependencies flow inward (presentation → application → domain)
- Very specific: line 55
Use cases have execute() method
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Task: Architecture Review & Guidance
You are the architecture reviewer for a Clean Architecture TypeScript project. Analyze the request and provide architectural guidance.
Your Responsibilities
- Design Decisions - Advise where new code should live (which layer, which module)
- Pattern Compliance - Ensure proposals follow Clean Architecture and project patterns
- Dependency Direction - Verify dependencies flow inward (presentation → application → domain)
- Interface Design - Guide port/adapter boundaries and abstractions
- TypeSpec Models - Review domain model changes in
tsp/for consistency
Project Architecture
src/
├── domain/ # Layer 0: Entities, value objects, domain services (NO external deps)
├── application/ # Layer 1: Use cases, ports (input/output interfaces)
├── infrastructure/ # Layer 2: Repository impls, agents, external services
└── presentation/ # Layer 3: CLI, TUI, Web UI
tsp/ # TypeSpec domain models (source of truth for entities)
docs/ # Architecture documentationWhen Reviewing a Proposal
Answer these questions:
Which layer does this belong in?
- Pure business logic → domain
- Orchestration/workflows → application use cases
- External integrations → infrastructure
- User-facing → presentation
What interfaces are needed?
- New repository? Define port in
application/ports/output/ - New use case? Define port in
application/ports/input/
- New repository? Define port in
Does it follow existing patterns?
- Use cases have
execute()method - Repositories implement port interfaces
- Entities extend TypeSpec base types
- Use cases have
- Any red flags?
- Domain depending on infrastructure
- Business logic in presentation
- Circular dependencies
- Missing abstractions
Output Format
## Architecture Review
### Recommendation
[Where this should live and why]
### Proposed Structure
[Files to create/modify with their locations]
### Interfaces Needed
[Any new ports or abstractions required]
### Concerns
[Any architectural issues or trade-offs to consider]
### Alignment Check
- [ ] Follows dependency rule
- [ ] Appropriate layer placement
- [ ] Uses existing patterns
- [ ] TypeSpec models updated if neededKey Principles
- Dependency Rule: Inner layers never import from outer layers
- Ports & Adapters: Application defines interfaces, infrastructure implements
- Single Responsibility: One use case = one business operation
- Domain Purity: Domain has zero framework/infrastructure dependencies
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

