04Topic 4 of 15

Workflows

Reviewing PRs, working across a whole codebase, giving an agent the right context.

6 plates · 21 min to read them all


  1. 04.01 Let Claude Code Work on a Whole Repo Safely Branch, plan, deny the destructive commands, review in small chunks. Auto mode now starts on by default, so don't assume Claude will stop and ask. 4 min
  2. 04.02 Give an AI Coding Agent the Right Context CLAUDE.md, AGENTS.md and .cursor/rules: four habits that fix most bad AI code — a rules file, @file references, one example, a clean context. 3 min
  3. 04.03 How to Review a Pull Request with Claude Code Run /code-review (alias /review) on a diff, or check out a PR with gh. Ask for correctness over style, then have Claude apply only the fixes you accept. 3 min
  4. 04.04 How to Set Up the Claude Code GitHub Action Install the Claude GitHub App, add one secret, and drop in a workflow so @claude answers in your issues and PRs. Copy-paste. 4 min
  5. 04.05 How to Run Claude Code Headless in a Script or CI Run Claude Code non-interactively with claude -p, get JSON back, pre-approve tools, and wire it into a CI job. Copy-paste. 4 min
  6. 04.06 Run Parallel Claude Code Sessions with Git Worktrees Start a second Claude Code session in its own git worktree with `claude --worktree`, keep .env files in it, and clean up when you're done. Copy-paste. 3 min

Keep going

Other topics

All 105 plates →
  1. 01 Install & set up 5
  2. 02 First steps 4
  3. 03 Claude Code commands 9
  4. 05 MCP 8
  5. 06 Claude 2
  6. 07 ChatGPT 6
  7. 08 Cursor 3
  8. 09 Local LLMs 12
  9. 10 Prompting 8
  10. 11 Choosing tools 5
  11. 12 AI images 7
  12. 13 Everyday tasks 7
  13. 14 Other coding agents 5
  14. 15 Building with the API 18

↑↓ move↵ openalt+↵ copy first command

Keyboard

⌘/ctrl+K or /
Search all guides
alt+↵
In search: copy the guide's first command
j / k
Move through a list of guides
c
On a guide: copy its first command
t
Toggle light / dark
?
This list