harness-plan-brief
非エンジニアの発注者・プロデューサー職向けに、Claude が着手しようとしている計画を HTML 1 枚 で提示するスキル。
発注者の認知負荷ピーク (1) 計画理解の段階で使う。
Quick Reference
- 「Plan Brief を作って」 → このスキル
- 「実装前にざっくり整理」 → このスキル
- 「非エンジニア向けに計画を見せて」 → このスキル
責任境界
| 範囲 | このスキルの責務 |
|------|-----------------|
| 検索 | 現プロジェクトのみ (project: <current>, strict_project: true を必ず指定) |
| クロスプロジェクト | やらない (Phase 65.3 以降で --cross-project-group <name> flag で opt-in 解放) |
| 書き込み | やらない (Plan Brief 承認後の memory write は plan-brief-record-decision.sh の責務) |
| plan_readiness 算出 | scripts/plan-brief-compile.sh に委譲。互換フィールド名 confidence は残すが、意味は DoD 明確度 + 依存解決率に限定 |
入力
引数 [task-description] にユーザーの request を渡す。
引数なしの場合は、会話の原依頼と選択済み計画から回収する。複数の候補が残って判断を変える場合だけ確認する。
計画の目的、担当範囲、未決事項と合格条件を示し、計画概要の作成依頼から実装を始めない。
出力
| 出力 | パス | 形式 |
|------|------|------|
| Plan Brief HTML | .claude/state/views/plan-brief-<timestamp>.html | 単独で開ける HTML (no server, no JS framework) |
| Plan Brief context JSON | .claude/state/views/plan-brief-<timestamp>.context.json | plan-brief-context.v1 schema |
Schema: `plan-brief-context.v1`
{
"schema": "plan-brief-context.v1",
"user_request": "string (ユーザーの request 原文)",
"my_understanding": "string (Claude の理解を 1-3 段落で)",
"options": [
{ "name": "string", "summary": "string", "pros": ["string"], "cons": ["string"] }
],
"risks": [
{ "kind": "string", "severity": "info|warn|critical", "description": "string", "mitigation": "string" }
],
"acceptance_criteria": [
{ "id": "string", "description": "string", "verifiable_by": "string" }
],
"tdd_required": "yes|no|skip:<reason>",
"confidence": 0,
"confidence_evidence": ["string (plan_readiness evidence: DoD clarity + dependency resolution only)"],
"related_decisions": [
{ "id": "string", "title": "string", "relevance": "string" }
],
"similar_past_plans": [
{ "archive_path": "string", "phase": "string", "outcome": "cc:完了|cc:WIP|cc:TODO|skipped", "relevance": "string" }
],
"project": "string",
"generated_at": "ISO8601"
}