Help us improve
Share bugs, ideas, or general feedback.
From claude-code-hero
Guides creation of .claude/CLAUDE.md with '## Hero's Decree' section for personal instructions Claude follows in every session.
npx claudepluginhub kylesnowschwartz/claude-code-hero --plugin claude-code-heroHow this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-hero:level-2-the-tomeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create or update `.claude/CLAUDE.md` with a `## Hero's Decree` section containing at least three real instructions you want Claude to follow in every session.
CLAUDE.md instruction quality: writing effective project instructions, diagnosing why Claude ignores rules, routing content to the right layer, and systematic improvement. Invoke whenever task involves any interaction with CLAUDE.md files — writing, reviewing, auditing, improving, or debugging instruction compliance.
Creates and improves CLAUDE.md files for project memory and agent configuration using TDD workflow with task tracking. Activates on 'create CLAUDE.md', 'setup project', 'configure agent'.
Audits and restructures CLAUDE.md files to reduce token bloat and improve Claude compliance. Targets 2,500–3,500 tokens with a hard 5,000 limit.
Share bugs, ideas, or general feedback.
Create or update .claude/CLAUDE.md with a ## Hero's Decree section containing at least three real instructions you want Claude to follow in every session.
CLAUDE.md is the single most important file in your Claude Code setup. Claude reads it at the start of every session -- before your first message, before any tool runs, before anything else happens. The instructions you write here shape every interaction. One file, permanent influence.
Behind a case you overlooked the first time, you find an empty tome. Its pages are blank, but the binding hums with potential. An inscription on the cover reads: What is written here governs all that follows.
This is your CLAUDE.md -- and it's your character sheet.
Every hero has one. Class. Abilities. Fighting style. Values. The sheet defines who you are and how you operate. Without it, you're a generic adventurer. With it, every ally who fights alongside you knows your strengths, your preferences, and your code.
Your task: fill in the sheet.
Create .claude/CLAUDE.md (or open it if it already exists) and add a section with this exact heading:
## Hero's Decree
Under that heading, write at least three directives that define how you operate. These should be real preferences -- the things that make you you as a developer:
Write what you mean. Claude will follow it. A few lines that matter are worth more than a page of filler. But don't hold back if you have strong opinions -- the tome has room.
Before you verify, test your character sheet. Type /exit to end this session, then run claude to start a fresh one. Ask Claude about one of your preferences -- coding style, communication, whatever you wrote. It should follow your instructions. That's the CLAUDE.md working. Then run claude --continue to pick up where you left off here.
The file goes at .claude/CLAUDE.md. Plain Markdown. No special syntax required -- just write what you want Claude to do. The heading must be exactly ## Hero's Decree (the verifier checks for it).
Think about what frustrates you in AI interactions. Do you hate over-explanation? Say so. Do you want Claude to always run tests before committing? Write it down. The best character sheets are opinionated.
Here's a minimal example to get you started:
# My Instructions
## Hero's Decree
- Use TypeScript with strict mode for all new files
- Keep responses concise -- no preamble, no summaries unless asked
- Always run `npm test` after making changes to source files
Your version should reflect your actual preferences, not this example.
When you're ready, run /verify to check your work.
.claude/CLAUDE.mdtest -f .claude/CLAUDE.md && echo "exists" || echo "missing"grep -q "Hero's Decree" .claude/CLAUDE.md && echo "found" || echo "missing"## Hero's Decree section (exact heading text)Your character sheet is filed. Every session, Claude reads your decree first -- it knows your class, your style, your code.
But a hero who must speak every command aloud wastes their breath. What if you could inscribe reusable spells -- single words that invoke entire sequences?