extend-harness
Skill4 starsChanged 11 days agoMITView on GitHub
Extend the harness: shell rules, Claude Code mods, severity tiers, and analytics.
In this repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- agent-watchdogSkill
- aipSkill
- animateSkill
- animation-performanceSkill
- animation-vocabularySkill
- ask-benSkill
- ask-sonnerSkill
- bazelSkill
- bend-lawsSkill
- blast-radiusSkill
- brain-dumpSkill
- break-uiSkill
- ci-fixesSkill
- codebase-designSkill
- codex-compatSkill
- codexSkill
- commit-push-prSkill
- connect-querySkill
- create-verification-skillSkill
- demoSkill
- development-lifecycleSkill
- diagnosing-bugsSkill
- docsSkill
- dogfoodSkill
- domain-modelingSkill
- e2e-testingSkill
- effect-tsSkill
- effect-v3-to-v4Skill
- efficient-frontierSkill
- eli5Skill
- excalidraw-diagramSkill
- frontend-invariantsSkill
- frontend-starter-kitSkill
- full-sendSkill
- gesturesSkill
- golang-reviewSkill
- golangSkill
- goSkill
- grillingSkill
- handoffSkill
- hook-auditSkill
- implement-specSkill
- improve-animationsSkill
- improve-codebase-architectureSkill
- improveSkill
- launchdarklySkill
- lie-detectorSkill
- maintain-verification-skillSkill
- make-pr-easy-to-reviewSkill
- mobile-nativeSkill
- plan-arbiterSkill
- plow-aheadSkill
- postgresqlSkill
- primeSkill
- productSkill
- protobufSkill
- prototypeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Prefer Biome/Ultracite; hooks cover cross-element/file, workflow, agent behavior.
- Very specific: line 20
Add focused evals/ fixture.
- Very specific: line 28
Use hook_warn for style, hook_block correctness, hook_block_strict security, hook_info observation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Edit manifests/libraries, not generated configs. REFERENCE.md: severities, options, parser contracts, debugging.
Claude mods: MODS.md. Cross-runtime enforcement stays in settings hooks.
Evidence bar
Compose existing skills before adding. Justify rules with a real failure or unmet contract; prove clean -> violation -> clean.
Add rule
- Prefer Biome/Ultracite; hooks cover cross-element/file, workflow, agent behavior.
- Copy
.claude/hooks/checks/*.lib.sh: onerun_*function and thin.claude/hooks/*.shwrapper. - Register in
skill-manifest.json, usuallyPostToolUse.Edit|Write. - Add focused
evals/fixture; prove RED -> GREEN. - Regenerate and test:
bash scripts/generate-hook-configs.sh --apply
echo '{"hook_event_name":"PostToolUse","tool_name":"Edit","tool_input":{"file_path":"/tmp/x.ts"}}' | bash .claude/hooks/my-check.shUse hook_warn for style, hook_block correctness, hook_block_strict security, hook_info observation. Prefer skill-scoped hooks for one vertical.
Implementation
- Manifest objects carry permission/async filters; retain stdin guards: Codex drops Claude-only filters.
- Structure: Biome/AST; judgment: review.
- Sync toolchain bans with
hooks/frontend-skills.rules.
Audit/debug
/hook-audit --all: latency/firing/zero-fire; HOOK_DEBUG=1 HOOKS_FAIL_CLOSED=1 claude: missing hooks; claude --safe-mode: isolate customization. /doctor latency is a P95 budget failure.
Done
Manifest owns matcher; executable script sources _hook-lib.sh, parses stdin, filters paths, documents escape; fixture proves RED -> GREEN; generator --check and bash evals/run.sh pass.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

