Drop-in power kit for Claude Code — tuned for Claude Fable 5. Copy one folder, get a sharper AI pair-programmer every day.
| Path | What it does |
|---|---|
templates/CLAUDE.md |
Battle-tested project instructions template — copy to your repo root |
hooks/auto-format.sh |
Auto-formats files after every Claude edit (prettier / black / gofmt / rustfmt) |
hooks/protect-secrets.sh |
Blocks Claude from reading .env / key files |
skills/commit-msg/SKILL.md |
/commit-msg — writes conventional commits from your staged diff |
FABLE5-CHEATSHEET.md |
How to actually get the most out of Fable 5, daily |
git clone https://github.com/thanvish21/fable-kit
cd your-project
# 1. Project instructions
cp ../fable-kit/templates/CLAUDE.md .
# 2. Hooks (auto-format + secret protection)
mkdir -p .claude/hooks
cp ../fable-kit/hooks/*.sh .claude/hooks/
chmod +x .claude/hooks/*.shThen wire the hooks in .claude/settings.json:
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [{ "type": "command", "command": ".claude/hooks/auto-format.sh" }]
}
],
"PreToolUse": [
{
"matcher": "Read",
"hooks": [{ "type": "command", "command": ".claude/hooks/protect-secrets.sh" }]
}
]
}
}Skill install:
mkdir -p ~/.claude/skills
cp -r ../fable-kit/skills/commit-msg ~/.claude/skills/Now /commit-msg works in every session.
claudein your repo — CLAUDE.md loads automatically.- Describe the task in one clear sentence. Fable 5 plans before it edits.
- Stage changes, run
/commit-msg. - Hooks keep formatting and secrets handled without thinking about it.
See FABLE5-CHEATSHEET.md for the full playbook.
MIT