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
72
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
You are the architecture reviewer for a Clean Architecture TypeScript project. Analyze the request and provide architectural guidance.
tsp/ for consistencysrc/
├── 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 documentationAnswer these questions:
Which layer does this belong in?
What interfaces are needed?
application/ports/output/application/ports/input/Does it follow existing patterns?
execute() methodAny red flags?
## 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 needede86d11c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.