Capture an Architecture Decision Record (ADR) for a significant decision made in the current project.

MITAuto-check passedDevelopment

Install Adr

skills CLI
$ npx skills add jackfranklin/dotfiles --skill adr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jackfranklin/dotfiles adr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jackfranklin/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/claude/skills/adr .claude/skills/adr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
adr
GitHub stars
255
Token cost
~962 tokens
SKILL.md length
367 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

Capture an Architecture Decision Record (ADR) for a significant decision made in the current project.

  • Works in 9 steps: Resolve the project root and ADR directory → Check for existing ADR format → Confirm the title and framing before… → …
  • The user asks to record a decision
  • SKILL.md covers 1. Resolve the project root…, 2. Check for existing ADR format, 3. Confirm the title and… and 4. Determine the next ADR number, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Adr is an agent skill from jackfranklin/dotfiles. Capture an Architecture Decision Record (ADR) for a significant decision made in the current project. Store in the project's adrs/ folder. Use when the user asks to record a decision, log an ADR, or capture why something was built a certain way. PROACTIVELY suggest capturing an ADR whenever a non-obvious architectural choice is made — technology selection, structural trade-offs, rejected alternatives — especially after a discussion where context and reasoning were developed. A good prompt — "Want me to capture…

Its SKILL.md is about 960 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Architecture decision records. The repository describes itself as: My dotfiles for my dev environment, compromising of tmux, vim, zsh and git. The licence is MIT.

When your agent uses it

  • The user asks to record a decision
  • Capture why something was built a certain way

Example prompts

  • “Want me to capture this as an ADR?”
  • “/adr”

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Resolve the project root and ADR directory
  2. Check for existing ADR format
  3. Confirm the title and framing before drafting
  4. Determine the next ADR number
  5. Derive the filename
  6. Write the ADR
  7. Present the draft for approval
  8. Write the file
  9. Report back

What it can do on your machine

Read from SKILL.md and the folder at commit 48208f5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Adr loads about 962 tokens when it runs. Until then it costs about 134 tokens; SKILL.md has 367 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~134
When it runs · the whole SKILL.md, loaded when a task matches
~962

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jackfranklin/dotfiles at commit 48208f5, republished under its MIT licence (© jackfranklin). 367 words, ~962 tokens.

