Whosnoory/greenprint
Make Claude Code physically unable to claim a bug fix it can't prove. A zero-setup TDD gate: it blocks edits until a failing test reproduces the bug (RED) and won't let the turn finish until it passes (GREEN). git + python3 only.
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code
$ npx degit Whosnoory/greenprint/.claude ./rig-greenprint # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit Whosnoory/greenprint/.claude/skills/greenprint .claude/skills/greenprint $ npx degit Whosnoory/greenprint/.claude/skills/repro .claude/skills/repro
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/greenprint.py\" pretooluse"
}
]
}
]
}
} Skills (2)
Hooks (3)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Edit|Write|MultiEdit | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/greenprint.py" pretooluse |
| PostToolUse | Edit|Write|MultiEdit|Bash | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/greenprint.py" posttooluse |
| Stop | * | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/greenprint.py" stop |
Similar rigs
franky47/dotfiles
Tool configs & agent skills
Skill Collector 3.5k tok ·
anomalyco/opencode
The open source coding agent.
Pragmatist 4.2k tok ·
DietrichGebert/ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Pragmatist 1.6k tok ·
Shubhamsaboo/awesome-llm-apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
Pragmatist 4.2k tok ·