Skip to content
Development
Skill

/adr

Use when a design decision is made that is expensive to reverse, affects multiple components, or rejects a plausible alternative — record it as an Architecture Decision Record under docs/hydraia/adr/. Also use to supersede an old decision. Not for trivial choices.

From plugin
hydraia
852 skills27 agents17 commands4 hooks
Install
$ npx -y skills add jdanigo/hydraia --skill adr --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/adr

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when a design decision is made that is expensive to reverse, affects multiple components, or rejects a plausible alternative — record it as an Architecture Decision Record under docs/hydraia/adr/. Also use to supersede an old decision. Not for trivial choices.

SKILL.md

adr.SKILL.md
name: adr
description: Use when a design decision is made that is expensive to reverse, affects multiple components, or rejects a plausible alternative — record it as an Architecture Decision Record under docs/hydraia/adr/. Also use to supersede an old decision. Not for trivial choices.

ADR — Architecture Decision Records (MADR-lite)

One file per decision: `docs/hydraia/adr/NNNN-<slug>.md`, zero-padded, monotonic (`0001-...`, `0002-...`). Find the next number with `ls docs/hydraia/adr/ | sort | tail -1`.

When to write one (all it takes is ONE of these)

  • Expensive to reverse (data store, auth model, hosting, framework).
  • Affects multiple components or teams.
  • A plausible alternative was seriously considered and rejected.

When NONE hold → no ADR. ADR spam buries the decisions that matter.

Template

NNNN — <decision title>

**Status:** proposed | accepted | superseded by NNNN **Date:** YYYY-MM-DD

Context

<the forces: requirements, constraints, and any assumption made because the human could not answer — stated as an assumption with its revisit trigger>

Decision

<what was decided, in one or two sentences, active voice>

Alternatives considered

  • <alternative> — rejected because <reason>

Consequences

  • Good: <what this buys>
  • Bad: <what this costs — every decision costs something; empty is a smell>

Lifecycle rules

  • Write at decision time (Phase 2 / greenfield step 5), commit with the spec.
  • Supersede, never rewrite: a change of mind = NEW ADR + flip the old one's Status to `superseded by NNNN`. History stays honest.
  • The Phase 2 spec references ADRs by number; reviewers check code against accepted ADRs.
Read more
Ships withhydraia

An agentic development harness for Claude Code. **One command runs the entire feature pipeline** — it collaborates with you on the design, then builds autonomously: plan, execute, double-review, and verify.

Get the whole plugin

Other skills on hydraia.