godmode:crs-hook-testing
Skill1 starsChanged 57 days agoMITView on GitHub
Coursers rule lifecycle pipeline. Walk a course-correct rule (or candidate rule) through the full lifecycle: author → validate → probe → fire (pre/post) → observe → refine/retire. Use when adding a new crs/coursers rule, auditing an existing one, or diagnosing a rule that is misfiring or dead.
- Installs packages
In this repository78 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- godmode:agent-governanceSkill
- godmode:agent-improvement-loopSkill
- agents-skill-saveSkill
- baml-add-typesSkill
- godmode:brainstormSkill
- godmode:capSkill
- godmode:changelogSkill
- godmode:ci-fixSkill
- godmode:code-reviewSkill
- godmode:context-mapSkill
- godmode:cross-issueSkill
- godmode:crs-discoverSkill
- godmode:crs-installSkill
- godmode:crs-ledger-applySkill
- godmode:crs-ledger-diffSkill
- godmode:crs-propose-rulesSkill
- godmode:crs-validateSkill
- godmode:dead-codeSkill
- godmode:decomposeSkill
- godmode:dep-auditSkill
- godmode:dep-bumpSkill
- godmode:designSkill
- devloop-session-primerSkill
- godmode:dialecticSkill
- godmode:doc-maintainerSkill
- godmode:doc-reviewSkill
- godmode:doc-syncSkill
- godmode:doc-writerSkill
- doob-db-inspectorSkill
- doob-release-managerSkill
- godmode:doublecheckSkill
- dual-forge-pr-mergeSkill
- gh-bulk-issuesSkill
- godmode:health-scoreSkill
- godmode:ingestSkill
- godmode:introspectionSkill
- godmode:issue-triageSkill
- godmode:memory-bankingSkill
- godmode:mergeSkill
- godmode:mini-context-graphSkill
- godmode:mistake-trackerSkill
- godmode:moaSkill
- notfiles-release-workflowSkill
- godmode:observability-as-infrastructureSkill
- godmode:parallel-agentsSkill
- godmode:pattern-learnerSkill
- planning-with-cruxSkill
- godmode:pr-authorSkill
- godmode:receiving-reviewSkill
- godmode:refactoringSkill
- godmode:release-notesSkill
- release-readiness-checkSkill
- remote-upstream-triageSkill
- repo-gap-backlogSkill
- godmode:rust-conventionsSkill
- rustqualSkill
- rustqual-workspaceSkill
- rust-release-workflow-authorSkill
- godmode:self-reflectSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Read the file named in a row before doing the task in its right column.
- Very specific: line 59
After editing crates/core or crates/coursers, the live crs/coursers binaries are NOT updated automatically.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
CRS Hook Testing — Coursers Rule Lifecycle
A structured pipeline for managing the lifecycle of a course-correct rule in
~/.config/coursers/course-correct-rules.json.
Each stage maps to one or more crs / coursers subcommands. Walk through stages in
order for a new rule. Jump to the relevant stage when debugging or refining an existing
rule.
Reference files
Read the file named in a row before doing the task in its right column. These files are not loaded automatically.
| File | Read before |
references/stages-0-1-discover-author.md | discovering candidate commands for a new rule |
references/stage-1-author.md | adding or editing a rule in course-correct-rules.json |
references/stages-2-3-validate-probe.md | running crs validate, or testing a rule against a command with crs probe or crs pre |
references/stages-4-5-fire-observe.md | firing a rule through the real pre or post hook |
references/stage-5-observe.md | checking a rule's activity with stats, heat, history, log, or export once it has been live |
references/stage-6-refine-retire.md | changing a rule based on observations, removing an obsolete rule, or checking rule health with insights and replay |
Quick Reference
| Stage | Command(s) |
| Discover | crs discover, crs suggest |
| Author | Edit ~/.config/coursers/course-correct-rules.json |
| Validate | crs validate |
| Probe | echo '<cmd>' | crs probe |
| Fire (pre) | echo '<json>' | coursers pre |
| Fire (post) | echo '<json>' | coursers post |
| Observe | crs stats, crs heat, crs history, crs log |
| Export | crs export |
| Refine | Edit rules → validate → probe → observe |
| Replay | crs replay, crs insights |
Common Pitfalls
probevspredivergence:probematches the whole command string;presplits on shell operators first. Always test withcrs prebefore trustingcrs probealone.- After editing
crates/coreorcrates/coursers, the livecrs/coursersbinaries are NOT updated automatically. Runcargo install --path crates/coursersto deploy. - The
no-find-use-globrule matchesfind .ctxin commit messages. Exceptions forgit (commit|log|tag|stash)(includinggit -Cform) suppress this. - State files: global at
~/.config/coursers/course-correct-state.json; project-local at.ctx/course-correct-state.json(wins over global).
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.

