← ClaudeAtlas

pev-bootstrap-projectlisted

pev-harness を使うプロジェクトに必要な初期 file を 1 操作で生成する skill。 言語/構成 検知 (Node/Python/Go/Rust + E2E config) で team-conventions.md の Verification commands を auto-populate、 .gitignore に artifacts/ を追記、 オプションで .linear-config / settings.local / 個人 override skeleton を AskUserQuestion 経由で対話的に生成。 既存 file 衝突は「上書き / merge / skip」分岐。
myksyut/pev-harness · ★ 0 · Code & Development · score 73
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 でも検知結果で **上書き**する (= 言語検知結果が変