This skill should be used when the user asks to "create ADR", "document decision", "architecture decision", "add decision record", or mentions needing to record a technical decision with status tracking and category organization.
Create numbered ADRs with category-based organization and status workflow.
Verify ADR entity is enabled in the secondbrain project:
.claude/data/adrs/meta.yaml (sharded) or .claude/data/adrs/records.yaml (legacy)secondbrain-init with ADRs enabledEntityTable component on docs/adrs/index.md, which reads from .claude/data/adrs/ shard files. No sidebar modification is needed.Collect from user or conversation context:
Category (determines number range):
infrastructure (0001-0999) — Architecture & infrastructurefeature (2000-2999) — Feature implementationprocess (3000-3999) — Process & workflowTitle — Brief decision title (will be slugified for filename)
Context — What problem prompted this decision?
.claude/data/adrs/meta.yaml (read last_number — tiny file, ~50 tokens)ADR-XXXX (zero-padded)Number Ranges:
infrastructure: 0001 - 0999
feature: 2000 - 2999
process: 3000 - 3999
Use template from ${CLAUDE_PLUGIN_ROOT}/templates/entities/adr/TEMPLATE.md:
Filename: docs/adrs/ADR-XXXX-<title-slug>.md
Frontmatter:
---
id: ADR-XXXX
status: draft
date_created: YYYY-MM-DD
date_updated: YYYY-MM-DD
author: <author>
category: <category>
---
Add entry to the current month's shard .claude/data/adrs/YYYY-MM.yaml:
- number: XXXX
title: "<title>"
status: draft
category: <category>
created: YYYY-MM-DD
file: docs/adrs/ADR-XXXX-<slug>.md
author: <author>
Update last_number in .claude/data/adrs/meta.yaml and ensure the current month is in the shards list.
DO NOT manually add ADRs to VitePress sidebar.
ADRs are automatically listed via the EntityTable component on docs/adrs/index.md, which reads from .claude/data/adrs/ shard files. No sidebar modification needed.
## ADR Created
**ID:** ADR-0012
**Title:** Kubernetes Migration Strategy
**Category:** infrastructure
**Status:** draft
**File:** docs/adrs/ADR-0012-kubernetes-migration-strategy.md
### Next Steps
1. Edit the ADR to add context, options, and decision
2. Change status to 'proposed' when ready for review
3. Use /secondbrain-adr-status to update status
### Status Workflow
draft → proposed → admitted → applied → implemented → tested
Draft → Proposed → Admitted → Applied → Implemented → Tested
↘ Rejected
↘ Canceled
| Status | Description | |--------|-------------| | draft | Initial creation, under development | | proposed | Ready for review | | admitted | Approved, pending implementation | | applied | Implementation started | | implemented | Implementation complete | | tested | Verified in production | | rejected | Not approved | | canceled | Abandoned |
references/adr-template.md — Full ADR templatenpx skills add sergio-bershadsky/secondbrain-adr下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer