Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Keep durable architecture decisions and product specs in sync with the work happening in the conversation. AUTO-INVOKE when a request establishes or changes a long-lived architectural boundary, public contract, data ownership rule, operational invariant, or repo-wide convention with meaningful alternatives. Also invoke on explicit triggers: "record this", "create an ADR", "document this decision", "update the spec", "ADR for X". Run BEFORE coding when the decision is upfront, or AFTER landing wh
.claude/skills/kdlbs-record/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 30% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 12% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -20% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -16% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -6% | 0% |
Record architectural decisions for future reference, and keep related feature specs in sync.
When a significant architectural or design choice is made, create an ADR:
YYYY-MM-DD-short-title. The short title must bespecific enough to remain unique among decisions created on the same date.
docs/decisions/<id>.md does not already exist.docs/decisions/<id>.md using the template below.docs/decisions/INDEX.md with the new entry.Existing numeric ADR IDs remain valid and must not be renamed. References use the complete stable ID, for example ADR-2026-07-16-project-shell-output.
markdown# ADR-YYYY-MM-DD-short-title: Short Title **Status:** accepted | superseded by <adr-id> | deprecated **Date:** YYYY-MM-DD **Area:** backend | frontend | infra | protocol | workflow ## Context What situation prompted this decision. 2-5 sentences. ## Decision What was decided. Reference file paths, packages, interfaces. ## Consequences Trade-offs. What becomes easier or harder. ## Alternatives Considered What else was considered and why it was rejected.
Create an ADR only when all of these are true:
invariant, or repo-wide convention.
Typical examples include selecting a system-wide communication model, defining ownership across subsystems, changing a public API or persisted-data contract, and adopting a cross-cutting security or reliability invariant.
ADRs capture why a decision was made. Specs capture what a feature does and why it exists. After recording an ADR, reconcile the affected spec — specs are the canonical product record kept in git, so they must stay accurate.
docs/specs/INDEX.md and identify any spec whose scope the decision touches (e.g., a routing decision affects office-provider-routing/spec.md).docs/specs/<slug>/spec.md so the "What" and "Why" sections reflect the new direction. Add a Decision: ADR-<id> reference where relevant./spec to create one rather than writing it ad-hoc here.Do not duplicate ADR content inside the spec. Specs reference ADRs; they don't restate them.
Other measured skills in the registry, with their headline benchmark lift.