adr-skill
Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows.
Skill by miyake-san
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/miyake-san-adr-skill
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: not checked yet.
What's inside
- Skill name
adr-skill- Description
- Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses Socratic questioning to capture intent before drafting, and validates output against an agent-readiness checklist.
- License
- MIT
- Metadata
- internal: true
- Instructions
- 324 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (11)
- SKILL.md
- adr-madr.md · assets/templates/
- adr-readme.md · assets/templates/
- adr-simple.md · assets/templates/
- adr-conventions.md · references/
- examples.md · references/
- review-checklist.md · references/
- template-variants.md · references/
- bootstrap_adr.js · scripts/
- new_adr.js · scripts/
- set_adr_status.js · scripts/
SKILL.md (first lines)
# ADR Skill
## Philosophy
ADRs created with this skill are **executable specifications for coding agents**. A human approves the decision; an agent implements it. The ADR must contain everything the agent needs to write correct code without asking follow-up questions.
This means:
- Constraints must be explicit and measurable, not vibes
- Decisions must be specific enough to act on ("use PostgreSQL 16 with pgvector" not "use a database")
- Consequences must map to concrete follow-up tasks
- Non-goals must be stated to prevent scope creep
- The ADR must be self-contained — no tribal knowledge assumptions
- **The ADR must include an implementation plan** — which files to touch, which patterns to follow, which tests to write, and how to verify the decision was implemented correctly
## When to Write an ADR
Write an ADR when a decision:
- **Changes how the system is built or operated** (new dependency, architecture pattern, infrastructure choice, API design)
- **Is hard to reverse** once code is written against it
- **Affects other people or agents** who will work in this codebase later
- **Has real alternatives** that were considered and rejected
Do NOT write an ADR for:
- Routine implementation choices within an established pattern
- Bug fixes or typo corrections
- Decisions already captured in an existing ADR (update it instead)
- Style preferences already covered by linters or formatters
When in doubt: if a future agent working in this codebase would benefit from knowing _why_ this choice was made, write the ADR.
### Proactive ADR Triggers (For Agents)
If you are an agent coding in a repo and you encounter any of these situations, **stop and propose an ADR** before continuing:
- You are about to introduce a new dependency that doesn't already exist in the project
- You are about to create a new architectural pattern (new way of handling errors, new data access layer, new API convention) that other code will need to follow
- You are about to make a choice between two or more real alternatives and the tradeoffs are non-obvious
- You are about to change something that contradicts an existing accepted ADR
- You realize you're writing a long code comment explaining "why" — that reasoning belongs in an ADR
**How to propose**: Tell the human what decision you've hit, why it matters, and ask if they want to capture it as an ADR. If yes, run the full four-phase workflow. If no, note the decision in a code comment and move on.
## Creating an ADR: Four-Phase Workflow
Every ADR goes through four phases. Do not skip phases.
### Phase 0: Scan the Codebase
Before asking any questions, gather context from the repo:
1. **Find existing ADRs.** Check `contributing/decisions/`, `docs/decisions/`, `adr/`, `docs/adr/`, `decisions/` for existing records. Read them. Note:
- Existing conventions (directory, naming, template style)
- Decisions that relate to or constrain the current one
- Any ADRs this new decision might supersede
2. **Check the tech stack.** Read `package.json`, `go.mod`, `requirements.txt`, `Cargo.toml`, or equivalent. Note relevant dependencies and versions.
3. **Find related code patterns.** If the decision involves a specific area (e.g., "how we handle auth"), scan for existing implementations. Identify the specific files, directories, and patterns that will be affected by the decision.
4. **Check for ADR references in code.** Look for ADR references in comments and docs (see "Code ↔ ADR Linking" below). This reveals which existing decisions govern which parts of the codebase.
5. **Note what you found.** Carry this context into Phase 1 — it will sharpen your questions and prevent the ADR from contradicting existing decisions.
### Phase 1: Capture Intent (Socratic)
Interview the human to understand the decision space. Ask questions **one at a time**, building on previous answers. Do not dump a list of questions.
**Core questions** (ask in roughly this order, skip what's already clear from context or Phase 0):
1. **What are you deciding?** — Get a short, specific title. Push for a verb phrase ("Choose X", "Adopt Y", "Replace Z with W").
2. **Why now?** — What broke, what's changing, or what will break if you do nothing? This is the trigger.
3. **What constraints exist?** — Tech stack, timeline, budget, team size, existing code, compliance. Be concrete. Reference what you found in Phase 0 ("I see you're already using X — does that constrain this?").
4. **What does success look like?** — Measurable outcomes. Push past "it works" to specifics (latency, throughput, DX, maintenance burden).
5. **What options have you considered?** — At least two. For each: what's the core tradeoff? If they only have one option, help them articulate why alternatives were rejected.
6. **What's your current lean?** — Capture gut intuition early. Often reveals unstated priorities.
7. **Who needs to know or approve?** — Decision-makers, consulted experts, informed stakeholders.
8. **What would an agent need to implement this?** — Which files/directories are affected? What existing patterns should it follow? What should it avoid? What tests would prove it's working? This directly feeds the Implementation Plan.
**Adaptive follow-ups**: Based on answers, probe deeper where the decision is fuzzy. Common follow-ups:
- "What's the worst-case outcome if this decision is wrong?"
- "What would make you revisit this in 6 months?"
- "Is there anything you're explicitly choosing NOT to do?"
- "What prior art or existing patterns in the codebase does this relate to?"
- "I found [existing ADR/pattern] — does this new decision interact with it?"
**When to stop**: You have enough when you can fill every section of the ADR — including the Implementation Plan — without making things up. If you're guessing at any section, ask another question.
**Intent Summary Gate**: Before moving to Phase 2, present a structured summary of what you captured and ask the human to confirm or correct it:
> **Here's what I'm capturing for the ADR:**
>
> - **Title**: {title}
> - **Trigger**: {why now}
> - **Constraints**: {list}
> - **Options**: {option 1} vs {option 2} [vs ...]
> - **Lean**: {which option and why}
> - **Non-goals**: {what's explicitly out of scope}
> - **Related ADRs/code**: {what exists that this interacts with}
> - **Affected files/areas**: {where in the codebase this lands}
> - **Verification**: {how we'll know it's implemented correctly}
>
> **Does this capture your intent? Anything to add or correct?**
Do NOT proceed to Phase 2 until the human confirms the summary.
### Phase 2: Draft the ADR
1. **Choose the ADR directory.**
- If one exists (found in Phase 0), use it.
- If none exists, create `contributing/decisions/` (if `contributing/` exists), `docs/decisions/` (MADR default), or `adr/` (simpler repos).
2. **Choose a filename strategy.**From miyake-san/sogo-agent-platform, MIT.
More from miyake-san/sogo-agent-platform
- 0.529score
github-issues
miyake-san
Create, update, and manage GitHub issues using MCP tools.
SkillBFreshness: BClaude Code +9 - 0.521score
go-mcp-server-generator
miyake-san
Generate a complete Go MCP server project with proper structure, dependencies, and implementation using the official github.com/modelcontextprotocol/go-sdk.
SkillBFreshness: BClaude Code +9 - 0.521score
declarative-agents
miyake-san
Complete development kit for Microsoft 365 Copilot declarative agents with three comprehensive workflows (basic, advanced, validation), TypeSpec support, and…
SkillBFreshness: BClaude Code +9 - 0.521score
documentation-research
miyake-san
Tiered source hierarchy for finding authoritative learning materials — official docs, books, videos, courses, and academic papers
SkillBFreshness: BClaude Code +9 - 0.518score
create-specification
miyake-san
Create a new specification file for the solution, optimized for Generative AI consumption.
SkillBFreshness: BClaude Code +9 - 0.518score
create-github-issues-for-unmet-specification-requirements
miyake-san
Create GitHub Issues for unimplemented requirements from specification files using feature_request.yml template.
SkillBFreshness: BClaude Code +9 - 0.518score
create-github-pull-request-from-specification
miyake-san
Create GitHub Pull Request for feature request from specification file using pull_request_template.md template.
SkillBFreshness: BClaude Code +9 - 0.518score
create-github-issue-feature-from-specification
miyake-san
Create GitHub Issue for feature request from specification file using feature_request.yml template.
SkillBFreshness: BClaude Code +9 - 0.516score
create-rfc
miyake-san
Creates and reviews a Request for Comments that compares alternatives before a consequential technical or content-system decision.
SkillBFreshness: BClaude Code +9 - 0.510score
create-readme
miyake-san
Create a README.md file for the project
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 28, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.636score
adr-skill
vercelOfficial
Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows.
SkillAFreshness: A★ 27.5KClaude Code +9 - 0.329score
adr-skill
joelhooks
Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows.
SkillBFreshness: B★ 64Claude Code +9 - 0.298score
adr-skill
frontal-labs
Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows.
SkillCFreshness: C★ 1Claude Code +9 - 0.296score
adr-skill
mandor1428
Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows.
SkillDFreshness: D★ 27Claude Code +9 - 0.285score
adr-skill
julio211916
Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows.
SkillCFreshness: CClaude Code +9 - 0.246score
adr-skill
khulnasoft
Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows.
SkillDFreshness: DClaude Code +9
More from miyake-san
- 0.529score
github-issues
miyake-san
Create, update, and manage GitHub issues using MCP tools.
SkillBFreshness: BClaude Code +9 - 0.521score
go-mcp-server-generator
miyake-san
Generate a complete Go MCP server project with proper structure, dependencies, and implementation using the official github.com/modelcontextprotocol/go-sdk.
SkillBFreshness: BClaude Code +9 - 0.521score
declarative-agents
miyake-san
Complete development kit for Microsoft 365 Copilot declarative agents with three comprehensive workflows (basic, advanced, validation), TypeSpec support, and…
SkillBFreshness: BClaude Code +9 - 0.521score
documentation-research
miyake-san
Tiered source hierarchy for finding authoritative learning materials — official docs, books, videos, courses, and academic papers
SkillBFreshness: BClaude Code +9 - 0.518score
create-specification
miyake-san
Create a new specification file for the solution, optimized for Generative AI consumption.
SkillBFreshness: BClaude Code +9 - 0.518score
create-github-issues-for-unmet-specification-requirements
miyake-san
Create GitHub Issues for unimplemented requirements from specification files using feature_request.yml template.
SkillBFreshness: BClaude Code +9
Cite this page
adr-skill. Agent Mart. https://agentmart.dev/skills/miyake-san-adr-skill (last updated 2026-10-24)