repo-init-gatelisted
Install: claude install-skill funky-eyes/best-copilot
# Repo Init Gate
Use this tiny skill before loading `repo-init-scan`.
## Contract
- This is the mandatory first observable preflight for Senior Project Expert target-repository requests. Run it before classification, broad search, generic Explore workers, planning, dispatch, or implementation.
- Loading this skill is not the gate result. The gate result exists only after the target root `best-copilot.md` has been read or found missing and the output block below is produced.
- Read only the target root `best-copilot.md`.
- Expected file content is exactly:
```md
---
version: "0.5.1"
---
```
- Exact match: skip `repo-init-scan`.
- Missing, unreadable, invalid frontmatter, missing `version`, or version mismatch: run `repo-init-scan`.
- Do not read `.github/instructions/**`, `memories/repo/**`, `spec/**`, or runtime adapters here.
- Explicit reinitialize/repair requests bypass the gate and run `repo-init-scan` directly.
- `best-copilot.md` is written only by `repo-init-scan` after full verification.
- If a runtime cannot mechanically invoke this skill, use the same shallow sentinel read as a degraded fallback and report `HARNESS_DEGRADED skill_invocation_unavailable`.
## Output
```markdown
## Repo Init Gate
- gate_result: ready|needs_init|version_mismatch|invalid_sentinel
- next_action: skip_repo_init_scan|run_repo_init_scan
```