Use /clear between unrelated tasks
Clearing context between unrelated tasks prevents cross-contamination and keeps Claude focused on the current problem.
A curated knowledge base of tips, patterns, and workflows from Boris Cherny and the Claude Code community. 164+ entries, fully searchable, with attribution to every original author.
Clearing context between unrelated tasks prevents cross-contamination and keeps Claude focused on the current problem.
Explicitly allow only the tools Claude needs for a task rather than trying to block all dangerous ones. Safer and more predictable.
Put project conventions, architecture notes, and team preferences in CLAUDE.md. Claude reads it at session start without prompting.
--print) for CI pipelines
Run Claude Code non-interactively in scripts with cc --print "task". Pipe output, set exit codes, integrate with any CI system.