Review architecture
OpenCode v1: Skill names below are exact IDs from the active catalog, not slash commands. Load them with the native skill tool. Slash commands are direct user entry points only.
Review the proposal; do not author the decision. This skill produces findings
and decision candidates. domain-modeling alone decides whether a
candidate qualifies for an ADR and drafts or records it through the applicable
documented-work boundary. Use improve-codebase-architecture when the work
starts with finding refactoring opportunities rather than evaluating a named
proposal.
Use this skill for consequential choices across system boundaries. If
organization- or platform-specific facts could change the recommendation,
identify and verify them explicitly. When Nav or NAIS context may matter, load
the conditional Nav context and apply only branches
that could change the recommendation. Concrete follow-up work belongs to the
matching implementation or review specialist.
Use security-review for a concrete code, configuration, privacy,
or threat review. An architecture review may identify the need for that deeper
review without pretending to replace it.
Establish the review surface
Read the proposal, relevant code and contracts, repository instructions,
existing decisions, and only the domain documentation needed for the affected
seam. Derive the actual stack and constraints from evidence; do not assume a
language, framework, storage technology, deployment platform, or application
shape.
Identify:
- the proposed change, desired outcome, and decision owner;
- affected system boundaries, owners, producers, consumers, and operators;
- data, identities, dependencies, and failure modes crossing each boundary;
- quality attributes and constraints that can distinguish good options;
- rollout, compatibility, operational, cost, and organizational constraints.
Separate repository facts, current authoritative external constraints,
inference, and missing context. Report missing facts as open questions rather
than inventing them. Verify time-sensitive external behavior before relying on
it.
Review the applicable concerns
Review every concern that could materially change the recommendation:
- Boundaries and ownership — responsibility, contracts, coupling,
dependency direction, change coordination, and decision ownership.
- Quality attributes and trade-offs — security, privacy, reliability,
performance, scalability, maintainability, operability, and cost, expressed
as concrete scenarios or constraints rather than generic virtues.
- Evolution and operations — compatibility, delivery, observability,
failure handling, migration, rollback, reversibility, and decommissioning.
For a new service, cross-boundary integration, storage or event seam,
authentication or authorization change, platform migration, or difficult-to-
reverse choice, load the conditional architecture review
checklist. Apply only relevant branches; it is
neither a form nor an ADR template.
Compare real alternatives
Compare genuine alternatives against the evidenced decision criteria. Include
the current design only when keeping it is a credible option. Do not manufacture
a fixed number of alternatives, force a "do nothing" option, or declare a
winner when the evidence does not support one.
Identify the people or teams whose knowledge is needed, while keeping decision
ownership explicit. Do not claim consultation occurred without evidence. Do
not include personal data, secrets, or protected details in review or decision
material. Before contacting anyone or sharing material, show the recipient,
channel, and draft and get explicit approval. Ask before any other external or
durable change.
Return a review, not an ADR
Return:
- Scope and evidence — facts, sources, assumptions, and decision criteria;
- Findings — ordered by consequence, each with evidence, impact, and a
concrete recommendation;
- Alternatives and trade-offs — only where a real choice exists;
- Open questions — including who can answer them;
- Overall recommendation — with confidence and residual risk;
- Decision candidates — hard-to-reverse choices whose rationale a future
reader may otherwise lose.
Do not decide ADR eligibility, draft an ADR, edit decision records, or imply
that the review made the team's decision. For each decision candidate, explain
why durable documentation may help and route the candidate to
domain-modeling when the active task includes documented work. That skill
owns eligibility and write authorization; do not add a second approval gate
to an already authorized handoff.
1---2name: architecture-review-23description: Evaluate a consequential architecture proposal, its alternatives, migration and reversibility. Use for new services, cross-team boundaries, platform choices or costly migrations; use `improve-codebase-architecture` to discover refactoring candidates in existing code and `security-review` for security analysis.4---5# Review architecture67> **OpenCode v1:** Skill names below are exact IDs from the active catalog, not slash commands. Load them with the native `skill` tool. Slash commands are direct user entry points only.89Review the proposal; do not author the decision. This skill produces findings10and decision candidates. `domain-modeling` alone decides whether a11candidate qualifies for an ADR and drafts or records it through the applicable12documented-work boundary. Use `improve-codebase-architecture` when the work13starts with finding refactoring opportunities rather than evaluating a named14proposal.1516Use this skill for consequential choices across system boundaries. If17organization- or platform-specific facts could change the recommendation,18identify and verify them explicitly. When Nav or NAIS context may matter, load19[the conditional Nav context](references/nav-context.md) and apply only branches20that could change the recommendation. Concrete follow-up work belongs to the21matching implementation or review specialist.2223Use `security-review` for a concrete code, configuration, privacy,24or threat review. An architecture review may identify the need for that deeper25review without pretending to replace it.2627## Establish the review surface2829Read the proposal, relevant code and contracts, repository instructions,30existing decisions, and only the domain documentation needed for the affected31seam. Derive the actual stack and constraints from evidence; do not assume a32language, framework, storage technology, deployment platform, or application33shape.3435Identify:3637- the proposed change, desired outcome, and decision owner;38- affected system boundaries, owners, producers, consumers, and operators;39- data, identities, dependencies, and failure modes crossing each boundary;40- quality attributes and constraints that can distinguish good options;41- rollout, compatibility, operational, cost, and organizational constraints.4243Separate repository facts, current authoritative external constraints,44inference, and missing context. Report missing facts as open questions rather45than inventing them. Verify time-sensitive external behavior before relying on46it.4748## Review the applicable concerns4950Review every concern that could materially change the recommendation:51521. **Boundaries and ownership** — responsibility, contracts, coupling,53 dependency direction, change coordination, and decision ownership.542. **Quality attributes and trade-offs** — security, privacy, reliability,55 performance, scalability, maintainability, operability, and cost, expressed56 as concrete scenarios or constraints rather than generic virtues.573. **Evolution and operations** — compatibility, delivery, observability,58 failure handling, migration, rollback, reversibility, and decommissioning.5960For a new service, cross-boundary integration, storage or event seam,61authentication or authorization change, platform migration, or difficult-to-62reverse choice, load [the conditional architecture review63checklist](references/review-checklist.md). Apply only relevant branches; it is64neither a form nor an ADR template.6566## Compare real alternatives6768Compare genuine alternatives against the evidenced decision criteria. Include69the current design only when keeping it is a credible option. Do not manufacture70a fixed number of alternatives, force a "do nothing" option, or declare a71winner when the evidence does not support one.7273Identify the people or teams whose knowledge is needed, while keeping decision74ownership explicit. Do not claim consultation occurred without evidence. Do75not include personal data, secrets, or protected details in review or decision76material. Before contacting anyone or sharing material, show the recipient,77channel, and draft and get explicit approval. Ask before any other external or78durable change.7980## Return a review, not an ADR8182Return:8384- **Scope and evidence** — facts, sources, assumptions, and decision criteria;85- **Findings** — ordered by consequence, each with evidence, impact, and a86 concrete recommendation;87- **Alternatives and trade-offs** — only where a real choice exists;88- **Open questions** — including who can answer them;89- **Overall recommendation** — with confidence and residual risk;90- **Decision candidates** — hard-to-reverse choices whose rationale a future91 reader may otherwise lose.9293Do not decide ADR eligibility, draft an ADR, edit decision records, or imply94that the review made the team's decision. For each decision candidate, explain95why durable documentation may help and route the candidate to96`domain-modeling` when the active task includes documented work. That skill97owns eligibility and write authorization; do not add a second approval gate98to an already authorized handoff.