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.

Published catalogYayın kataloğu68 verified releaseskatalog yayını142 MIT artifactsMIT kaynak
GitHub ↗JSON ↗LLMs.txt ↗

Review architecture tradeoffs

MIT source draftMIT kaynak taslağı

Compare concrete architectural alternatives — including keeping the existing design — across ownership, coupling, lifecycle maintenance cost, reversibility, dependency direction, and explicit reopen triggers.

VersionSürüm
0.1.0-draft
MaturityOlgunluk
drafttaslak
LicenseLisans
MIT
AuthorsYazarlar
Mete Avcı, Me the Tech
VerificationDoğrulama
partial (L1/L2 contract · L3–L5 pending)kısmi (L1/L2 sözleşme · L3–L5 bekliyor)
Disclosure classYayın sınıfı
PUBLIC-PRACTICE

SKILL.md

markdown77 linessatır5.7 KB

SHA-256 · ce56d79ae8f2…GitHub ↗
File metadataDosya bilgileri
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.

MIT · Exact native bytes from methetech/feed · Copy or download does not install a multi-file package.

MIT · methetech/feed deposundaki birebir dosya · Kopyalama veya indirme çok dosyalı bir paketi kurmaz.

Try it yourself (Feed Labs)Kendi ajanında dene (Feed Labs)

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-tradeoffs

Usage guideKullanım rehberi

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

Trust summary

  • License: MIT (bundled notice)
  • Executable scripts: None
  • Network / credential access required: No
  • External dependencies: None
  • Installation side effects: Declared files only
  • Verification: partial (Level 1–2 structural and contract validation; blinded runtime and paired baseline evaluation pending)

How to use

  1. Open SKILL.md. Keep the entire Skill directory intact when installing through your runtime's Agent Skills mechanism.
  2. Supply the observed architectural pain, hard constraints, protected invariants, and candidate designs. Expect a six-axis comparison including Option 0 (retain/refine existing design), honest Pareto trade-offs without fake scalar scores, a rollback path, and explicit reopen triggers.
  3. Check the companion conformance suite on status-quo comparison and dependency-direction scenarios.

Example

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.

Known limitations

An architectural review clarifies options, risks, and rollback paths; it does not benchmark production load or authorize infrastructure provisioning.

Frequently asked questionsSık sorulan sorular

Why must keeping the current architecture always be included as Option 0?

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.

Why avoid weighted single-number scoring tables when comparing architectures?

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.

What is a "reopen trigger" in an Architecture Decision Record?

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.

Can I use this Skill commercially or adapt its ADR template?

Yes, under Feed's MIT license; retain the bundled MIT notice when copying the directory. See the registry record for current evidence.

CompatibilityUyumluluk

Agent Skills skills-ref 0.1.1 validator baseline

native

Format-compatible baseline (skills-ref 0.1.1) only; runtime installation, activation, and behavioral evaluation remain separate.

Declared effectsBeyan edilen etkiler

ExecutableÇalıştırılabilir
NoHayır
Network accessAğ erişimi
NoHayır
Filesystem writesDosya yazma
NoHayır

Verification evidenceDoğrulama kanıtı

  • [L1/L2 structural & contract] tests/test_strategic_revision_verification.py binds the 0.1.0-draft Skill to its core obligations and synthetic conformance suite; scripts/validate_skills_ref.py and scripts/check_skill_integrity.py validate native format and containment. Blinded runtime and paired baseline evaluation (L3-L5) have not yet been recorded.

ProvenanceKaynak geçmişi

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

Related artifactsİlgili kaynaklar