secondbrain-adr
БесплатноБез исполняемых скриптовНе проверенThis skill should be used when the user asks to "create ADR", "document decision", "architecture decision", "add decision record", or mentions needing to…
Об этом скилле
Create Architecture Decision Record
Create numbered ADRs with category-based organization and status workflow.
Prerequisites
Verify ADR entity is enabled in the secondbrain project:
- Check for
.claude/data/adrs/meta.yaml(sharded) or.claude/data/adrs/records.yaml(legacy) - If not found, suggest running
secondbrain-initwith ADRs enabled
Important Rules
- Do NOT add ADRs to the left sidebar/navigation. ADRs are listed automatically via the
EntityTablecomponent ondocs/adrs/index.md, which reads from.claude/data/adrs/shard files. No sidebar modification is needed.
Workflow
Step 1: Gather Information
Collect from user or conversation context:
Category (determines number range):
infrastructure(0001-0999) — Architecture & infrastructurefeature(2000-2999) — Feature implementationprocess(3000-3999) — Process & workflow
Title — Brief decision title (will be slugified for filename)
Context — What problem prompted this decision?
Step 2: Determine ADR Number
- Load
.claude/data/adrs/meta.yaml(readlast_number— tiny file, ~50 tokens) - Find highest number in selected category range
- Increment to get next number
- Format:
ADR-XXXX(zero-padded)
Number Ranges:
infrastructure: 0001 - 0999
feature: 2000 - 2999
process: 3000 - 3999
Step 3: Generate ADR Document
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>
---
Step 4: Update Records
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.
Step 5: Sidebar Note
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.
Step 6: Confirm Creation
## 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
Status Workflow
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 |
Additional Resources
references/adr-template.md— Full ADR template
Установить secondbrain-adr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл secondbrain-adr?
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.
Как установить скилл secondbrain-adr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл secondbrain-adr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic