repo-hygienelisted
Install: claude install-skill yunsii/wezdeck
# repo-hygiene
## When
- Install or refresh the local pre-commit gate
- Full-repo hygiene report before a “全面评审” or worktree recycle
- Debug why a commit was blocked by the hygiene hook
## Do not use for
- Runtime diff quality → `adversarial-review`
- RFC / 方案 accept-reject → design-review checklist in `validation.md`
## Commands
```bash
# one-time (shared git dir → all worktrees)
scripts/dev/repo-hygiene/install-hooks.sh
# L0 (also run by the hook)
scripts/dev/repo-hygiene/run.sh pre-commit
# L1 report (summary first)
scripts/dev/repo-hygiene/run.sh audit
scripts/dev/repo-hygiene/run.sh audit --verbose
scripts/dev/repo-hygiene/run.sh audit --backticks # opt-in path heuristic
scripts/dev/repo-hygiene/run.sh audit --strict # fail non-allowlisted OVER-HARD
# fixtures
scripts/dev/repo-hygiene/test.sh
```
Budgets: `budgets.conf`. Operator notes: `docs/daily-workflow.md#repo-hygiene`.
Emergency bypass only: `WEZTERM_HYGIENE_SKIP=1`. Soften heading-anchor fails: `WEZTERM_HYGIENE_SOFT_ANCHORS=1`.