agentleFS
chatquillchatquill/claude-code-websites/.claude/skills/architecture-review/SKILL.md

architecture-review

Skill1 starsChanged 25 days agoMITView on GitHub

Reviews the architecture document, ADRs, data model and API contract against the PRD, feature specs and project.yaml budgets, checks they agree with each other, and returns a TD-ARCH verdict with findings. Use before the design gate, after major ADRs, or when the code seems to drift from the architecture.

91 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 3 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.
  • lilangMaxSkill

    asset-spec

    Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profiles. Produces structured spec files and updates the master asset manifest. Run after art bible and GDD/level design are approved, before production begins.

    Also in 10 projects that use this

  • lilangMaxSkill

    create-control-manifest

    After architecture is complete, produces a flat actionable rules sheet for programmers — what you must do, what you must never do, per system and per layer. Extracted from all Accepted ADRs, technical preferences, and engine reference docs. More immediately actionable than ADRs (which explain why).

    Also in 10 projects that use this

  • +3 more from lilangMax

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 83 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read-only review that writes only its report.

    line 12
  2. Distinctive:

    Read each input by section.

    line 28
  3. Very specific:

    Ask "May I write the report to production/audits/architecture-review-YYYY-MM-DD.md?"

    line 56

“Common” is measured: kept by at least 6 in 10 of the 83 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

Read-only review that writes only its report. It returns gate TD-ARCH (Verdicts: APPROVE / CONCERNS / REJECT, or NOT ASSESSED naming an unreadable input). A missing architecture document is a REJECT finding, not a missing input.

Inputs

  • docs/architecture/architecture.md, all ADRs, data-model.md, api/openapi.yaml
  • docs/product/prd.md (non-functional requirements), docs/specs/features/*.md
  • project.yaml: stack.*, budgets, a11y, privacy.regions
  • With code: bash .claude/scripts/detect-stack.sh and the code root

Phases

Phase 1: Collect

Read each input by section. List what exists and what is missing.

Phase 2: Review in parallel

Spawn in parallel, each with the input paths and the questions for their lens:

  • technical-director: completeness against the template; every expensive decision has an ADR; ADRs do not contradict each other or project.yaml → stack; simplicity (no component without a stated need).
  • lead-backend: contract ↔ data model ↔ specs agree (every field the contract returns is stored or derived; every spec operation has a contract entry).
  • lead-frontend: rendering strategy and data fetching fit the UX and budgets.
  • security-lead: trust boundaries, authz model, tenancy, secrets, webhook and upload handling, rate limits.
  • performance-engineer: budgets in project.yaml are achievable with the chosen rendering, caching and third-party scripts.
  • With code: lead-frontend and lead-backend also report where the code diverges (a second ORM, unrecorded framework, routes bypassing the auth layer).

Phase 3: Verdict

Merge findings into: | ID | Severity | Area | Finding | Evidence (file:section) | Recommendation |

  • REJECT: architecture missing, or a Critical finding (e.g. no authz model, a requirement the design cannot meet).
  • CONCERNS: High findings, or decisions recorded nowhere.
  • APPROVE: only Medium/Low findings.

Phase 4: Write

Ask "May I write the report to production/audits/architecture-review-YYYY-MM-DD.md?"

Output

A review report in production/audits/ with the TD-ARCH verdict on its first line.

Next step

Fix findings via /architecture-decision or /create-architecture update, then /gate-check design.

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.