pev-bootstrap-projectlisted
Install: claude install-skill myksyut/pev-harness
# pev-bootstrap-project
`/pev-init` で呼ばれる **one-time setup** skill。 v1.4 で確立した `pev-bootstrap-playwright` pattern を project 全体に拡張した sibling。 新規 project に pev-harness を導入する手順を 1 操作で完結させる。
## When to Use
起動すべき場面:
- `/pev-init` が user に呼ばれた時
- 新規 project に pev-harness を初めて導入する時
- 既存 project で `team-conventions.md` が古い template だと判定された時 (`pev-team-conventions` skill が template 不整合を検出 → 提案)
起動すべきでない場面:
- 既に `team-conventions.md` が v1.8+ template (= `## Verification commands` section あり) で揃っており、 `.gitignore` に `artifacts/` も追記済の場合 (Preflight が detect、 idempotent skip)
## CLI flags
- `--dry-run`: 「実行予定 file list + 検知結果 + 質問 preview」を stdout 出力して exit、 実 I/O なし
- `--force`: interactive prompts を skip、 既存 file は上書き default (CI / 自動化用)
## Bootstrap Steps
### Step 1: Preflight check
```bash
# git root 確認 (絶対パス決定)
PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
# 既存 file 検出
test -f "$PROJECT_ROOT/team-conventions.md" && EXISTING_TC=true
test -f "$PROJECT_ROOT/.gitignore" && EXISTING_GI=true
test -f "$PROJECT_ROOT/.linear-config.yml" && EXISTING_LC=true
# v1.8 必須 section の有無判定 (existing template の version 推定)
grep -q '^## Verification commands' "$PROJECT_ROOT/team-conventions.md" 2>/dev/null && TC_V18=true
```
idempotent: 全 target が v1.8+ template かつ artifacts/ 追記済なら early exit + 「既に init 済」message。
**`--force` の override (v1.9 dog food finding F3)**: `--force` flag は idempotent skip を **bypass** する。 既に v1.8+ template でも検知結果で **上書き**する (= 言語検知結果が変