iamp5/spec-sync/api-architecture-review

Claude Code and agent skill by iamp5/spec-sync

Trust tier 3
  • community
Source check pending

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/spec-sync/api-architecture-review

SKILL.md

The same SKILL.md was published earlier as iamp5/spec-sync/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.md
  • apps/api/AGENTS.md
  • apps/api/src/test/java/com/fiap/ford/specsync/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

  1. Identify the affected aggregate and the layer of every changed file

(domain, application, infrastructure, web).

  1. 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.

  1. Check the building-block shape: <Aggregate>Id record, *Gateway port

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.

  1. Check error handling: invariants in the domain via AssertionConcern,

no try/catch of DomainException in controllers or use cases, no ResponseStatusException for business rules.

  1. Check tests: pure JUnit with fakes for domain and use cases, a

*WebMvcTest for every controller, *IT for adapters.

  1. 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, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/iamp5/spec-sync/api-architecture-review/badge)](https://verified-skill.com/skills/iamp5/spec-sync/api-architecture-review)

Something wrong with this skill or its page? Tell us.