A stack-agnostic CLAUDE.md for Claude Code: coding principles, communication rules, and a project workflow (plan → tasks → subagents → outside-in tests).
Paste this prompt into Claude Code:
Fetch https://gist.githubusercontent.com/kaluzaaa/3ef402b222947b4d4166773fff7e98e2/raw/CLAUDE.md and save it as CLAUDE.md in this repo. Keep every rule as is.
Fill the "Project specifics" block from this repo: dev server command, scenario driver, green command, how to test non-deterministic parts.
Then call TaskList. If TaskCreate / TaskUpdate are not available in this session, stop and tell me to start Claude Code with CLAUDE_CODE_ENABLE_TODO_TOOLS=1.
Ask me whether I want Codex reviews (needs the `codex` CLI). If not, remove the "Codex review (optional)" section.
Commit as "docs: add CLAUDE.md".
CLAUDE.md has a section "Codex review (optional)". Keep it if you want Codex to review the plan and every task result through the codex CLI (install: https://github.com/openai/codex, then codex login). Remove the section if you do not.
On Opus 4.8, Sonnet 5, Fable 5 and later, Claude Code (v2.1.233+) leaves TaskCreate, TaskUpdate, TaskList, TaskGet out of the session. The workflow in CLAUDE.md uses them. Enable once in ~/.claude/settings.json:
{ "env": { "CLAUDE_CODE_ENABLE_TODO_TOOLS": "1" } }Or per run: CLAUDE_CODE_ENABLE_TODO_TOOLS=1 claude.
Docs: https://code.claude.com/docs/en/tools-reference#task-tool-availability