← ClaudeAtlas

repo-hygienelisted

Repo hygiene audit and pre-commit gate for wezdeck: broken relative markdown links, bash -n, mermaid on staged docs, secret heuristics, line budgets. Use when installing commit hooks, running a full-repo size/link audit, or when the user asks for 卫生审计 / doc-link check / line-budget review. Not adversarial-review and not design-review.
yunsii/wezdeck · ★ 5 · Code & Development · score 72
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`.