agentleFS
owainlewisowainlewis/blueprint/skills/architecture-review/SKILL.md

architecture-review

Skill410 starsChanged 4 months agoMITView on GitHub

Reviews a technical proposal before implementation. Use for designs, RFCs, ADRs, architecture proposals, and issues that define how a system change should work. Finds material ambiguity and flaws in correctness, scalability, performance, security, operations, and proof.

52 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use asset-spec, create-control-manifest and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • cenconq25Skill

    asset-spec

    Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.

    Also in 5 projects that use this

  • cenconq25Skill

    create-control-manifest

    Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.

    Also in 5 projects that use this

  • +10 more from cenconq25

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 46 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use one fresh subagent that did not write the proposal.

    line 14
  2. Distinctive:

    If fresh subagents are unavailable, stop and report that independent review is blocked.

    line 18
  3. Distinctive:

    Read the goal, proposal, repository instructions, relevant current code, tests, schemas, configuration, and linked material.

    line 23
  4. Distinctive:

    Do not rewrite the proposal, plan the work, review implementation code, or implement changes.

    line 38
  5. Distinctive:

    Check fit with the current system, ownership, boundaries, interfaces, data, compatibility, migration, rollout, and rollback.

    line 43
  6. Distinctive:

    Check claimed scale, limited resources, latency, throughput, storage, cost, dependency failure, and operator recovery only where they can …

    line 47
  7. Distinctive:

    Check identity, authorization, untrusted input, credentials, destructive authority, and sensitive data handling.

    line 49
  8. Very specific:

    Use plain words. State the exact condition, failure, and effect.

    line 83

“Common” is measured: kept by at least 6 in 10 of the 46 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Architecture review

Find choices that could make a technical proposal wrong, unsafe, or impossible to prove. Review the proposed behavior and tradeoffs, not the document's size or format.

Use one fresh subagent that did not write the proposal. Give the reviewer the complete context. Tell the reviewer to work directly without delegating. If you are that reviewer, review directly. Stay read-only.

If fresh subagents are unavailable, stop and report that independent review is blocked. Continue only if the user explicitly accepts a documented self-review.

Process

  1. Read the goal, proposal, repository instructions, relevant current code, tests, schemas, configuration, and linked material. Treat claims about the current system as unverified until code, tests, schemas, configuration, infrastructure, or relevant runtime evidence supports them.
  2. State the problem, affected user, intended outcome, success measure, scope, constraints, and main tradeoff. Report any that the proposal leaves unclear.
  3. Trace one real case from input to observable outcome. Include ownership, validation, state changes, side effects, response timing, failure, retry, cleanup, and what the user sees where they matter.
  4. Challenge the chosen design with the review focus below. Look for a simpler choice that reaches the same outcome and proof with less state, coupling, duplication, or operational work.
  5. Surface material open questions. Recommend an answer when evidence supports one. Do not invent questions that cannot change the design.
  6. Return findings, open questions, a short assessment, and one verdict. Do not rewrite the proposal, plan the work, review implementation code, or implement changes.

Review focus

  • Check fit with the current system, ownership, boundaries, interfaces, data, compatibility, migration, rollout, and rollback.
  • Trace partial failure, retry, cancellation, concurrency, startup, shutdown, and recovery where they affect the proposal.
  • Check claimed scale, limited resources, latency, throughput, storage, cost, dependency failure, and operator recovery only where they can change the choice.
  • Check identity, authorization, untrusted input, credentials, destructive authority, and sensitive data handling.
  • Require observable acceptance criteria and proof for important rules and failure paths. Do not let implementation invent user-visible behavior, interfaces, data rules, security policy, or failure behavior.

Material questions

Report an open question only when two capable implementations could answer it differently in a way that affects users, data, interfaces, security, scale, performance, operations, cost, compatibility, or proof.

  • Blocking: implementation should not start without the answer.
  • Important: the proposal should record the answer, but the reviewer can recommend a safe default from available evidence.

Omit questions that are stylistic, safely local to implementation, outside the stated scope, or speculative beyond the scale the proposal claims to support.

Findings

Report only flaws that can change the design or its safety:

  • Blocker: the choice is unsafe, contradicts the goal or current system, or cannot recover from an important failure.
  • Important: the proposal permits materially different implementations or leaves a meaningful risk in behavior, scale, performance, security, operations, compatibility, or proof.

For each finding or open question include its location, concrete failure or ambiguity, impact, evidence, and the smallest correction or recommended answer. Report unclear wording when it prevents a new teammate from explaining, evaluating, or implementing the design. Omit other writing preferences.

Use plain words. State the exact condition, failure, and effect. Do not hide an unknown behind vague language such as may have issues or could be risky.

Verdict

  • Approve: no blocker or important findings or open questions remain.
  • Request changes: the proposal has a fixable blocker or important finding or open question.
  • Blocked: the review lacks required context, repository evidence, specialist coverage, or an independent reviewer.

State what remains unverified. Do not approve because the document is detailed or because every template section exists.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.