Agent skill

Ad Adr

by CorridorTech in CorridorTech/PoseCap

Draft a new ADR (Architecture Decision Record) at doc/adr/NNNN-<short-title.md, using Michael Nygard's Context/Decision/Consequences/Alternatives pattern.

Apache-2.0Auto-check: notesDevelopment

Install Ad Adr

skills CLI
$ npx skills add CorridorTech/PoseCap --skill ad-adr -a claude-code

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

GitHub CLI
$ gh skill install CorridorTech/PoseCap ad-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/CorridorTech/PoseCap.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ad-adr .claude/skills/ad-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
ad-adr
GitHub stars
224
Token cost
~1k tokens
SKILL.md length
407 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
Apache-2.0

At a glance

Draft a new ADR (Architecture Decision Record) at doc/adr/NNNN-<short-title.md, using Michael Nygard's Context/Decision/Consequences/Alternatives pattern.

  • Works in 4 steps: Determine NNNN → Confirm scope → Fill from conversation only → …
  • The user wants to record
  • SKILL.md covers Step 1 — Determine NNNN, Step 2 — Confirm scope, Step 3 — Fill from… and Interview UX, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ad Adr is an agent skill from CorridorTech/PoseCap. Draft a new ADR (Architecture Decision Record) at doc/adr/NNNN-<short-title.md, using Michael Nygard's Context/Decision/Consequences/Alternatives pattern. Use when the user wants to record, write, draft, propose, or document an architecture decision. Status starts at proposed; the agent does not flip to accepted without explicit user approval.

Its SKILL.md is about 1k 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 licence is Apache-2.0.

When your agent uses it

  • The user wants to record
  • Document an architecture decision

Example prompts

  • “/ad-adr”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Glob, Bash

Workflow steps

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

  1. Determine NNNN
  2. Confirm scope
  3. Fill from conversation only
  4. Write the file

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Glob
    • Bash

    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 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

Ad Adr loads about 1k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 407 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Glob, Bash

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 CorridorTech/PoseCap at commit 626701b, republished under its Apache-2.0 licence (© CorridorTech). 407 words, ~1,022 tokens.

