Claude Code Reference
v2.1.178 · 87 auto-discovered · Commands, shortcuts, hooks, Python/AWS tips.
Power Tips
Start with --permission-mode plan. Review the plan, then switch to acceptEdits to execute. Safer for big changes.
Use claude -w feature-name to work on multiple branches simultaneously without conflicts.
If you have been chatting for a while, run /compact before starting a new big task. Frees context.
Include 'ultrathink' in your prompt to get maximum reasoning depth on complex debugging.
Use @filename.py in your prompt to reference files without pasting. Claude reads them automatically.
Pipe files, diffs, or logs into claude -p for automated analysis in CI/CD.
git diff main | claude -p "review this diff for security issues"Use /batch for changes spanning 5-30 files. Creates isolated worktree agents that work in parallel.
Create .claude/skills/<name>/SKILL.md for repeatable workflows (deploy, test, review). Claude follows them exactly.
Add a PostToolUse hook on Edit|Write to auto-run your formatter (prettier, black, ruff) after every file change.
Use /loop 5m 'check test status' to poll a long-running CI build without babysitting.