Download SKILL.mdSave it as .claude/skills/adr/SKILL.md (or your agent's skills folder).
name
adr
description
Capture an Architecture Decision Record (ADR) for a significant decision made in the current project. Store in the project's adrs/ folder. Use when the user asks to record a decision, log an ADR, or capture why something was built a certain way. PROACTIVELY suggest capturing an ADR whenever a non-obvious architectural choice is made — technology selection, structural trade-offs, rejected alternatives — especially after a discussion where context and reasoning were developed. A good prompt — "Want me to capture this as an ADR?"
disable-model-invocation
true

ADR Skill

Captures a decision as an Architecture Decision Record in the project's ADR directory. ADRs record the why — context, the decision made, alternatives rejected, and consequences — not implementation details.

1. Resolve the project root and ADR directory

The project root is the working directory. Check for an existing ADR directory before creating one:

bash
ls -d adrs/ docs/adr/ docs/decisions/ architecture/decisions/ 2>/dev/null | head -1

Use whichever exists. If none exist, default to adrs/ and create it:

bash
mkdir -p adrs

2. Check for existing ADR format

If ADR files exist, read the most recent one to match its format and section naming exactly. Don't impose a different structure on a project that already has a convention.

3. Confirm the title and framing before drafting

Before writing a full ADR, confirm with the user in one sentence:

"I'll capture this as: '<title>' — decision: <one-line summary>. Does that framing look right?"

This avoids a full redraft if the angle is wrong.

4. Determine the next ADR number

bash
ls adrs/[0-9]*.md 2>/dev/null | sort | tail -1

Parse the numeric prefix from the last file (e.g. 0003 from 0003-use-sqlite.md). Increment by one. If no files exist, start at 0001.

5. Derive the filename

Use the decision title in lowercase kebab-case:

adrs/<NNNN>-<kebab-title>.md

Example: adrs/0004-store-adrs-in-top-level-folder.md

Show full SKILL.md (181 more words)Show less

6. Write the ADR

Use this template — keep each section concise (a few sentences to a short paragraph):

markdown
# <NNNN>. <Title>

Date: <YYYY-MM-DD>
Status: <Accepted | Proposed | Deprecated | Superseded by [NNNN](<link>)>

## Context

What situation, constraint, or requirement forced this decision? What was the problem space?

## Decision

What was chosen and why? State it directly.

## Alternatives Considered

What else was evaluated and why was it not chosen? This is the most important section for future readers — capture each rejected option and the specific reason it lost.

## Consequences

What gets easier? What gets harder? What is accepted as a trade-off?

Status values:

  • Accepted — decision is in effect
  • Proposed — under discussion, not yet finalised
  • Deprecated — no longer relevant but not replaced
  • Superseded by [NNNN](NNNN-<title>.md) — replaced by a later ADR; also update the superseding ADR to note Supersedes [NNNN]

What belongs here:

  • The reasoning and alternatives considered (with reasons each was rejected)
  • Constraints that shaped the choice (team size, existing tooling, latency requirements, etc.)
  • Known trade-offs being accepted

What does not belong here:

  • Implementation steps or how-to instructions
  • Code snippets (unless a tiny illustrative example)
  • Anything derivable from reading the code

7. Present the draft for approval

Show the full ADR text and ask for approval or changes before writing. This is a permanent record — it should be accurate.

8. Write the file

Use the Write tool to create the file with the approved content.

9. Report back

Tell the user the file path. Offer to stage and commit the file so the decision is captured in git history alongside the code it relates to.

© jackfranklin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in claude/skills/adr of jackfranklin/dotfiles.

Open the folder on GitHubat commit 48208f5

Compare with similar skills

Adr next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Adr compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Adr this skilljackfranklin/dotfiles255—~962Automated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
Cto AdvisorIbrahim-3d/orchestrator-supaconductor3804 repos~2.4kAutomated safety check: PassMIT
Improve Codebase Architectureywwynm/EverythingDone14415 repos~1.3kAutomated safety check: PassGPL-3.0
Domain Modelingbrim-borium/spotify_sdk1665 repos~806Automated safety check: PassApache-2.0
Design Doc MermaidSpillwaveSolutions/design-doc-mermaid1751 repos~5.6kAutomated safety check: PassNone

Similar skills

  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Cto Advisor

    Ibrahim-3d/orchestrator-supaconductor

    Technical leadership guidance for engineering teams, architecture decisions, and technology strategy.

    380 GitHub starsUsed in 4 repos~2.4k tokens
    DevelopmentAuto-check passed
  • Improve Codebase Architecture

    ywwynm/EverythingDone

    Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.

    144 GitHub starsUsed in 15 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Domain Modeling

    brim-borium/spotify_sdk

    Build and sharpen a project's domain model. An agent skill from brim-borium/spotify_sdk.

    166 GitHub starsUsed in 5 repos~806 tokens
    DevelopmentAuto-check passed
  • Design Doc Mermaid

    SpillwaveSolutions/design-doc-mermaid

    Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.

    175 GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed
  • Learning Opportunities

    DrCatHicks/learning-opportunities

    Facilitates deliberate skill development during AI-assisted coding.

    2.5k GitHub stars~2.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from jackfranklin/dotfiles

All 19 skills in this repo
  • GitHub Code Review

    jackfranklin/dotfiles

    Perform a thorough, read-only review of one GitHub pull request.

    255 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Jack References

    jackfranklin/dotfiles

    Manage Jack's personal technical reference library at ~/git/references.

    255 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Later

    jackfranklin/dotfiles

    Log items to come back to later — bugs found mid-task, feature ideas, project feedback — as GitHub Issues.

    255 GitHub stars~767 tokensUpdated today
    Auto-check passed
  • New Deno App

    jackfranklin/dotfiles

    Scaffold a new Deno 2 + Hono + Deno KV + Eta + HTMX app with password auth and PWA support.

    255 GitHub stars~3.6k tokensUpdated today
    Auto-check: notes
  • Resolve Merge Conflict

    jackfranklin/dotfiles

    A skill your agent uses when you need to resolve an in-progress git merge/rebase conflict.

    255 GitHub starsUsed in 23 repos~427 tokens
    Auto-check passed
  • Writing Great Skills

    jackfranklin/dotfiles

    Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.

    255 GitHub starsUsed in 15 repos~2.2k tokens
    Auto-check passed

Categories

Questions about Adr

What does Adr do?

Capture an Architecture Decision Record (ADR) for a significant decision made in the current project. Adr is an agent skill from jackfranklin/dotfiles. Capture an Architecture Decision Record (ADR) for a significant decision made in the current project.

When should I use Adr?

Adr fits situations like: the user asks to record a decision; capture why something was built a certain way.

How do I install Adr in Claude Code?

Run `npx skills add jackfranklin/dotfiles --skill adr -a claude-code`. Or copy the skill folder (claude/skills/adr in jackfranklin/dotfiles) into .claude/skills/adr in your project. Claude Code loads it when a task matches its description.

How do I install Adr in Codex?

Run `npx skills add jackfranklin/dotfiles --skill adr -a codex`. Or copy the skill folder (claude/skills/adr in jackfranklin/dotfiles) into .agents/skills/adr in your project. Codex loads it when a task matches its description.

Can I use Adr in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jackfranklin/dotfiles --skill adr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adr, .gemini/skills/adr, .github/skills/adr and .opencode/skills/adr in your project.

What does Adr need to run?

SKILL.md names no scripts, command-line tools or credentials: Adr is instructions for the agent only.

Does Adr access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Adr safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Adr use?

Adr is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Adr use?

About 962 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Adr?

Skills that share tags, products or a category with Adr: PR Design Doc (OpenHands/OpenHands, 90k stars), Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 380 stars), Improve Codebase Architecture (ywwynm/EverythingDone, 144 stars) and Domain Modeling (brim-borium/spotify_sdk, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Adr?

jackfranklin (a GitHub user) maintains it in jackfranklin/dotfiles, which has 255 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 7, 2026.

Source: jackfranklin/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.