adr-write โ€” community adr-write, specvital.github.io, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Technical Writing Agents requiring automated ADR document generation based on GitHub commits and PRs. ๐Ÿ  Official project website and documentation hub hosted on GitHub Pages.

specvital specvital
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The adr-write skill by specvital is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Technical Writing Agents requiring automated ADR document generation based on GitHub commits and PRs.

Core Value

Empowers agents to generate complete ADR documents by researching GitHub commits/PRs and applying the ADR template, utilizing GitHub Pages for hosting and Markdown files like `adr-candidates.md` for input.

โ†“ Capabilities Granted for adr-write

Automating ADR document creation from commit history
Generating ADR templates based on discovered candidates
Researching GitHub PRs for ADR content

! Prerequisites & Limits

  • Requires access to GitHub commits and PRs
  • Needs `adr-candidates.md` file for input
  • Limited to Markdown output
Labs Demo

Browser Sandbox Environment

โšก๏ธ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

adr-write

Install adr-write, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

ADR Write Command

Write ADR documents based on discovered candidates from adr-candidates.md.

User Input

text
1$ARGUMENTS

You MUST consider the user input before proceeding.


Overview

Generate complete ADR documents by researching GitHub commits/PRs and applying the ADR template.

Multi-Agent Collaboration Pipeline:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    ADR Writing Pipeline                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Phase 1: specvital-specialist                                   โ”‚
โ”‚    โ†’ Search related commits/PRs via GitHub API                   โ”‚
โ”‚    โ†’ Extract decision context and rationale                      โ”‚
โ”‚    โ†’ Identify options that were considered                       โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Phase 2: product-strategist                                     โ”‚
โ”‚    โ†’ Analyze decision trade-offs                                 โ”‚
โ”‚    โ†’ Evaluate consequences (positive/negative)                   โ”‚
โ”‚    โ†’ Structure options comparison                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Phase 3: Write ADR Documents                                    โ”‚
โ”‚    โ†’ Generate English version (docs/en/adr/)                     โ”‚
โ”‚    โ†’ Generate Korean version (docs/ko/adr/)                      โ”‚
โ”‚    โ†’ Update all required index files                             โ”‚
โ”‚    โ†’ Update sidebar configuration                                โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Input Interpretation

Numeric Reference

Reference candidates by number from adr-candidates.md:

bash
1/adr-write 1 # Platform Level candidate #1 2/adr-write core/1 # Core repository candidate #1 3/adr-write worker/1 # Worker repository candidate #1

Natural Language

Describe what ADR to write:

bash
1/adr-write billing and quota system 2/adr-write write the AI spec document generation ADR 3/adr-write domain hints extraction for core repository

Parsing Logic

  1. Numeric only (e.g., 1, 2): Match Platform Level candidate by number
  2. Prefixed numeric (e.g., core/1, web/2): Match repository-level candidate
  3. Natural language: Search candidate titles and descriptions for best match

Execution Flow

Phase 0: Load Candidate Information

Read adr-candidates.md and identify the target ADR:

1. Parse user input to identify candidate
2. Extract from adr-candidates.md:
   - Title
   - Target location (e.g., /en/adr/13-xxx.md)
   - Related repositories
   - Complexity and priority
3. Determine ADR number and file paths

File Path Determination:

Candidate TypeEnglish PathKorean Path
Platform Leveldocs/en/adr/{num}-{slug}.mddocs/ko/adr/{num}-{slug}.md
Coredocs/en/adr/core/{num}-{slug}.mddocs/ko/adr/core/{num}-{slug}.md
Workerdocs/en/adr/worker/{num}-{slug}.mddocs/ko/adr/worker/{num}-{slug}.md
Webdocs/en/adr/web/{num}-{slug}.mddocs/ko/adr/web/{num}-{slug}.md

Phase 1: Context Research (specvital-specialist)

Task tool invocation:

Task(subagent_type="specvital-specialist", prompt="""
Research GitHub context for ADR: {candidate_title}

**Target Repositories**: {related_repos}

**Research Tasks**:

1. **Search Related Commits**
   - Use gh CLI or GitHub MCP to search commits
   - Keywords: {extracted_keywords}
   - Timeframe: Last 90 days
   - Command: `gh search commits "{keyword}" --repo specvital/{repo} --limit 20`

2. **Search Related PRs**
   - Find PRs that introduced or modified this feature
   - Command: `gh pr list --repo specvital/{repo} --search "{keyword}" --state all --limit 10`

3. **Extract Decision Context**
   For each relevant commit/PR:
   - What problem was being solved?
   - What approach was taken?
   - Any alternatives mentioned in discussions?

4. **Output Format**

Relevant Commits

  • {commit_sha}: {message} - {date}

Relevant PRs

  • #{pr_number}: {title} - {state}

Context Summary

  • Problem: ...
  • Decision: ...
  • Alternatives mentioned: ...
""")

Phase 2: Decision Analysis (product-strategist)

Task tool invocation:

Task(subagent_type="product-strategist", prompt="""
Analyze the architectural decision for ADR: {candidate_title}

**Input**: Context from Phase 1

**Analysis Tasks**:

1. **Structure the Context**
   - What was the problem/need?
   - Why was a decision required?
   - What constraints existed?

2. **Identify Options**
   Based on commits/PRs and common patterns:
   - Option A (selected): What was chosen and why
   - Option B: What alternatives existed
   - Option C: Any other approaches considered

3. **Evaluate Consequences**
   For the selected option:
   - Positive outcomes (benefits, improvements)
   - Negative outcomes (trade-offs, limitations)
   - Technical implications

4. **Output Format**
   Structured content ready for ADR template sections:
   - Context section content
   - Decision section content
   - Options Considered section content
   - Consequences section content
""")

Phase 3: Write ADR Documents

Generate both English and Korean versions following the template.

ADR Template Structure:

markdown
1--- 2title: { Title } 3description: ADR for {brief description} 4--- 5 6# ADR-{num}: {Title} 7 8> [Korean Version](/ko/adr/{path}) OR ๐Ÿ‡ฐ๐Ÿ‡ท [ํ•œ๊ตญ์–ด ๋ฒ„์ „](/ko/adr/{path}) 9 10| Date | Author | Repos | 11| ---------- | --------- | ---------------- | 12| YYYY-MM-DD | @{author} | {repo1}, {repo2} | 13 14## Context 15 16{Problem situation and why a decision was needed} 17 18## Decision 19 20{The decision made and its rationale} 21 22## Options Considered 23 24### Option A: {Name} (Selected) 25 26{Description, pros, cons} 27 28### Option B: {Name} 29 30{Description, pros, cons} 31 32## Consequences 33 34**Positive:** 35 36- {Benefit 1} 37- {Benefit 2} 38 39**Negative:** 40 41- {Trade-off 1} 42- {Trade-off 2} 43 44## References 45 46- [Related ADR](/en/adr/XX-related.md) 47- [Related PR](https://github.com/specvital/{repo}/pull/{num})

Post-Write Updates (CRITICAL)

After writing ADR documents, you MUST update all required files per CLAUDE.md rules.

For Platform Level ADR (e.g., adr/13-xxx.md)

Update 6 files:

โ˜ docs/en/index.md           โ† Homepage ADR links section
โ˜ docs/ko/index.md           โ† Homepage ADR links section
โ˜ docs/en/adr/index.md       โ† ADR overview
โ˜ docs/ko/adr/index.md       โ† ADR overview
โ˜ docs/.vitepress/config.mts โ† Sidebar navigation

For Repository Level ADR (e.g., adr/core/16-xxx.md)

Update 6 files:

โ˜ docs/en/index.md                 โ† Homepage ADR links section
โ˜ docs/ko/index.md                 โ† Homepage ADR links section
โ˜ docs/en/adr/index.md             โ† ADR overview (repository section)
โ˜ docs/ko/adr/index.md             โ† ADR overview (repository section)
โ˜ docs/en/adr/{category}/index.md  โ† Category index
โ˜ docs/ko/adr/{category}/index.md  โ† Category index
โ˜ docs/.vitepress/config.mts       โ† Sidebar navigation

Language Rules

English Version (/en/)

  • Write entirely in English
  • Use technical terminology appropriately
  • Clear, concise prose

Korean Version (/ko/)

  • Write entirely in Korean
  • MUST use noun-ending style (๋ช…์‚ฌํ˜• ์ข…๊ฒฐ)
  • NEVER use verb-ending style (๋™์‚ฌ ์ข…๊ฒฐ์–ด๋ฏธ ๊ธˆ์ง€)

Korean Style Examples:

โœ… CorrectโŒ Incorrect
๋ฐ์ดํ„ฐ ๋ฌด๊ฒฐ์„ฑ ๊ฒ€์ฆ๋ฐ์ดํ„ฐ ๋ฌด๊ฒฐ์„ฑ์„ ๊ฒ€์ฆํ•ฉ๋‹ˆ๋‹ค
API ํ˜ธ์ถœ ์ตœ์†Œํ™”API ํ˜ธ์ถœ์ด ์ตœ์†Œํ™”๋ฉ๋‹ˆ๋‹ค
์ •์  ๋ถ„์„ ๊ธฐ๋ฐ˜ ํ…Œ์ŠคํŠธ ์นด์šดํŠธ์ •์  ๋ถ„์„์„ ํ†ตํ•ด ํ…Œ์ŠคํŠธ๋ฅผ ์นด์šดํŠธํ•œ๋‹ค

Key Rules

Must Do

  • Load candidate info from adr-candidates.md
  • Research actual GitHub commits/PRs for context
  • Follow ADR template structure exactly
  • Generate both English and Korean versions
  • Update ALL required index files (check CLAUDE.md for complete list)
  • Update sidebar in config.mts
  • Use noun-ending style for Korean

Must Not Do

  • Skip GitHub research (must base on actual commits)
  • Write only one language version
  • Forget to update index files
  • Use verb endings in Korean documents
  • Guess content without evidence from commits/PRs

Output Summary

After completion, report:

## ADR Written

| Item | Value |
|------|-------|
| Title | {ADR Title} |
| Number | ADR-{num} |
| English | docs/en/adr/{path} |
| Korean | docs/ko/adr/{path} |

## Files Updated

- [x] docs/en/adr/{path} (created)
- [x] docs/ko/adr/{path} (created)
- [x] docs/en/index.md
- [x] docs/ko/index.md
- [x] docs/en/adr/index.md
- [x] docs/ko/adr/index.md
- [x] docs/.vitepress/config.mts

## Source References

- {commit_sha}: {message}
- PR #{num}: {title}

Usage Examples

bash
1# Write Platform Level candidate #1 (Billing and Quota) 2/adr-write 1 3 4# Write Core repository candidate #1 5/adr-write core/1 6 7# Natural language - matches "AI-Based Spec Document Generation Pipeline" 8/adr-write AI spec generation 9 10# Natural language with context 11/adr-write write the billing ADR, focus on quota tracking aspects

  • /adr-discover: Discover ADR candidates
  • /document-business-rule: Business rule documentation
  • /commit: Commit message generation
  • specvital-specialist: GitHub context research
  • product-strategist: Decision analysis and trade-offs
  • prompt-engineer: Document quality optimization
  • claude-code-specialist: Command and workflow optimization

Execution

Now execute the workflow:

  1. Parse $ARGUMENTS: Identify target candidate from adr-candidates.md
  2. Phase 1: Invoke Task(specvital-specialist) for GitHub research
  3. Phase 2: Invoke Task(product-strategist) for decision analysis
  4. Phase 3: Write ADR documents (English + Korean)
  5. Update Index Files: Per CLAUDE.md requirements
  6. Report: Summary of created/updated files

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is adr-write?

Ideal for Technical Writing Agents requiring automated ADR document generation based on GitHub commits and PRs. ๐Ÿ  Official project website and documentation hub hosted on GitHub Pages.

How do I install adr-write?

Run the command: npx killer-skills add specvital/specvital.github.io. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for adr-write?

Key use cases include: Automating ADR document creation from commit history, Generating ADR templates based on discovered candidates, Researching GitHub PRs for ADR content.

Which IDEs are compatible with adr-write?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for adr-write?

Requires access to GitHub commits and PRs. Needs `adr-candidates.md` file for input. Limited to Markdown output.

โ†“ How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add specvital/specvital.github.io. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use adr-write immediately in the current project.

Related Skills

Looking for an alternative to adr-write or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source โ€” self-host for your organization with complete privacy.

โ˜… 149.6k
โ‘‚ 0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

โ˜… 138.4k
โ‘‚ 0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life โ€” to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level โ€” enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

โ˜… 72.8k
โ‘‚ 0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life โ€” to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level โ€” enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

โ˜… 72.8k
โ‘‚ 0
AI