Download SKILL.mdSave it as .claude/skills/ad-adr/SKILL.md (or your agent's skills folder).
name
ad-adr
description
Draft a new ADR (Architecture Decision Record) at doc/adr/NNNN-<short-title>.md, using Michael Nygard's Context/Decision/Consequences/Alternatives pattern. Use when the user wants to record, write, draft, propose, or document an architecture decision. Status starts at proposed; the agent does not flip to accepted without explicit user approval.
allowed-tools
Read, Write, Glob, Bash
summary
Draft a new ADR at `doc/adr/NNNN-<slug>.md`.

/ad-adr

Drafts doc/adr/NNNN-<short-title>.md for one architecture decision. Status lifecycle: proposed → accepted → deprecated | superseded by ADR-NNNN.

Step 1 — Determine NNNN

List doc/adr/. NNNN = next available 4-digit number after the highest existing. If doc/adr/ does not exist, create it; start at 0001.

Step 2 — Confirm scope

The ADR captures one decision. If the user's request implies multiple decisions, ask which one to write first; the others become follow-up ADRs.

Step 3 — Fill from conversation only

Use the template below. Fill Context, Decision, Consequences, and Alternatives Considered from this conversation only — no fabrication, no inferring beyond what the user said. If a section has no signal, ask one question per gap rather than guessing.

  • Decision must be a directive ("We will…"), not a description.
  • Consequences lists positive and negative; do not balance for the sake of balance.
  • Alternatives Considered lists each rejected option with a one-line reason.

Interview UX

When the host exposes AskUserQuestion, use it for multi-choice prompts (Status: proposed / accepted / deprecated / superseded, decider role selection, alternative-option ranking) and for confirmation gates with non-trivial branching. Inline text questions are the fallback only when the host lacks a structured-prompt primitive (Codex). One card per multi-choice gate beats chained text questions.

Step 4 — Write the file

Path: doc/adr/<NNNN>-<short-slug>.md. Slug: kebab-case, ≤6 words, derived from the decision title. Status: proposed. Date: today, ISO format. Deciders: ask the user.

Stop after writing. Do not flip status to accepted — that requires user review.

Template — doc/adr/NNNN-<slug>.md

markdown
# ADR-NNNN: `<short imperative title>`

**Status:** `<proposed | accepted | deprecated | superseded by ADR-NNNN>`
**Date:** `<YYYY-MM-DD>`
**Deciders:** `<names or roles>`

## Context

`<What is the issue motivating this decision? What forces are at play — technical, organizational, regulatory, cost?>`

## Decision

`<State as a directive: "We will…". One decision per ADR.>`

## Consequences

`<What becomes easier, harder, or different. List positive, negative, and neutral consequences.>`

## Alternatives Considered

* `<option>` — `<why rejected>`
* `<option>` — `<why rejected>`
Show full SKILL.md (169 more words)Show less

Output contract

A single new file at doc/adr/<NNNN>-<short-slug>.md. Status proposed. No existing ADRs modified. No invented content.

ADRs are decision-record artifacts and are exempt from the no-dates rule (Documentation Discipline §2): the **Status:** lifecycle and **Date:** field are required for Nygard supersession ordering. The remaining Documentation Discipline rules (WORKFLOW.md §2) apply at write time:

  • No emoji anywhere in the file.
  • Context is the business-context-first section — the forces and problem before the decision.
  • One scope: one decision per ADR. If the user's request implies multiple decisions, ask which one to write first; the others become follow-up ADRs.
  • No speculation. Decision is a directive ("We will…"); rejected paths go in Alternatives Considered, not the body.

Next

  • Continue the work the ADR was scoped to support. Status starts proposed; the user flips to accepted after review (the agent does not).
  • If the ADR touches ARCHITECTURE.md's Active ADRs list, add the entry there.
  • /ad-task for the work units that implement the decision.
  • /ad-drift periodically to confirm the decision still holds against the code.

© CorridorTech, Apache-2.0. 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/ad-adr of CorridorTech/PoseCap.

Open the folder on GitHubat commit 626701b

Compare with similar skills

Ad 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.

Ad Adr compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ad Adr this skillCorridorTech/PoseCap224—~1kAutomated safety check: NotesApache-2.0
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 CorridorTech/PoseCap

All 15 skills in this repo
  • Ad Architecture

    CorridorTech/PoseCap

    Generate ARCHITECTURE.md at the repo root by scanning the code first, pre-filling layers/patterns/observability/deployment from observed signals, then asking only the genuine gaps.

    224 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check: notes
  • Ad Archive

    CorridorTech/PoseCap

    Hard-delete completed plan files (tasks Status:done, specs Status:shipped, PRDs Status:superseded, ADRs Status:superseded or deprecated) via git rm, leaving git history as the only ledger.

    224 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check: notes
  • Ad Drift

    CorridorTech/PoseCap

    Read-only drift audit — compare AGENTS.md, ARCHITECTURE.md, ADR statuses, feature specs in doc/specs/, and documentation discipline against what the code actually does.

    224 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check: notes
  • Ad Hooks

    CorridorTech/PoseCap

    Scaffold deterministic quality gates per WORKFLOW.md §11 — pre-commit (lint, format, secret-scan), pre-push (build, unit, integration).

    224 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check: notes
  • Ad Next

    CorridorTech/PoseCap

    Survey the project's state across the six-layer artifact stack and recommend prioritized next actions, modeled on flutter doctor.

    224 GitHub stars~3.3k tokensUpdated yesterday
    Auto-check: notes
  • Ad Bootstrap

    CorridorTech/PoseCap

    Generate AGENTS.md at the repo root by scanning the codebase first, pre-filling placeholders from observed signals, and asking only the genuine gaps.

    224 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check: warnings

Categories

Questions about Ad Adr

What does Ad Adr do?

Draft a new ADR (Architecture Decision Record) at doc/adr/NNNN-<short-title.md, using Michael Nygard's Context/Decision/Consequences/Alternatives pattern. Ad Adr is an agent skill from CorridorTech/PoseCap.md, using Michael Nygard's Context/Decision/Consequences/Alternatives pattern.

When should I use Ad Adr?

Ad Adr fits situations like: the user wants to record; document an architecture decision.

How do I install Ad Adr in Claude Code?

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

How do I install Ad Adr in Codex?

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

Can I use Ad 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 CorridorTech/PoseCap --skill ad-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/ad-adr, .gemini/skills/ad-adr, .github/skills/ad-adr and .opencode/skills/ad-adr in your project.

What does Ad Adr need to run?

SKILL.md names no scripts, command-line tools or credentials: Ad Adr is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Glob, Bash.

Does Ad 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 Ad Adr safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Ad Adr use?

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

How many tokens does Ad Adr use?

About 1k tokens (SKILL.md is roughly 4.1k 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 Ad Adr?

Skills that share tags, products or a category with Ad 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 Ad Adr?

CorridorTech (a GitHub organization) maintains it in CorridorTech/PoseCap, which has 224 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.

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