xiaohongshu
xiaohongshu
manage-adr
Manage Architectural Decision Records (ADRs) with CRUD operations, automatic numbering, and AsciiDoc formatting
Full skill instructions
Manage Architectural Decision Records (ADRs) stored in doc/adr/ directory.
Provide structured management of architectural decisions:
| Workflow | Purpose | Script Used |
|---|---|---|
| list-adrs | List all ADRs with optional filtering | manage-adr.py list |
| create-adr | Create new ADR from template | manage-adr.py create |
| read-adr | Read ADR content | manage-adr.py read |
| update-adr | Update ADR status | manage-adr.py update |
| delete-adr | Delete ADR (with confirmation) | manage-adr.py delete |
| validate-adr | Validate ADR format | ref-documentation workflows |
List all ADRs with optional status filtering.
status (optional): Filter by status (Proposed, Accepted, Deprecated, Superseded)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.
{
"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"}
]
}
Create a new ADR with automatic numbering.
title (required): ADR titlestatus (optional, default: "Proposed"): Initial statusStep 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}
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
Read ADR content by number.
number (required): ADR number (1, 2, 3, etc.)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.
Update ADR status through lifecycle.
number (required): ADR numberstatus (required): New status (Proposed, Accepted, Deprecated, Superseded)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.
Delete ADR with confirmation.
number (required): ADR numberforce (required): Must be true to confirm deletionStep 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.
Validate ADR format using ref-documentation skill.
number (required): ADR number to validateStep 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.
This skill integrates with ref-documentation for:
Proposed → Accepted → [Deprecated | Superseded]
| Status | Meaning |
|---|---|
| Proposed | Under discussion, not yet approved |
| Accepted | Approved and active |
| Deprecated | No longer relevant or applicable |
| Superseded | Replaced by another ADR |
Each ADR contains these sections:
ADRs follow this naming pattern:
doc/adr/{NNN}-{Title_With_Underscores}.adoc
Examples:
doc/adr/001-Use_PostgreSQL_for_Persistence.adocdoc/adr/002-Adopt_Quarkus_Framework.adocdoc/adr/003-Implement_CQRS_Pattern.adocxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
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...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
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...
Display project status, active tracks, and next actions
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.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience