Best for
- Use when creating new ADRs, extracting an ADR from existing documentation, converting a document into an ADR, recording an architecture or design decision, or updating the status of an existing ADR.
testdouble/han/han-documentation/skills/architectural-decision-record/SKILL.md
Create, extract, or convert an ADR (architectural decision record) using the ADR template. Use when creating new ADRs, extracting an ADR from existing documentation, converting a document into an ADR, recording an architecture or design decision, or updating the status of an existing ADR. Does not create or update enforceable coding standards or conventions — use coding-standard for that. Does not write feature or system documentation — use project-documentation instead.
Decision brief
Create, extract, or convert an ADR (architectural decision record) using the ADR template. Does not create or update enforceable coding standards or conventions — use coding-standard for that.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/testdouble/han --skill "han-documentation/skills/architectural-decision-record"Inspect the Agent Skill "architectural-decision-record" from https://github.com/testdouble/han/blob/55e15f752b12f6f90923eb38f7cd25e8e51bf07b/han-documentation/skills/architectural-decision-record/SKILL.md at commit 55e15f752b12f6f90923eb38f7cd25e8e51bf07b. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Determine which mode to operate in based on the user's request:
1. Retrieve project config: Resolve project config: read CLAUDE.md's Project Discovery section for docs and ADR directories; fall back to project-discovery.md; fall back to Glob defaults (docs/, docs/adr/). Continue without any keys that remain unfound.
1. From the arguments and conversation, determine: - Topic/title — What is the ADR about? - Decision — What was decided and why? - Alternatives — What other options were considered? - Forcing function — What concrete trigger requires this decision now? Per ../../references/yagni…
Skip this sub-step in update mode when only status is changing. Otherwise, launch review agents in parallel against the compiled evidence, the proposed decision, and the considered alternatives. Pass each agent the topic, the proposed decision, the alternatives, and the evidence…
1. Convert source document (if converting): Read the source document and map sections to ADR sections using the mapping at conversion-mapping.md.
Permission review
The documentation asks the agent to read local files, directories, or repositories.
Read back the ADR file and confirm:Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 89/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 181 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
han-communication:readability-guidance and apply it as you write the ADR. Hold its default audience frame: a capable
reader who did not make this decision and lacks your context. The frame governs how each section reads, never whether
a required technical fact appears.find . -maxdepth 1 -name "CLAUDE.md" -type ffind . -maxdepth 3 -name "project-discovery.md" -type fecho "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"cat .han/config.md 2>/dev/null || echo ""As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read
that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md
probe supplies content, apply it per config-rule.md, which governs precedence
between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.
Determine which mode to operate in based on the user's request:
| Mode | When | Initial Status | Then |
|---|---|---|---|
| Creating new | Building an ADR from scratch for a new or recent decision | proposed | → Step 2 |
| Converting existing | User provides an existing document to convert into an ADR | accepted | → Step 2 |
| Updating existing | Modifying an existing ADR (status change, superseding, adding notes) | — | Read the existing ADR, → Step 3 |
Retrieve project config: Resolve project config: read CLAUDE.md's ## Project Discovery section for docs and ADR
directories; fall back to project-discovery.md; fall back to Glob defaults (docs/, docs/adr/). Continue without
any keys that remain unfound.
Determine the ADR directory: Use the ADR directory if found; otherwise use {docs-dir}/adr/ if a docs directory
was found; otherwise use docs/adr/. Run mkdir -p on the resolved directory to ensure it exists.
Enumerate existing ADRs: Use Glob to find existing .md files in the ADR directory.
Check existing ADR format: If existing ADRs were found, read one to understand the project's format. If it differs from template.md, ask the user whether to match the existing format or use this skill's template.
Discover the filename hierarchy taxonomy: ADRs are organized by a one- or two-level hierarchy encoded in the filename so related decisions sort together in a directory listing. Discover the taxonomy that applies to this project — never hardcode it.
auth-session-storage.md → top-level auth; auth-tokens-rotation.md →
top-level auth, second-level tokens). Build a list of top-level prefixes and known second-level prefixes per
top-level.auth, billing, api, worker, postgres, terraform).AskUserQuestion to clarify before writing. If the forcing function is
the unclear one, surface that explicitly — "I don't see a current trigger forcing this decision; recommend deferring
the ADR until {trigger}. Override?"Skip agent exploration if the user has already provided full context (converting or updating). When creating a new ADR
with sparse context, launch 1-2 han-core:codebase-explorer agents to discover evidence. Use 1 agent for narrow
decisions, 2 when the decision crosses multiple system areas. Explorer 1 focuses on code affected by the decision topic
(current patterns, entry points, core logic). Explorer 2 focuses on existing ADRs, coding standards, and project docs
(starting from the docs directory found in Step 2).
After agents complete (or if skipped), merge findings with user-provided context. Agent discovery items map to Context (current state of the codebase), Decision (why the chosen option fits), and Notes (key files table, cross-references). Merge duplicates and resolve conflicts between agents.
Skip this sub-step in update mode when only status is changing. Otherwise, launch review agents in parallel against the compiled evidence, the proposed decision, and the considered alternatives. Pass each agent the topic, the proposed decision, the alternatives, and the evidence compiled above.
Launch architect agent — use han-core:software-architect when the decision is scoped to a single codebase or
bounded context (module boundaries, class and interface design, abstraction points, refactoring paths). Use
han-core:system-architect when the decision crosses service or bounded-context seams (integration patterns, data
ownership across services, failure-domain topology, context-map relationships). If uncertain, prefer
han-core:system-architect. Prompt: "Review the proposed decision against the compiled evidence. For the chosen
option, identify structural or topological risks that the ADR's Consequences section should name. For each rejected
alternative, identify the strongest case for it that the ADR's Decision section needs to rebut or concede. Return
findings keyed to the ADR's Decision, Decision Drivers, and Consequences sections."
Launch han-core:risk-analyst agent — prompt: "Assess the risk of adopting the chosen option versus staying with the current approach or adopting each rejected alternative. Score each on likelihood, severity, blast radius, and reversibility. Return findings keyed to the ADR's Consequences section, and flag any dimension where a rejected alternative scores better than the chosen option — the ADR needs to explain why."
Launch han-core:junior-developer agent in artifact-review mode — prompt: "Read the proposed Context, Decision, Decision Drivers, and Considered Options as a generalist encountering this decision for the first time. Surface: unexplained jargon, assumptions baked into the Decision Drivers without evidence, alternatives dismissed without a reason a generalist would accept, and places where the ADR relies on context a future reader will not have. Return a short list of clarifying questions and must-answer gaps."
Merge the three agents' findings into the Decision, Decision Drivers, and Consequences sections before writing. Where an agent raises a must-answer gap that requires user judgment, surface it with a recommended resolution rather than resolving silently.
Convert source document (if converting): Read the source document and map sections to ADR sections using the mapping at conversion-mapping.md.
Copy the template from template.md
File name and location: {top-level}[-{second-level}]-{kebab-case-title}.md — a one- or two-level hierarchy
prefix followed by the decision's specific title. The hierarchy must come from the taxonomy discovered in Step 2.6,
never invented or hardcoded.
auth, billing, api,
postgres). Reuse an existing top-level prefix from Step 2.6 when one fits; only introduce a new top-level when no
existing prefix applies, and prefer one that matches a subsystem, bounded context, or technology already named in
CLAUDE.md or project-discovery.md.auth-tokens-…, auth-sessions-…). Reuse an existing second-level prefix from Step 2.6
when one fits. Skip the second level when the ADR is the only one (or one of a few) under its top-level.Fill in metadata: Status per Step 1 mode (proposed for new, accepted for converted; use deprecated or
superseded when updating). Date Created / Last Updated: current date and time.
Fill each required section following the template's HTML comments for guidance. Readability: invoke
han-communication:readability-guidance to surface the shared readability standard into your context, then write the
prose in each section against it — lead with the main point, give each paragraph one idea carried by its first
sentence, number sequential steps and bullet non-sequential items, and disclose detail in layers. Keep the template's
prescribed section structure (Context, Decision Drivers, Considered Options, Decision, Consequences, Notes); the rule
governs the prose within them, and its descriptive-heading rule applies to any sub-headings you add, not the
prescribed section names.
Notes section must include:
| File | Purpose |
|---|---|
path/to/file | Description |
See also [Soft Deletes](./data-soft-deletes.md))If updating an existing ADR: Update Status, Last Updated, and add notes about what changed. If superseding,
cross-reference the new ADR and set the old ADR's status to superseded.
Handle source document (conversions only): If the source document is fully subsumed, delete it and update references in CLAUDE.md, AGENTS.md, and other markdown files. If it retains useful content, add a link to the new ADR and remove migrated sections.
See reference in the relevant section of any existing CLAUDE.md or AGENTS.md, following the pattern of
existing ADR references. Place it near the feature or component the ADR describes.Read back the ADR file and confirm:
{placeholder} values remain) and template structure from
template.md was followedRun the standardized readability self-check (the shared standard is in your context from
han-communication:readability-guidance) over the ADR's prose regions only — never inside code fences, diagram bodies,
or citation identifiers. This skill runs no rewrite pass, so this self-check is the fidelity guard on the output;
criterion 6 is not optional. Confirm each criterion and fix any failure before presenting:
Run the readability rule's standardized six-point self-check, which is already in your context from the
readability-guidance invocation above. Correct every failure before presenting. Its fidelity criterion is not
optional: the standard governs how the content is said, never whether a required fact appears.
The descriptive-heading criterion applies to sub-headings you added, not to the section names the ADR template prescribes.
Alternatives
K-Dense-AI/scientific-agent-skills
Use when working directly with the `esm` Python SDK, ESM3 or ESMC model IDs, Forge/Biohub inference clients, or ESMFold2 folding workflows.
testdouble/han
Builds a feature specification from scratch through a relentless, evidence-based interview that walks the design tree decision-by-decision, resolving dependencies as it goes. Use when the user wants to plan, design, scope, specify, or flesh out a new feature, capability, or system behavior before implementation. Produces a feature specification focused on system behaviors, not implementation detail. Does not refine or stress-test an existing plan — use iterative-plan-review. Does not document al
mgiovani/cc-arsenal
Multi-agent review team: architecture, security, performance, testing, style, docs/UX, plus an adversary that cross-examines the other 6, for security-sensitive, architectural, or large PRs (15+ files) where a single-agent pass risks missing cross-cutting issues. Use for auth/payments/PII changes, schema/pattern changes, compliance sign-off, or when asked to 'get the review team on this' / 'multi-agent review' / 'thorough review before merge'. For a standard PR or a quick pre-merge check, use /r
NVIDIA-NeMo/nemo-platform
Captures what a NeMo Platform agent should do before any code or YAML. Explores the user's codebase and docs first, fills in every spec field it can infer, then asks the user only for the gaps. Output feeds nemo-spec. Use over generic brainstorming for any NeMo Platform agent design conversation.