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

architecture-decision

Skill1 starsChanged 24 days agoMITView on GitHub

Records an architecture decision as a numbered ADR with context, options, decision and consequences, after the user chooses. Use for any choice that is expensive to reverse: framework, database, auth provider, hosting, rendering strategy, monorepo, queue, vendor.

39 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use component-release, team-level and 8 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.
  • Microsoft AzureSkill

    component-release

    Prepares and validates GPT-RAG MCP component releases. Use for versions, dependency locks, changelog entries, release branches, tags, GitHub Releases, and platform pin coordination.

    Also in 4 projects that use this

  • CoralGameSkill

    team-level

    Orchestrate level design team: level-designer + narrative-director + world-builder + art-director + systems-designer + qa-tester for complete area/level creation.

    Also in 10 projects that use this

  • CoralGameSkill

    team-narrative

    Orchestrate the narrative team: coordinates narrative-director, writer, world-builder, and level-designer to create cohesive story content, world lore, and narrative-driven level design.

    Also in 10 projects that use this

  • 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 8 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 8 projects that use this

  • +2 more from CoralGame
  • +3 more from lilangMax

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 36 edited versions we read keep these.

  • 2

    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. Distinctive:

    Check no existing ADR already decides this (Grep titles).

    line 27
  2. Very specific:

    If the decision is mainly about a specific stack, also brief the matching specialist (e.g.

    line 40
  3. Distinctive:

    Never record a decision the user has not made.

    line 46
  4. Very specific:

    If the ADR changes project.yaml → stack, show the config-set.sh commands and run them only after a separate yes.

    line 61

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

Produces docs/architecture/adr/NNNN-<slug>.md. The skill frames the decision and the options with technical-director; the user decides; the ADR records it. With supersede NNNN it writes a new ADR and marks the old one superseded.

Inputs

  • Argument: the decision title, or supersede <NNNN>
  • Existing ADRs in docs/architecture/adr/ (Grep titles and statuses)
  • docs/architecture/architecture.md, docs/product/prd.md constraints
  • project.yaml: stack.*, budgets, privacy.regions, project.type

Phases

Phase 1: Frame

Check no existing ADR already decides this (Grep titles). State the decision, the forces (requirements, budgets, team skills, cost, compliance, deadlines) and what happens if it is deferred. Ask the user to confirm the framing.

Phase 2: Options

Spawn technical-director with the frame. It returns 2–4 real options; for each: how it works here, cost at expected scale (money and effort), operational burden, lock-in and exit path, security/compliance impact, and fit with the existing stack. For any product or vendor claim it is unsure of (pricing, limits, features), it checks the vendor docs with WebFetch or marks it unverified. It recommends one and says why.

If the decision is mainly about a specific stack, also brief the matching specialist (e.g. hosting-platform-specialist, postgres-specialist) in parallel.

Phase 3: Decide

Present the options table and the recommendation. Ask the user to choose. Never record a decision the user has not made.

Phase 4: Gate

Spawn technical-director for TD-ADR on the draft: are the options honest, consequences complete (positive and negative), and follow-ups listed? Fix gaps.

Phase 5: Write

Get the number with bash .claude/scripts/next-number.sh docs/architecture/adr. Fill .claude/docs/templates/adr.md: Status (Accepted), Date, Context, Options considered, Decision, Consequences, Follow-ups, Related ADRs. Ask "May I write this to docs/architecture/adr/NNNN-<slug>.md?" For supersede, also ask to set the old ADR's status to Superseded by NNNN.

If the ADR changes project.yaml → stack, show the config-set.sh commands and run them only after a separate yes.

Output

docs/architecture/adr/NNNN-<slug>.md.

Next step

/propagate-design-change docs/architecture/adr/NNNN-<slug>.md if existing specs or code are affected; otherwise /create-architecture or /architecture-review.

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.