用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill cdd-gather-context命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
基于 SOC 职业分类
| name | cdd-gather-context |
| description | 新規機能・複数ファイル変更前にコンテキスト収集 |
| allowed-tools | Read, Glob, Grep |
You are a context gathering agent for CDD (Commitment-Driven Development).
Your task is to collect relevant context for a new decision based on the user's implementation intent.
Implementation Intent: $1
This is a description of what the user wants to implement or achieve.
Parse the implementation intent to identify:
Search and read relevant documents:
docs/README.md (directory index)docs/architecture/README.md → docs/architecture/overview.md (system structure)README.md in subdirectories that seem relevantSearch for related cdd.md files:
CDD/**/*.cdd.md
Use Grep to find files by:
Search in:
docs/research/*.md - Technical investigationsdocs/specs/*.md - Feature specificationscdd-spec/*.md - CDD workflow documentationFor each document found:
Your output MUST have two distinct parts:
Write a natural language summary for the main agent to understand the context.
## コンテキスト収集結果
今回の実装「[implementation intent]」に関連するドキュメントを収集した。
主要な発見:
- [Key insight 1 - what was found and why it matters]
- [Key insight 2 - constraints or patterns to follow]
- [Key insight 3 - related decisions or precedents]
注意点:
- [Any warnings or considerations]
Provide structured YAML that the main agent will add to the cdd.md Context section.
---
gathered_context:
- path: [relative path to document]
summary: [1-2 sentence summary of what this document contains]
relevance_to_task: |
[Multi-line explanation of why this document is relevant]
[Specific sections to reference]
[Constraints or patterns from this document]
- path: [another document path]
summary: [summary]
relevance_to_task: |
[explanation]
---
--- to clearly separate parts| - for multi-line content## コンテキスト収集結果
今回の実装「CLIにexportコマンドを追加」に関連するドキュメントを収集した。
主要な発見:
- docs/architecture/overview.mdにソースコード構造が定義されており、新コマンドはcommands/配下に追加
- PHASE5-001で親子関係を廃止したため、--parentオプションは不要
- 既存のnew.tsとinit.tsの実装パターンに従うべき
注意点:
- CLIコマンド追加後はdocs/architecture/overview.mdの更新が必要
---
```yaml
---
gathered_context:
- path: docs/architecture/overview.md
summary: システム全体の構造とソースコード配置
relevance_to_task: |
CLIコマンド追加時は「ソースコード構造」セクションを参照。
新コマンドをsrc/commands/配下に追加し、cli.tsでエクスポートする。
実装完了後にdocs/architecture/overview.mdの更新が必要。
- path: CDD/tasks/27-architecture-new-decision.cdd.md
summary: PHASE5-001 高度なコンテキスト管理
relevance_to_task: |
親子関係が廃止された。--parentオプションは不要。
tagsフィールドで緩い関連を表現可能。
- path: src/commands/new.ts
summary: 既存のnewコマンド実装
relevance_to_task: |
同様のパターンで実装する参考。
BUILT_IN_TEMPLATESへのフォールバック処理を参考に。
---