adr-authoring

adr-authoring is a skill for Claude Code from loiane/specs-driven-development-spring-angular. It costs 44 tokens per session (694 once invoked), scanned A, original, MIT.

A writing guide for Architecture Decision Records (ADRs), short documents that explain important technical choices and their trade-offs.

In plain words
What is it for?
Use it to record choices, alternatives, exceptions to defaults, waived checks, and decisions that constrain future work.
Why use it?
It preserves the reasoning behind non-obvious decisions so future engineers can understand or reconsider them.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to record choices, alternatives, exceptions to defaults, waived checks, and decisions that constrain future work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/loiane/specs-driven-development-spring-angular/adr-authoring
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add loiane/specs-driven-development-spring-angular --skill adr-authoring
Clone the repo
git clone --depth 1 https://github.com/loiane/specs-driven-development-spring-angular

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adr-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/loiane/specs-driven-development-spring-angular/adr-authoring/github.svg)](https://agentmods.dev/skills/loiane/specs-driven-development-spring-angular/adr-authoring)
Your own site
<a href="https://agentmods.dev/skills/loiane/specs-driven-development-spring-angular/adr-authoring"><img src="https://agentmods.dev/badge/skills/loiane/specs-driven-development-spring-angular/adr-authoring/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for adr-authoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/loiane/specs-driven-development-spring-angular/adr-authoring"><img src="https://agentmods.dev/badge/skills/loiane/specs-driven-development-spring-angular/adr-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 694 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00694
Opus 5.5 $0.00018 $0.00278
Sonnet 5.5 $0.00009 $0.00139
Haiku 4.5 $0.00004 $0.00069

Measured 25d ago against content hash b3b9aaae7694, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adr-authoring scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/adr-authoring/SKILL.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ADR authoring

When to write one

Write an ADR if any of:

  • The decision has plausible alternatives a future engineer might prefer.
  • The decision overrides a default in this toolkit (skill says X, we do Y).
  • The decision waives a harness gate (mutation, coverage, OpenAPI breaking, CVE).
  • The decision constrains future work (e.g. "we will not use Kafka in this module").

Do not write an ADR for:

  • Choices uniquely forced by the source ticket.
  • Trivial mechanical decisions (variable naming).

File layout

.specs/<feature-id>/adr/NNN-<slug>.md where NNN is zero-padded and unique per feature.

Required sections (MADR)

  • Title — short, decision-shaped: "Use Liquibase for schema migrations".
  • Status — proposed | accepted | rejected | superseded by NNN | deprecated.
  • Context — what problem, what constraints, what we know.
  • Decision drivers — the forces (perf, team familiarity, cost, security).
  • Considered options — at least two.
  • Decision outcome — chosen option and one-paragraph justification.
  • Consequences — positive AND negative.
  • Pros and cons of each option — symmetric table.
  • Links — back to 01-spec.md, 03-design.md section, related ADRs, external references.

Naming examples

.specs/shop-1422-gift-card-checkout/adr/
├── 001-use-liquibase-for-migrations.md
├── 002-redeem-balance-stored-as-cents-int.md
├── 003-waive-mutation-on-config-classes.md
└── 004-breaking-api-change-error-envelope.md

Anti-patterns

  • ADR with one option (it's a memo, not a decision).
  • ADR with no Consequences section, especially no negatives.
  • "We chose X because it's better" — give a driver and a measurable reason.
  • ADR written after the code is merged — write it during Plan, refine during Validate.
  • Editing an accepted ADR. Mark it superseded by NNN and write a new one instead.

Status flow

proposed → accepted → (later) superseded
                ↓
              rejected

Read the full file on GitHub · 72 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed b3b9aaae7694
  2. 3mo ago First seen · 72 lines · 44 tokens per session scan A 4fb4eac3f2bb

Subscribe to this mod's changes

adr-authoring is a skill published in the GitHub repository loiane/specs-driven-development-spring-angular (66 stars, last pushed 22d ago), licensed MIT. It adds 44 tokens to every session and 694 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

adr-authoring compared with skills from other repositories

adr-authoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adr-authoringloiane/specs-driven-development-spring-angularSkill6622d agoMITA44Claude Code
writing-skillsstefaniuk/loadoutSkill14d agoMITA20Claude Code
test-driven-developmentstefaniuk/loadoutSkill14d agoMITA17Claude Code, Codex
spec-kitty-runtime-nextPriivacy-ai/spec-kittySkill1.7k8d agoMITA110Claude Code, Codex
spec-kitty-mission-systemPriivacy-ai/spec-kittySkill1.7k8d agoMITA160Claude Code, Codex
spec-kitty-git-workflowPriivacy-ai/spec-kittySkill1.7k8d agoMITA125Claude Code, Codex
spec-kitty-spdd-reasonsPriivacy-ai/spec-kittySkill1.7k8d agoMITA118Claude Code, Codex