ADR Decisions

VerifiedSafe

Draft and gate Architecture Decision Records when changes are decision-worthy. Machine drafts; human approves.

Sby Skills Guide Bot
DocumentationIntermediate
8/29/2026
Claude Code
#adr#architecture-decisions#change-management#documentation#haus-cli

Recommended for

Automated summary

Drafts and gates Architecture Decision Records (ADRs) when a change is decision-worthy, then indexes them under docs/decisions/.

Strengths

  • A clear decision table separating changes that need an ADR (dependencies, schema, auth, CI, API contracts) from those that are exempt.
  • `haus decisions suggest` produces a draft from the actual diff, so the record stays grounded in the code being changed.
  • Human-in-the-loop by design: the Accepted status is never applied without explicit user approval.
  • End-to-end loop: numbering, structure validation, README index row with a one-line why, and the ADR committed in the same PR as the code.

Limitations

  • Tightly coupled to the `haus` CLI, the Stop hook and an @import from CLAUDE.md, so it is not portable outside that setup.
  • Does not spell out the ADR file template or the exact rules the structure validator enforces.
  • The exemption logic lives in the CLI algorithm rather than decisions-triggers.json, making it hard to audit from the repository alone.
When to use it

Use it whenever a change touches dependencies, schema, auth, public APIs, CI or infrastructure, or when someone asks why an existing technical choice was made.

When not to use it

Skip it for docs- or tests-only edits, plain dependency version bumps, and lockfile-only regenerations, which are explicitly exempt.

Security analysis

Safe
Quality score90/100

The skill documents an ADR drafting and approval workflow and only references read-only or local project commands via the `haus` CLI. It contains no destructive operations, credential handling, network exfiltration, obfuscated payloads, or safety-disabling instructions.

No concerns found

How this analysis is made

Examples

Draft an ADR for a new dependency
I just added Redis as a new dependency for session storage. Run `haus decisions suggest`, draft the ADR from the diff, and show it to me before marking anything Accepted.
Document an auth path change
We're moving the API auth path from session cookies to JWTs. Draft the ADR with `haus decisions suggest`, add the README index row with a one-line why, and commit it in the same PR as the code.
Explain a past decision
Why did we pick Postgres over DynamoDB? Check docs/decisions/ and summarize the reasoning before we build the new billing service on an alternative.

name: adr-decisions description: >- Draft and gate Architecture Decision Records (ADRs) when changes are decision-worthy. Use when haus decisions suggest fires, when adding deps/schema/auth/API changes, or when the user asks why a choice was made. Machine drafts; human approves.

ADR decisions

Captures why significant choices were made under docs/decisions/.

Use when

  • haus decisions suggest or the Stop hook proposes an ADR
  • A change touches dependencies, schema, auth, public APIs, CI, or infrastructure
  • The user asks "why did we choose X?" before coding an alternative

When to skip

Gate carve-outs live in the haus CLI algorithm (not decisions-triggers.json). Use this table:

| Change | ADR needed? | | --- | --- | | Dependency version bump, no dep added/removed | No | | New or removed dependency | Yes | | Lockfile-only regen (no package.json change) | No | | Catalog sync (chore/sync-catalog-* branch, or library/catalog/**) | No | | Schema/migration/CI/infra/API-contract/auth path | Yes (security paths: [adr-skip] ignored) | | 8+ files across 2+ top-level dirs (not a dep bump) | Yes | | Docs/tests-only | No (already exempt) |

Workflow

  1. Run haus decisions suggest (or use the Stop-hook JSON draft).
  2. Present the draft to the user — never mark Accepted without explicit approval.
  3. On approval: write docs/decisions/NNNN-slug.md and add a README index row with a one-line why.
  4. Commit the ADR in the same PR as the code change.

Do not

  • Hand-author ADRs without pulling context from the diff and conversation
  • Skip the README index update
  • Reach for [adr-skip] on security/auth paths — the gate ignores it; write the ADR instead

Commands

haus decisions suggest          # draft from staged/unstaged diff
haus decisions check --staged   # local gate
haus decisions next-number      # next NNNN
haus decisions validate path    # structure check

Index lives at docs/decisions/README.md — keep it @imported from CLAUDE.md.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/adr-decisions-mte1lgee/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/adr-decisions-mte1lgee' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/adr-decisions-mte1lgee/download' --output '.skill-downloads/adr-decisions-mte1lgee/SKILL.md.part' && mv '.skill-downloads/adr-decisions-mte1lgee/SKILL.md.part' '.skill-downloads/adr-decisions-mte1lgee/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/adr-decisions-mte1lgee/SKILL.md' && test -s '.skill-downloads/adr-decisions-mte1lgee/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/adr-decisions' && cp -R '.skill-downloads/adr-decisions-mte1lgee' '.claude/skills/adr-decisions'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/adr-decisions-mte1lgee'

openskills read 'adr-decisions-mte1lgee'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/adr-decisions-mte1lgee/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills