/skills:setup-lefthookfrom skills
Configure lefthook git hooks with biome linting and type checking. Use when user says "setup lefthook", "add git hooks", "configure pre-commit", or "setup lefthook".
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
biome.json should exist)tsconfig.json should exist)First, verify prerequisites exist:
# Check for biome.json and tsconfig.json
ls biome.json tsconfig.json
bun add -d lefthook
.lefthook.yml configuration:Ask the user: "Do you want the basic configuration (just linting and type checking) or the full configuration (includes Vercel & Sanity deployment)?"
Then create the appropriate configuration:
pre-commit:
parallel: true
commands:
lint:
run: bunx biome check --write --staged --unsafe || (echo "No files to lint" && exit 0)
types:
run: bunx tsc --noEmit
pre-push:
commands:
check-types:
run: bunx tsc --noEmit
lint-ci:
run: bunx biome ci . --max-diagnostics=100 --files-ignore-unknown=true
Only use if project has Vercel and Sanity configured:
pre-commit:
parallel: true
commands:
lint:
run: bunx biome check --write --staged --unsafe || (echo "No files to lint" && exit 0)
types:
run: bunx tsc --noEmit
pre-push:
commands:
check-types:
run: bunx tsc --noEmit
lint-ci:
run: bunx biome ci . --max-diagnostics=100 --files-ignore-unknown=true
build-deploy:
interactive: true
run: vercel build --prod && vercel deploy --prebuilt --prod --archive=tgz && bunx sanity deploy
bunx lefthook install
Test the hooks:
# Test pre-commit hook
echo "// test" >> app/page.tsx
git add app/page.tsx
git commit -m "test commit"
# Should run biome check and tsc
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mattwoodco/skills --plugin skills84 skills in this plugin
/add-featureParent skill for feature and project workflows. Use when the user wants to build a project, add a feature, polish a skill, test all skills, or browse the skill catalog. Routes to add-project (build project from idea), improve-skill (refine one skill in a sandbox), test-skills (validate full skill composition), or any child skill by name.
/add-projectEnd-to-end project builder: idea → spec → shell → ralph loop → secrets → report. SMS notification after every phase. Creates a project directory with symlinked skills and a ralph execution loop. Does NOT scaffold Next.js — ralph does that as step 1.1 of the plan. Use when the user says "build project", "build a project", "new project", "create project", "build from idea", "scaffold and notify", "spec a project", "plan a project", or "scaffold project".
/