iamp5/nx-starter/api-architecture-review
Claude Code and agent skill by iamp5/nx-starter
- community
Checking that the SKILL.md file is still in the repository.
Reviewing or auditing Java code in apps/api against the clean architecture rules (layer direction, Gateway ports, Default* use cases, Api/Controller split, persistence confinement, error handling). Use for architecture reviews of changes under apps/api.
Install
npx vskill@latest install iamp5/nx-starter/api-architecture-reviewSKILL.md
The same SKILL.md was published earlier as iamp5/nx-starter/api-architecture-review.
Review API Architecture
Use this skill when reviewing Spring Boot code in apps/api for architectural quality.
Before reviewing, read:
apps/api/docs/architecture-boundaries.mdapps/api/AGENTS.mdapps/api/src/test/java/com/example/nxstarter/architecture/ArchitectureTest.java- the changed files and their imports
Treat apps/api/docs/architecture-boundaries.md as the source of truth.
Do not invent additional rules. If something is not covered by the document, infer cautiously from the greeting slice and mark it as an inference.
Process
- Identify the affected aggregate and the layer of every changed file
(domain, application, infrastructure, web).
- Check the imports of each changed file against the layer table: nothing
framework-related in domain, nothing from infrastructure or application..impl in web, JPA and Spring Data only inside infrastructure.
- Check the building-block shape:
<Aggregate>Idrecord,*Gatewayport
next to the aggregate, abstract verb-first use case with nested Input/Output, Default* in impl with @Service, adapter implementing one gateway, *Api interface plus *Controller, *Request/*Response records.
- Check error handling: invariants in the domain via
AssertionConcern,
no try/catch of DomainException in controllers or use cases, no ResponseStatusException for business rules.
- Check tests: pure JUnit with fakes for domain and use cases, a
*WebMvcTest for every controller, *IT for adapters.
- Report only concrete findings and recommend the smallest useful fix.
Output
Provide:
- summary
- findings by severity
- affected files
- violated rule from
apps/api/docs/architecture-boundaries.md - concrete fix
- checks that should be run (
npx nx run api:archTest,
npx nx run api:test, or npm run verify)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingapps/api/.agents/skills/api-architecture-review/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/iamp5/nx-starter/api-architecture-review)