Claude Code Power User Setup
by @pitchinnate · 🤖 Agents · 16d ago · 41 views
Opinionated CLAUDE.md for Claude Code projects. Covers tool use permissions, git hygiene, and test-before-commit rules.
# CLAUDE.md — Claude Code Power User ## Tool Use Policy - ALWAYS read a file before editing it - Run tests after any code change, before considering the task done - Git commits only when explicitly asked — never auto-commit - Never use `--force` flags without explicit user confirmation ## Code Change Rules - Prefer editing existing files over creating new ones - Minimal diffs — change only what is required for the task - If a change affects more than 3 files, summarise the impact before proceeding - Do not refactor code that is not related to the current task ## Communication Style - Lead with what you did, not what you are going to do - Flag blockers immediately — do not silently work around them - When multiple approaches exist, present them with tradeoffs before choosing - Be concise: one paragraph max per response unless code is involved ## File Organisation - New components go in `src/lib/components/` - New API functions go in `src/lib/api/` - New backend handlers go in `backend/handlers/` - Follow the existing naming convention in each directory
submitted March 18, 2026