Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Write Adr

ASecurity

Write an architecture decision record.

5 stars
0 votes
0 copies
0 views
Added 10/6/2026
documentationgit

Security Analysis

A100/100

Scanned 10/6/2026

$npx -y skills add aaronmallen/aaronmallen.me --skill write-adr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Adr?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Write Adr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aaronmallen-write-adr/badge)](https://www.skillsdirectory.com/skills/aaronmallen-write-adr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
description: Write an architecture decision record.
name: write-adr
---

# Write an ADR

## 1. Read the rules

Read [`docs/writing-adrs.md`][writing] in full. It holds the front matter, the statuses, the badges and the
template. This skill does not repeat them.

Read `.claude/CLAUDE.md` too. The writing rules there apply to the record.

## 2. Check the decision is worth a record

A record covers one choice that is hard to reverse and shapes code nobody has written yet. If you cannot name the
alternative that lost, stop and say so. There is no decision to record.

If the user asked for a record covering two decisions, say which two and ask which one this record is for.

## 3. Find the decision

Do not write the record from the request alone. Read the code the decision produced.

Read the change the decision produced the way [`.claude/vcs.md`][vcs] describes.

Work out what the code decided, not what it does. A migration that adds a partial unique index decided that an
identity has one primary email address. That is the record. The index is the implementation.

## 4. Do not invent the reasoning

Write only what the code and the user support. If the reason for a choice is not in either, ask. Never fill
`## Alternatives` with options nobody weighed, and never name a tool the project has not picked.

State a cost you can see even when the user did not mention it. That is reading the code, not inventing.

## 5. Write it

Number the record the way the guide's numbers section says. Before launch, it takes its place in the logical
order, the records after it move up one, and you rewrite every citation of them. After launch, it takes the number
after the highest one in `docs/adr/`, a number is never reused, and a gap is never filled. Name the file
`NNNN-<slug>.md`, four digits, where the slug comes from the title.

Title the record with the decision. Copy the front matter from the template, set `created` to the launch day
(2026-09-28) before launch or to today after it, and drop every key you have nothing to put in. A new record has
no `supersedes` or `superseded-by`, so it carries neither.

Put the status badge on its own line under the heading, as a reference link with the URL defined at the bottom of
the file. The badge and the front matter `status` say the same thing, so change them together or not at all.

## 6. Update the index

Add a row to `docs/adr/README.md`, in number order, with the same badge in the status column. Keep the links
reference links, defined at the bottom of the file with the others. Records sharing a status share one definition.

## 7. Check it

```sh
mise run lint:markdown
mise run lint:editorconfig
```

Then read the record once more and cut every sentence a reader could have worked out from the one above it.

[vcs]: .claude/vcs.md
[writing]: docs/writing-adrs.md

Attribution

aaronmallenaaronmallen
View sourceSee grades on GitHubMore from aaronmallen →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Context Fundamentals

Understand the components, mechanics, and constraints of context in agent systems. Use when designing agent architectures, debugging context-related failures, or optimizing context usage.

179001 votes

Architecture Diagram Creator

Create comprehensive HTML architecture diagrams with data flows, business context, and system architecture.

6661 votes

release-notes

Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.

1301 votes

docs-style-guide

Documentation style guide enforcer by @planetabhi. Applies and reviews the writing style guide when authoring or editing product documentation and tutorials. Use to check prose for voice, tense, word choice, inclusive language, formatting, code block, UI, Markdown, and number/date conventions.

11 votes

Docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in W...

1798860 votes
View all in documentation →