record
Records, supersedes and retrieves architecture decision records (ADRs) in MADR 4.0.0 format.
Skill by nq-rdl
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nq-rdl-record
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/record
What's inside
- Skill name
record- Description
- Records, supersedes and retrieves architecture decision records (ADRs) in MADR 4.0.0 format. Use when a session settles a significant, hard-to-reverse choice between alternatives; when the user says "record this decision", "write an ADR" or "supersede ADR-0003"; when asked "why did we choose X?"; before changing code that an accepted ADR governs; or when archiving a merged spec as an ADR. Offers first and never writes files without explicit consent.
- License
- MIT
- Compatibility
- MADR 4.0.0 (adr/madr, released 2024-09-17). scripts/adr-scan.sh needs Bash 3.2+, POSIX find/sed/awk, and git for history-aware numbering.
- Metadata
- repo: https://github.com/nq-rdl/agent-extensions
- Instructions
- 229 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- SKILL.md
- index-template.md · assets/
- madr-4.0.0-template.md · assets/
- spec-archival.rst · references/
- subagent.rst · references/
- adr-scan.sh · scripts/
SKILL.md (first lines)
## Codex execution
Delegation is optional. Read references/subagent.rst only when delegation is useful or requested. It does not install a named agent or grant permissions.
# Architecture Decision Records
Capture why a significant decision was made, in MADR 4.0.0, at the moment it is
made. Answer later "why did we choose X?" questions from the records instead of
from memory. Records are durable project memory for people and agents. A wrong
or invented rationale is worse than no record, so evidence rules come first.
When the MADR format itself matters (field names, status values), verify against
the canonical [MADR site](https://adr.github.io/madr/) and the
[4.0.0 template](https://github.com/adr/madr/blob/4.0.0/template/adr-template.md).
Being wrong would mislead every later reader.
## Consent gate
Applies to every write below: new records, the index, status edits and
directory setup.
1. **Offer, don't write.** At a decision moment, say in one or two sentences what
you would record and ask. Example: "That settles queue vs. cron polling.
Record it as ADR-0007?" Offer once per decision. If the user declines or
ignores it, drop it and write nothing.
2. **Show before writing.** Present the full draft, the target path, the index
row, and any edit to an older record. Write only after an explicit yes. A yes
to "record it" covers that draft. It does not cover unrelated edits, a commit,
or a push.
3. **Retrieval is read-only.** Answering questions never needs consent and never
writes.
## Decision moments
Offer a record when the session:
- chooses between two or more viable options for structure, a dependency,
framework or service, a data model, an interface or protocol, a deployment
topology, or a security or compliance posture;
- accepts a quality trade-off (latency vs. cost, consistency vs. availability);
- makes a choice that is costly to reverse or that other teams will build on;
- rejects a tempting option for a reason that someone will otherwise rediscover
("we tried X, it fails because …"). Rejections are worth recording too;
- reverses or contradicts an existing accepted ADR (offer a superseding record).
Do not offer for routine, local or easily reversed choices: naming, formatting,
a library's internal API, a bug fix, or anything the code already states
plainly. One decision per record. Split multi-part decisions.
## Locate the records
Run the scanner from the repository root before numbering, drafting or
answering:
```bash
bash <skill-dir>/scripts/adr-scan.sh next # dir, exists, index, style, highest, next, others
bash <skill-dir>/scripts/adr-scan.sh list # number, status, date, title, path (TSV)
bash <skill-dir>/scripts/adr-scan.sh check # duplicate numbers, unindexed records
```
`<skill-dir>` is this skill's installed directory. The scanner honours an
adr-tools `.adr-dir` file. It then checks, in order: `docs/adr`,
`docs/decisions`, `doc/adr`, `docs/architecture/decisions`,
`docs/architecture-decisions`, `adr`, `decisions`. With no records anywhere, the
default is `docs/adr/`. If `others=` is non-empty, the repository has several
ADR directories. Ask which one is authoritative and don't merge them.
If the scanner cannot run, compute the same result by hand. Do not skip the
history check.
### Numbering and file names
- **Use `next=`.** It is one above the highest number in the files, the index
links, `ADR-NNNN` mentions in the index, and ADR files anywhere in git history
on every local and fetched ref. Numbers are never reused. A deleted record or
an unmerged branch's record keeps its number. Gaps are fine.
- **Branch collisions.** Two branches can still claim the same number. Run
`git fetch` first when the user agrees. If `check` reports a duplicate after a
merge, renumber the record that has not merged yet. Never renumber a merged
one.
- **Name style.** New directories use `NNNN-title-with-dashes.md`, which is
MADR's convention: four digits, lowercase, imperative or noun phrase.
Existing directories keep their style. `style=adr-NNNN-` means the
repository uses the legacy `adr-NNNN-slug.md` names, so match them. Never
rename existing files.
### Existing formats
Follow an established house format if the directory already has one: Nygard
(`## Status` / `## Context` / `## Decision` / `## Consequences`), the coded
`POS-001` / `NEG-001` style, or another. Consistency inside one log beats
conversion. Never rewrite old records into MADR. Use MADR for new logs, or when
the user asks for it.
## Record a decision
1. **Gather evidence.** Use only the session, the user, and repository
artefacts (issues, PRs, specs, benchmarks, code). For each MADR field, note
where its content came from.
2. **Ask before guessing.** If drivers, options or the reason for the choice are
missing, ask one compact round of targeted questions. Anything still unknown
is written as `Not recorded — <the open question>`. It is never filled in
with plausible text.
3. **Draft from [assets/madr-4.0.0-template.md](assets/madr-4.0.0-template.md).**
Delete unused optional sections and the template comment. House rules on top
of MADR:
- `status: "proposed"` unless the user confirms the decision is made, in
which case use `"accepted"`. `date` is today, in ISO format.
`decision-makers` lists only people the user names. Don't infer them from
git authors.
- **Drivers first.** The outcome sentence repeats the chosen option's title
verbatim from Considered Options. Its `because` clause names at least one
driver.
- **Real alternatives only.** Each option was seriously considered and
appears in the evidence. Never add a straw-man option. Doing nothing is a
real option only if someone proposed it.
- **Honest consequences.** List at least one `Bad, because` for the chosen
option, or state plainly that none was identified. Each rejected option
gets the reason it lost.From nq-rdl/agent-extensions, MIT.
More from nq-rdl/agent-extensions
- 0.570score
playbook
nq-rdl
Write, review, and debug Ansible content: playbooks, roles, inventories, group_vars/host_vars, Jinja2 templates, collections (requirements.yml, FQCN)…
SkillAFreshness: AClaude Code +9 - 0.570score
manage
nq-rdl
Manage ArgoCD configuration, including applications, projects, repositories, clusters, and RBAC.
SkillAFreshness: AClaude Code +9 - 0.570score
secrets
nq-rdl
Manage .env files and development secrets using the Bitwarden personal Password Manager CLI (bw).
SkillAFreshness: AClaude Code +9 - 0.570score
build
nq-rdl
Build terminal user interfaces with the Go Charm ecosystem (Bubbletea v2, Bubbles v2, Lip Gloss v2, Fang v2).
SkillAFreshness: AClaude Code +9 - 0.570score
agent-teams
nq-rdl
Design and run Claude Code agent teams: parallel teammates with a shared task list who message and challenge each other.
SkillAFreshness: AClaude Code +9 - 0.570score
discover-plugins
nq-rdl
Recommend Claude Code plugins for a repository from the team's tracked marketplaces.
SkillAFreshness: AClaude Code +9 - 0.570score
hook
nq-rdl
Create, debug, and audit Claude Code hooks in settings.json, plugins, or skill frontmatter.
SkillAFreshness: AClaude Code +9 - 0.570score
skill-audit
nq-rdl
Audit a skill for non-inferable value.
SkillAFreshness: AClaude Code +9 - 0.570score
skill-report-issue
nq-rdl
Report a defect in an installed skill to the skill's upstream GitHub repository.
SkillAFreshness: AClaude Code +9 - 0.567score
skill-review
nq-rdl
Review skills changed during a development session for actionable bugs and improvements.
SkillAFreshness: AClaude Code +9 - 0.566score
agent-create
nq-rdl
Create or import a delegatable workflow into this agent-extensions catalog.
SkillAFreshness: AClaude Code +9 - 0.565score
debug-delivery
nq-rdl
DevOps specialist for CI/CD pipelines, deployment debugging, and GitOps workflows focused on making deployments boring and reliable.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 15
- Last commit (this folder)
- Oct 4, 2026 (25 days ago)
- Last release
- Oct 16, 2026 (12 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nq-rdl/agent-extensions
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nq-rdl
- 0.570score
playbook
nq-rdl
Write, review, and debug Ansible content: playbooks, roles, inventories, group_vars/host_vars, Jinja2 templates, collections (requirements.yml, FQCN)…
SkillAFreshness: AClaude Code +9 - 0.570score
manage
nq-rdl
Manage ArgoCD configuration, including applications, projects, repositories, clusters, and RBAC.
SkillAFreshness: AClaude Code +9 - 0.570score
secrets
nq-rdl
Manage .env files and development secrets using the Bitwarden personal Password Manager CLI (bw).
SkillAFreshness: AClaude Code +9 - 0.570score
build
nq-rdl
Build terminal user interfaces with the Go Charm ecosystem (Bubbletea v2, Bubbles v2, Lip Gloss v2, Fang v2).
SkillAFreshness: AClaude Code +9 - 0.570score
agent-teams
nq-rdl
Design and run Claude Code agent teams: parallel teammates with a shared task list who message and challenge each other.
SkillAFreshness: AClaude Code +9 - 0.570score
discover-plugins
nq-rdl
Recommend Claude Code plugins for a repository from the team's tracked marketplaces.
SkillAFreshness: AClaude Code +9
Cite this page
record skill. Agent Mart. https://agentmart.dev/skills/nq-rdl-record (last updated 2026-10-24)