Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fable-kit ⚡

Drop-in power kit for Claude Code — tuned for Claude Fable 5. Copy one folder, get a sharper AI pair-programmer every day.

What's inside

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

Quick start

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/*.sh

Then 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.

Daily loop

  1. claude in your repo — CLAUDE.md loads automatically.
  2. Describe the task in one clear sentence. Fable 5 plans before it edits.
  3. Stage changes, run /commit-msg.
  4. Hooks keep formatting and secrets handled without thinking about it.

See FABLE5-CHEATSHEET.md for the full playbook.

License

MIT

About

Drop-in Claude Code power kit for Fable 5 — CLAUDE.md template, hooks, skills, cheatsheet

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages