← ClaudeAtlas

pev-team-conventionslisted

team-conventions.md と ~/.claude/pev/team-conventions.local.md を読み込んで planner/executor の prompt に自動注入。プロジェクト規約を agent動作の Single Source of Truth にする
myksyut/pev-harness · ★ 0 · AI & Automation · score 70
Install: claude install-skill myksyut/pev-harness
# pev-team-conventions team-conventions.md を**チーム規約の Source of Truth** とし、PEV pipeline が起動時に自動でpromptに注入する仕組み。dog food で「planner が team-conventions.md を自然に参照する」挙動を確認済み (v0.1, v0.2)。v0.5 はこれを明示的な protocol として整える。 ## When to Use - planner / executor 起動時 (自動、毎回) - 新しいチームメンバーが pev-harness を導入した時 - 既存プロジェクトに pev-harness を導入する時 ## Injection 規約 (v0.5 protocol) ### 読み込み優先順位 agent (planner / executor) は起動時に**この順序で**規約ファイルを探す: 1. `~/.claude/pev/team-conventions.local.md` (個人 override、最優先) 2. `<project_root>/team-conventions.md` (チーム共有) 3. なし (デフォルト動作) `<project_root>` は `git rev-parse --show-toplevel` で決まる。git管理外なら `cwd`。 複数見つかった場合、**両方を**読み込み、`local.md` のセクションが project側 と被ったら local 優先。 ### Injection 位置 agent prompt の **冒頭**、`# Your task` の直前に以下フォーマットで挿入: ```text # Team Conventions (auto-injected by pev-team-conventions skill) <team-conventions.local.md 内容 — もしあれば> <team-conventions.md 内容 — もしあれば> --- # Your task <本来の planner / executor 入力> ``` 不在時: ```text # Team Conventions (none found — operating on PEV defaults) --- # Your task ... ``` ### Section ごとの利用先 team-conventions.md の構造化された section を、PEV pipeline 内で**どこに反映するか**: | Section | 反映先 | |---|---| | `## Language & Stack` | planner: 依存判断、Constraints セクションの基礎 | | `## Code style` | executor: 実装時の規約 | | `## Verification commands` (v1.8+ 必須) | planner: plan.md の Verification strategy / verifier: 該当 check 実行 | | `## Commit policy` | executor: execute.log の「proposed commit message」フォーマット | | `## Review rubric` | ver