/architecture-design
Handbook · Skill index · Runtime source
Purpose
Turn requirements and recorded choices into justified system boundaries, applicable design principles and consequential ADRs.
When to use
You need to choose/revise deployment or module boundaries, data ownership, consistency, integration contracts or other architecture decisions.
When not to use
Do not redesign the application for every feature, treat all patterns as mutually exclusive, or copy Foundry’s own construction ADRs as product decisions.
Invocation
/architecture-design Choose boundaries for the booking API.Autocomplete hint: <decision or goal> [constraints] [existing ADRs]. Required information can be supplied in context; this is not a shell command or a CLI parser. Use plain-language arguments. See argument conventions for notation and permission boundaries.
Minimal example:
/architecture-design Choose boundaries for the booking API.With optional context:
/architecture-design Compare a modular monolith with services for the booking API. We have one team and one deployment; preserve accepted ADRs.Inputs
| Input | Requirement | If omitted |
|---|---|---|
| decision or goal | Required | Derive from current request/brief; otherwise ask. |
| constraints and ADRs | Optional | Inspect current decisions and manifests before proposing changes. |
| owner acceptance | Required to mark accepted | Keep ADR proposed until authorized; do not infer acceptance. |
No arguments: Inspect the brief/current request; ask which material decision needs resolution if unclear.
Optional inputs are discovered where reliable; recommendations do not become confirmed choices. Conditional requirements must be resolved before their dependent action. Required information is enforced by skill instructions, not by native autocomplete. The detailed procedure is linked directly from SKILL.md.
What it does
- Inspect current product decisions and relevant profiles only.
- Separate deployment, layering/ports/slices, domain modeling, read/write model, event communication and distributed coordination.
- Compare the simplest suitable design with credible alternatives against requirements and operational cost. Use eng-planner for substantial trade-offs.
- Write or revise architecture.md and principles.md; show boundaries in a Mermaid diagram. Create ADRs only for consequential choices, superseding accepted decisions instead of erasing history.
- Request eng-reviewer independently for significant proposals and record verification/next action.
Outputs and ownership
docs/project/architecture.md, principles.md and necessary adr/NNNN-title.md entries; updates to STATE.md and downstream implementation acceptance criteria. No infrastructure, accepted user approval or compiled application is created merely by this skill.
Questions and decisions
Ask only material missing or changed choices. Layered structure can coexist with DDD; CQRS/events/sagas each need separate justification. A recommendation is not an accepted decision without actual authorization or explicit delegated decision-making.
Permissions and side effects
Uses the main conversation’s baseline tools/model. Planning may write project documents and use read-only agents. It does not provision infrastructure, install packages or access credentials. Escalate irreversible changes before execution.
Validation and completion
Check requirement traceability, alternatives, consequences, diagram consistency, actual decision status and testable acceptance. A structural design helper pass does not prove suitability. Review migration/rollback implications when revising an existing architecture.
Failure and recovery
Conflicting requirements/accepted decisions are reported before dependent irreversible work. Preserve accepted ADR history and supersede it with evidence. Stop when a material contract is missing; continue independent discovery that does not assume the answer.
Example
/architecture-design Should our appointment and billing modules remain
a modular monolith, or do our deployment and ownership constraints justify
separate services? Compare alternatives and write only the necessary ADR.This is a usage example, not evidence that a live model completed the task.
Related components
design-interview · project-kickoff · implement-change · backend-scaffold
See helper commands, configuration, workflow selection and known qualification limits.
Use the meaningful ADR guide for idempotency, races, delivery/recovery, compatibility and trust decisions. Proposed templates do not authorize a product decision or prove execution.