One canonical runtime owner ↗
Require an explicit runtime and canonical-state owner before adding another repository, package, service, or agent surface.
FeedAkış
Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.
Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.
Compare concrete architectural alternatives — including keeping the existing design — across ownership, coupling, lifecycle maintenance cost, reversibility, dependency direction, and explicit reopen triggers.
"review-architecture-tradeoffs""Compare concrete architectural alternatives — including keeping the existing design — across ownership, coupling, lifecycle maintenance cost, reversibility, dependency direction, and explicit reopen triggers. Use before introducing new services, abstractions, migrations, or structural splits.""MIT"Use this Skill before committing to a material architectural change — such as splitting a repository or service, introducing a new storage or caching layer, adopting a framework, changing dependency boundaries, or planning a major refactor.
When not to use: Do not write a multi-option architectural tradeoff review for localized code edits, bug fixes inside an existing boundary, or trivial helper extractions that are cheap to reverse.
The core rule is: compare genuinely distinct options (always including keeping the current system), surface real lifecycle and externalized costs honestly, and record explicit conditions that should reopen the decision.
Before comparing solutions:
Never present one preferred design beside two weak strawmen. Evaluate 2 to 4 structurally distinct families, always including:
If a simpler option already meets the constraints and measured scale, prefer it over speculative generality.
Evaluate every option consistently across:
cheap local revert, staged dual-run rollback, irreversible data/API lock-in). Require incremental, reversible rollout where practical.When Option A wins on simplicity and rollback safety while Option B wins on throughput or isolation:
Produce a compact record containing:
A team proposes extracting a shared validation module into a new microservice with its own database so two apps can reuse it.
Before signing off on an architecture recommendation, confirm:
---
name: review-architecture-tradeoffs
description: Compare concrete architectural alternatives — including keeping the existing design — across ownership, coupling, lifecycle maintenance cost, reversibility, dependency direction, and explicit reopen triggers. Use before introducing new services, abstractions, migrations, or structural splits.
license: MIT
---
# Review architecture tradeoffs
Use this Skill before committing to a material architectural change — such as splitting a repository or service, introducing a new storage or caching layer, adopting a framework, changing dependency boundaries, or planning a major refactor.
**When not to use:** Do not write a multi-option architectural tradeoff review for localized code edits, bug fixes inside an existing boundary, or trivial helper extractions that are cheap to reverse.
The core rule is: **compare genuinely distinct options (always including keeping the current system), surface real lifecycle and externalized costs honestly, and record explicit conditions that should reopen the decision.**
## 1. Establish the real problem and protected invariants
Before comparing solutions:
1. State the observed architectural pain or new requirement with concrete evidence (measured latency, deployment coupling, schema conflict, security boundary — not aesthetic dissatisfaction).
2. List **hard constraints** (security boundaries, compatibility contracts, compliance, operational budget) separately from **negotiable preferences**.
3. List **protected invariants**: existing owners, working behaviors, and consumer contracts that must stay intact during and after the change.
## 2. Compare genuinely distinct options — including status quo
Never present one preferred design beside two weak strawmen. Evaluate **2 to 4 structurally distinct families**, always including:
- **Option 0 — Keep / minimally refine the current owner:** What happens if we do not add a new layer, repo, or service?
- **Distinct structural alternatives:** Differing in state ownership, coupling, runtime boundary, or operational model (for example: in-process module vs. isolated static artifact vs. separate service; synchronous vs. batched vs. event-driven).
If a simpler option already meets the constraints and measured scale, prefer it over speculative generality.
## 3. Audit the six architectural axes
Evaluate every option consistently across:
1. **Canonical ownership:** Who owns runtime execution, canonical state, secrets, and rollback? Flag any design that creates accidental dual writers or ambiguous owners.
2. **Dependency direction & distribution boundary:** Inspect direct and transitive dependencies. Ensure client or public packages do not pull in private server code or create circular imports.
3. **Lifecycle & maintenance cost:** Estimate build, test, migration, monitoring, and retirement cost — not just initial implementation effort. Watch for **abstraction debt** (trivial wrapper chains) and **externalized cost** (simplifying one component by pushing ongoing complexity onto downstream teams).
4. **Reversibility & cutover path:** Classify how hard it is to undo the choice after shipping (`cheap local revert`, `staged dual-run rollback`, `irreversible data/API lock-in`). Require incremental, reversible rollout where practical.
5. **Operational & resource profile:** Compare CPU, memory, network, storage, quota, failure blast radius, and single points of failure (including hidden shared dependencies).
6. **Capability per unit of complexity:** Does the added indirection genuinely earn its operational weight?
## 4. Keep Pareto tradeoffs honest — no fake scalar scores
When Option A wins on simplicity and rollback safety while Option B wins on throughput or isolation:
- Do **not** hide the real value choice behind an arbitrary weighted point table ("Option B scores 8.4 vs. 8.1").
- State the Pareto trade-off plainly so the decision owner can choose based on real priorities and risk appetite.
- Record **reopen conditions** — the concrete observable threshold (traffic level, team count, failure rate, contract change) that would justify revisiting the chosen design later.
## 5. Output a concise Architecture Decision Record (ADR)
Produce a compact record containing:
- problem statement and observed evidence;
- constraints and protected invariants;
- options considered (including status quo) and rejected alternatives with reasons;
- six-axis comparison and explicit Pareto trade-offs;
- recommended option, migration/rollback shape, and smallest validating proof or prototype;
- explicit reopen triggers and unresolved questions.
## Example
A team proposes extracting a shared validation module into a new microservice with its own database so two apps can reuse it.
- **Options compared:** (0) Keep validation as a versioned library package with one schema owner; (1) Build a synchronous validation microservice; (2) Emit deterministic static schema artifacts consumed at build time.
- **Finding:** Option 1 adds network latency, availability coupling, and a second deployment pipeline for pure deterministic logic. Option 0 or 2 preserves single ownership, zero runtime hops, and cheap rollback. **Reopen trigger:** Revisit a dedicated service only if validation requires private server-only state that cannot ship to consumers.
## Completion test
Before signing off on an architecture recommendation, confirm:
1. Retaining or minimally refining the existing architecture was seriously evaluated.
2. Canonical state/runtime ownership, dependency direction, and rollback paths are unambiguous.
3. Ongoing maintenance and externalized downstream costs were weighed alongside build effort.
4. Trade-offs were stated explicitly without fake single-number scoring, and concrete reopen triggers were recorded.
Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:
Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:
python -B scripts/eval_review.py --blind review-architecture-tradeoffsCompare concrete architectural alternatives — including keeping the existing design — across ownership, coupling, lifecycle maintenance cost, reversibility, dependency direction, and explicit reopen triggers.
Best for: Evaluating repository splits, new services, storage or caching layers, dependency boundaries, framework migrations, or structural refactors before committing. When not to use: Localized bug fixes, small internal refactors, or cheap-to-reverse edits inside an existing boundary. Status: Source draft, not a supported catalog release.
partial (Level 1–2 structural and contract validation; blinded runtime and paired baseline evaluation pending)Evaluating a proposal to turn a deterministic validator into a standalone microservice, the review compares a versioned library, a static build artifact, and a service — showing the service adds network hops and dual ownership without solving a private-state requirement, while recording the exact condition that would justify revisiting a service later.
An architectural review clarifies options, risks, and rollback paths; it does not benchmark production load or authorize infrastructure provisioning.
Because proposing only new architectures creates structural bias toward adding layers, repos, or services. Comparing against refining the current owner forces any new complexity to earn its maintenance weight.
Arbitrary numeric weights conceal real value trade-offs (for example simplicity vs. throughput) behind false objectivity. Stating Pareto trade-offs plainly lets the human decision owner choose intentionally.
A concrete observable condition — such as a measured traffic threshold, private server-state requirement, or new consumer contract — that signals when the chosen design should be revisited rather than treated as permanent dogma.
Yes, under Feed's MIT license; retain the bundled MIT notice when copying the directory. See the registry record for current evidence.
native
Format-compatible baseline (skills-ref 0.1.1) only; runtime installation, activation, and behavioral evaluation remain separate.
Original clean-room public practice authored from general software architecture decision records, coupling/ownership analysis, and lifecycle-cost engineering principles; no private implementation source is embedded.