agentleFS
bruuuuucebruuuuuce/mana/skills/architecture-decision-record/SKILL.md

architecture-decision-record

Skill2 starsChanged 4 months agoMITView on GitHub

Creates or reviews Architecture Decision Records with context, decision, alternatives, consequences, owners, and approval status.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    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:

    When a story introduces a new pattern, cross-service flow, persistence model, dependency, integration contract, or meaningful trade-off.

    line 42
  2. Distinctive:

    When an implementation diverges from the original plan.

    line 43
  3. Distinctive:

    Before architecture approval gates.

    line 44
  4. Distinctive:

    Check whether the decision conflicts with engineering guards or existing architecture.

    line 61
  5. Distinctive:

    Ask targeted questions where rationale is missing.

    line 62
  6. Very specific:

    Read .mana/global/architecture.md, engineering-guards.md, and team-decisions/ when available.

    line 77
  7. Very specific:

    Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard) for all generated artifacts.

    line 80

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Purpose

Generate or review an ADR so architectural choices are explicit, reviewable, and reusable by later agents.

When To Use It

  • When a story introduces a new pattern, cross-service flow, persistence model, dependency, integration contract, or meaningful trade-off.
  • When an implementation diverges from the original plan.
  • Before architecture approval gates.

Inputs

  • design_context
  • options_considered
  • constraints
  • branch_diff
  • architecture_rules

Outputs

  • architecture_decision_record
  • decision_questions
  • tradeoff_summary

Execution Logic

  1. Capture context, decision, status, owner, date, constraints, alternatives, consequences, and follow-ups.
  2. Separate confirmed facts from assumptions.
  3. Check whether the decision conflicts with engineering guards or existing architecture.
  4. Ask targeted questions where rationale is missing.

Decision Rules

  • blocker: decision violates an architecture guard or lacks owner approval for a high-risk trade-off.
  • warning: alternatives or consequences are under-specified.
  • info: ADR improvement, naming, or traceability suggestion.

Failure Modes

  • ADR quality depends on design context quality.
  • Missing alternatives can hide better options.

Required Human Review

Architect owns the ADR decision and approval. Team Leader reviews implementation feasibility.

Service Context Layer

Read .mana/global/architecture.md, engineering-guards.md, and team-decisions/ when available.

Output Standard

Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard) for all generated artifacts. Use templates/standard-agent-skill-report.template.md when no more specific template exists.

Internal reasoning must use compact caveman mode: terse fragments, evidence-first notes, no long narrative, and no private chain-of-thought in final artifacts. Maintain a context budget: keep a short working summary with objective, base branch or PR, issue keys, workspace path, checked evidence, open hypotheses, discarded hypotheses, and next checks instead of accumulating raw transcripts, full diffs, repeated file dumps, or copied tool output.

Example Output

skill: architecture-decision-record
status: warning
summary: "ADR drafted but alternatives and rollback consequences need architect confirmation."
outputs:
  - architecture_decision_record
  - decision_questions
  - tradeoff_summary
human_review_required: true

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.