/secondbrain:secondbrain-adrfrom secondbrain
Creates Architecture Decision Records (ADRs) with category-based numbering and status tracking. Useful when users need to document technical decisions with structured workflow.
Ships in secondbrain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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 templateWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sergio-bershadsky/ai --plugin secondbrain11 skills in this plugin
/secondbrain-discussionThis skill should be used when the user asks to "document discussion", "save meeting notes",
"record conversation", "capture meeting", or mentions needing to document team discussions
with participants, decisions, and action items.
/secondbrain-entityThis skill should be used when the user asks to "add entity", "create custom entity",
"new entity type", "define entity", or mentions wanting to add a new trackable data type
to their secondbrain project beyond the predefined ADR, Note, Task, and Discussion types.
/secondbrain-freshnessThis skill should be used when the user asks for "freshness check", "freshness report",
"what needs attention", "stale items", "review backlog", or mentions wanting to see
what secondbrain content needs review or updating.
/secondbrain-initThis skill should be used when the user asks to "create a secondbrain", "scaffold knowledge base",
"init documentation portal", "set up second brain", "create TDA project", or mentions wanting to
build a personal knowledge management system with VitePress and microdatabases.
/secondbrain-noteThis skill should be used when the user asks to "create note", "capture thought",
"save this", "document idea", "write note", "jot down", "quick note", "remember this",
"capture this", or mentions wanting to save knowledge, ideas, or learnings for later
reference in their secondbrain.
/secondbrain-reviewThis skill should be used when the user asks to "review page", "stamp as reviewed",
"mark reviewed", "review documentation", "add review stamp", "mark page as checked",
or mentions wanting to track who has reviewed a documentation page and when.
Other plugins' skills for the same job