Architecture Skill
Purpose
Design a maintainable architecture with clear contracts and low coupling.
Workflow
- •Clarify objective, scope, and constraints first.
- •Define or update typed contracts first (models, protocols, interfaces).
- •Choose simple abstractions before adding polymorphism.
- •Decouple domain logic, orchestration, and infrastructure adapters.
- •Record architecture tradeoffs in
plan.md.
Mandatory Decisions
- •Define thin interfaces where external dependencies are involved.
- •Keep one canonical schema per external contract (CLI/API/config).
- •Make compatibility and migration behavior explicit when contracts evolve.
Deliverables
- •Update interfaces and protocols.
- •Update module boundaries.
- •Update plan entries for architecture decisions.