/toolbelt:decision-logfrom toolbelt
Use when recording, superseding or auditing project decision records: ADRs (docs/adr/NNNN-slug.md) and the lightweight DEC log (.agent/DECISIONS.md). A bundled script numbers new records, sets status, marks supersession in both directions and checks integrity (duplicate numbers, broken supersede links, missing fields, dangling ADR paths) in the project's existing formats; the agent writes only the prose. Advisory: no hooks, never blocks a write, never commits. Triggers: 결정 기록, ADR 써줘, ADR 만들어줘, 결정 대체, supersede, DEC 추가, 결정 로그 점검, 결정 정합성, decision log check.
Ships in toolbelt. 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; scripts run unread.
결정 기록은 쓰는 것보다 유지하는 것이 어렵다. 번호가 겹치고, 대체한 결정이 "현재"처럼 남고, 인용한 ADR 경로가 깨진다. 이 스킬은 그 기계적인 부분(번호 매기기, 상태 줄, 양방향 대체 표시, 정합성 검사)을 스크립트에 맡기고, 판단이 필요한 글(맥락·이유·대안)만 에이전트가 쓰게 한다.
docs/adr/NNNN-slug.md, DEC는 .agent/DECISIONS.md(handoff 스킬이 만드는 파일). 기존 문서를 고쳐 쓰지 않아도 된다.| 기록 | 위치 | 언제 |
|---|---|---|
| ADR | docs/adr/NNNN-slug.md | 되돌리기 어려운 결정: 아키텍처·저장소·API·보안 정책·큰 범위 변경. 맥락·대안·결과를 갖춘 정식 문서 |
| DEC | .agent/DECISIONS.md | 작업 흐름 안의 가벼운 결정과 교훈. 한 항목에 Decision·Reason·Alternatives·Status·Date |
Ref로 가리킨다). 같은 근본 이유의 결정이 이미 있으면 새 기록을 만들지 말고 기존 항목에 보태거나 대체한다.Superseded by …로 남기고 새 기록을 쓴다. 옛 기록의 본문은 고치지 않는다.Superseded by, 새 기록은 Supersedes.TODO(확인 필요): …로 남긴다.스크립트는 python3 ${CLAUDE_PLUGIN_ROOT}/skills/decision-log/scripts/decision_log.py <명령> [--root 프로젝트루트]로 부른다(기본 루트는 현재 폴더, --adr-dir docs/adr, --dec-file .agent/DECISIONS.md로 위치를 바꿀 수 있다).
python3 ${CLAUDE_PLUGIN_ROOT}/skills/decision-log/scripts/decision_log.py check
그리고 기존 제목을 훑어 같은 결정이 이미 있는지 본다. 있으면 새로 만들지 말고 보태거나 대체한다.
# ADR — 한글 제목이면 --slug(영문 소문자·숫자·-)가 필요하다. 기본 상태 Proposed
python3 …/decision_log.py new-adr "Use SQLite for local storage" [--slug local-sqlite] [--status Accepted --date 2026-11-07]
# DEC — 기본 상태 Accepted. 결정 파일이 없으면 handoff init을 먼저(또는 --create로 최소 파일)
python3 …/decision_log.py new-dec "의존 경계 가드는 allowlist로" [--date 2026-11-07]
만든 뒤 본문을 채운다: ADR은 <자리표시> 줄(맥락·결정·드라이버·검토한 대안·결과)을, DEC는 빈 Decision/Reason/Alternatives를. 근거 문서·코드·대화에서 확인되는 내용만 쓴다. "그냥 이걸 골랐다"는 이유가 아니다. 채우지 않은 채 Accepted로 두면 check가 경고한다.
python3 …/decision_log.py set-status adr 3 Accepted # Proposed / Accepted / Deprecated / Rejected
python3 …/decision_log.py supersede adr 1 5 # ADR 0001을 0005가 대체
python3 …/decision_log.py supersede dec 12 31 # DEC-012를 DEC-031이 대체
supersede는 옛 기록의 상태 줄을 Superseded by …로 바꾸고 새 기록에 Supersedes 줄을 넣는다. 이미 대체된 기록은 거부한다. 바뀔 내용을 먼저 보려면 모든 쓰기 명령에 --dry-run을 붙인다.
python3 …/decision_log.py check [--json] [--all]
handoff: .agent/DECISIONS.md를 만들고 체크포인트에서 갱신한다. 새 DEC 번호는 이 스킬의 new-dec로 매기고 본문만 채우면 된다.doc-drift-check: 문서 안의 file:line 인용이 코드와 맞는지 검사한다. 이 스킬은 결정 기록끼리의 정합성(번호·대체·ADR 경로)을 본다. 둘 다 돌리는 것이 좋다.# NNNN. 제목(또는 # ADR-NNNN: 제목), - Status: 줄(앞 40줄 안), DEC 제목 ## DEC-NNN: 제목과 - **필드**: 줄. 다른 형식의 기록은 읽지 못해 "검사 대상 없음"이 될 수 있다.Accepted, Superseded by … 등)로 읽고 뒤의 설명은 무시한다.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jh3779/agent-toolbelt-public --plugin toolbelt40 skills in this plugin
/agent-self-evaluationUse after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions./architecture-audit프로젝트의 설계(데이터/스키마 생명주기, API·인터페이스 계약, 상태 머신, 실패·경계 처리, 결합도·확장성, 신뢰 경계)가 얼마나 견고한지 근거와 함께 감사하는 스킬. structure-audit(파일·계층 조직)과 다르다 — 이 스킬은 "어디에 있는가"가 아니라 "이 모델링이 맞는가"를 본다. 코드 수정 없이 조사·보고만 한다. Triggers - "설계 감사", "아키텍처 감사", "설계 검토", "이 스키마 설계 괜찮은지", "API 계약 검토", "이 상태 머신 맞게 짰는지", "design audit", "architecture review", "schema design review"/article-writingWrite articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.