Skip to content
manage-adr logo

ADR Management Skill

manage-adr

Manage Architectural Decision Records (ADRs) with CRUD operations, automatic numbering, and AsciiDoc formatting

SKILL.md

Full skill instructions

ADR Management Skill

Manage Architectural Decision Records (ADRs) stored in doc/​adr/ directory.

Purpose

Provide structured management of architectural decisions:

  • Create ADRs with automatic numbering and template
  • Read ADR content by number
  • Update ADR status through lifecycle
  • Delete ADRs when necessary
  • List all ADRs with optional filtering
  • Validate ADR format using ref-documentation

Available Workflows

WorkflowPurposeScript Used
list-adrsList all ADRs with optional filteringmanage-adr.py list
create-adrCreate new ADR from templatemanage-adr.py create
read-adrRead ADR contentmanage-adr.py read
update-adrUpdate ADR statusmanage-adr.py update
delete-adrDelete ADR (with confirmation)manage-adr.py delete
validate-adrValidate ADR formatref-documentation workflows

Workflow: list-adrs

List all ADRs with optional status filtering.

Parameters

  • status (optional): Filter by status (Proposed, Accepted, Deprecated, Superseded)

Steps

Step 1: Execute List

python3 .plan/​execute-script.py pm-documents:manage-adr:manage-adr list [--status {status}]

Step 3: Parse Output

Parse JSON output containing ADR list with metadata.

Output

{
  "success": true,
  "operation": "list",
  "count": 3,
  "adrs": [
    {"number": 1, "title": "Use PostgreSQL", "status": "Accepted", "path": "doc/​adr/​001-Use_PostgreSQL.adoc"},
    {"number": 2, "title": "Adopt Quarkus", "status": "Proposed", "path": "doc/​adr/​002-Adopt_Quarkus.adoc"}
  ]
}

Workflow: create-adr

Create a new ADR with automatic numbering.

Parameters

  • title (required): ADR title
  • status (optional, default: "Proposed"): Initial status

Steps

Step 1: Create ADR

python3 .plan/​execute-script.py pm-documents:manage-adr:manage-adr create --title "{title}" [--status "{status}"]

Step 3: Parse Output

Extract created file path from JSON output.

Step 4: Open for Editing

Read the created file and inform user to fill in content sections.

Step 5: Validate Format

Skill: pm-documents:ref-documentation
Execute workflow: validate-format
Parameters:
  target: {created_path}

Output

ADR Created: doc/​adr/​004-{title}.adoc
Number: ADR-004
Status: Proposed

Next steps:
1. Edit doc/​adr/​004-{title}.adoc to fill in:
   - Context
   - Decision
   - Consequences
   - Alternatives
2. Update status to "Accepted" when approved

Workflow: read-adr

Read ADR content by number.

Parameters

  • number (required): ADR number (1, 2, 3, etc.)

Steps

Step 1: Read ADR

python3 .plan/​execute-script.py pm-documents:manage-adr:manage-adr read --number {number}

Step 3: Display Content

Show ADR metadata and content to user.

Workflow: update-adr

Update ADR status through lifecycle.

Parameters

  • number (required): ADR number
  • status (required): New status (Proposed, Accepted, Deprecated, Superseded)

Steps

Step 1: Update ADR

python3 .plan/​execute-script.py pm-documents:manage-adr:manage-adr update --number {number} --status {status}

Step 3: Confirm Update

Report updated status to user.

Workflow: delete-adr

Delete ADR with confirmation.

Parameters

  • number (required): ADR number
  • force (required): Must be true to confirm deletion

Steps

Step 1: Delete ADR

python3 .plan/​execute-script.py pm-documents:manage-adr:manage-adr delete --number {number} --force

Step 3: Confirm Deletion

Report deletion to user.

Workflow: validate-adr

Validate ADR format using ref-documentation skill.

Parameters

  • number (required): ADR number to validate

Steps

Step 1: Find ADR Path

Use list-adrs workflow to get ADR path by number.

Step 2: Validate Format

Skill: pm-documents:ref-documentation
Execute workflow: validate-format
Parameters:
  target: {adr_path}

Step 3: Report Results

Report validation results to user.

Integration with ref-documentation

This skill integrates with ref-documentation for:

  • Format validation: Ensures AsciiDoc formatting compliance
  • Link verification: Validates cross-references
  • Content review: Reviews ADR content quality

ADR Lifecycle

Proposed → Accepted → [Deprecated | Superseded]
StatusMeaning
ProposedUnder discussion, not yet approved
AcceptedApproved and active
DeprecatedNo longer relevant or applicable
SupersededReplaced by another ADR

ADR Template Structure

Each ADR contains these sections:

  1. Status - Current lifecycle status
  2. Context - Problem context and background
  3. Decision - The architectural decision made
  4. Consequences - Positive, negative outcomes and risks
  5. Alternatives Considered - Options that were not chosen
  6. References - Related documents and links

File Naming Convention

ADRs follow this naming pattern:

doc/​adr/​{NNN}-{Title_With_Underscores}.adoc

Examples:

  • doc/​adr/​001-Use_PostgreSQL_for_Persistence.adoc
  • doc/​adr/​002-Adopt_Quarkus_Framework.adoc
  • doc/​adr/​003-Implement_CQRS_Pattern.adoc

References

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View