init-lefthook
Set up lefthook with standard pre-commit hooks
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Set up lefthook with standard pre-commit hooks
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Run two heterogeneous fresh-context Herdr reviewers against both code quality and a governing plan, then synthesize evidence-backed feedback. Use when the user asks for a dual or adversarial review, code-versus-plan verification, or independent Claude and Pi reviewers before deciding whether a PR needs changes.
Control herdr from Codex. Use when the user says "use Herder" or asks to inspect, focus, prompt, spawn, or manage herdr workspaces, tabs, panes, or agents from a Codex session, without deciding whether they are inside or outside herdr.
Use when the user explicitly asks Codex Desktop or another shell outside Herdr to create, inspect, prompt, follow up with, or monitor Herdr agent tabs, or when the `codex-herdr` router skill hands off external control.
Fan out a user-provided task list into one reviewed PR per task through Herdr, then shepherd the PR fleet through CI and review without merging. Use when the user asks to fan out PRs, parallelize backlog items into separate PRs, or autonomously drive multiple agent-owned PRs to green.
Inspect and import content into my self-hosted AutoCaliWeb library. Use for catalog status, search, recent imports, shelves, metadata, or importing an ebook, comic, PDF, or audiobook.
Correct-by-construction TypeScript standards. Use for TypeScript engineering or when another skill needs the user's coding standards.
| name | init-lefthook |
| description | Set up lefthook with standard pre-commit hooks |
Set up lefthook with standard pre-commit checks for this project.
Detect environment:
flake.nix (if yes, ask if hooks should use nix develop -c).beads/ directoryInstall lefthook:
[bun/pnpm/npm] add -D lefthook
Create lefthook.yml:
Standard (with beads):
pre-commit:
commands:
beads-sync:
run: |
if command -v bd >/dev/null 2>&1 && [ -d .beads ]; then
bd sync --flush-only >/dev/null 2>&1 || echo "Warning: bd sync failed"
git add .beads/issues.jsonl 2>/dev/null || true
fi
priority: 1
format-fix:
glob: "*.{ts,tsx,mjs,js,jsx}"
run: bunx oxfmt {staged_files}
stage_fixed: true
priority: 2
lint-fix:
glob: "*.{ts,tsx,mjs,js,jsx}"
run: bunx oxlint --fix {staged_files}
stage_fixed: true
priority: 3
typecheck:
run: bun run typecheck
priority: 4
test:
run: bun run test
priority: 4
post-merge:
commands:
beads-prime:
run: |
if command -v bd >/dev/null 2>&1 && [ -d .beads ]; then
bd prime >/dev/null 2>&1 || true
fi
install-deps:
run: bun install
Without beads: Omit beads-sync, beads-prime commands.
With nix develop: Prefix commands with nix develop -c or nix develop --command:
run: nix develop -c bunx oxfmt {staged_files}run: nix develop -c bun run typecheckRun lefthook install:
[bunx/npx/pnpm] lefthook install
Add to .gitignore (if not present):
.lefthook-local.yml
Summary: List created files and note that hooks are active.
typecheck or test scripts, omit those hooks