Implement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes...
npx skills add haru01/order_skills_sample --skill "cga-decision-record"
Install specific skill from multi-skill repository
# Description
|
# SKILL.md
name: cga-decision-record
description: |
対話形式で意思決定記録(DR)を作成。技術選定や設計決定はADR、ドメインルールや業務決定はDDRとして記録。
Use when user wants to "record a decision", "create ADR/DDR", "document architecture choice",
or asks about decision records. Interactive dialogue collects context and generates markdown
files in doc/decisions/.
allowed-tools: Read Write AskUserQuestion
いつ使うか
- 技術選定や設計判断を記録したいとき(ADR)
- ドメインルールやビジネス判断を残したいとき(DDR)
何をするか
- AskUserQuestion で基本情報を質問(種類、決定事項、選択肢、不可逆性)
- 理由とトレードオフを深掘り
doc/decisions/{種類}-{YYYYMMDDHH}-{slug}.mdとして保存
使用例
/cga-decision-record
対話が始まり、質問に答えていくとDRファイルが生成される。
詳細
guide.md を参照
トラブルシューティング / Troubleshooting
ディレクトリが存在しない / Directory doesn't exist
doc/decisions/ がない場合、自動的に作成します。
ファイル名の重複 / Duplicate filename
タイムスタンプ (YYYYMMDDHH) が同じ場合、分単位のサフィックスを追加 (例: adr-2024123114-01-api-choice.md)
不正な入力 / Invalid input
- Type は ADR/DDR/AIDR のみ
- Slug は kebab-case のみ (例:
api-gateway-choice) - Decision は 1文で簡潔に
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.