How I'm Productive with Claude Code
TL;DR Highlight
Removing PR, build, UI-check and worktree friction let one dev run agents in parallel.
Who Should Read
A full-stack developer using Claude Code whose flow keeps breaking on PR writing, rebuilds, and branch switching.
Core Mechanics
- PR writing moved to a skill
- The /git-pr skill reads the full diff and writes the commit message and PR description.
- The author says the descriptions are more thorough than his own.
- The bigger win was removing the context switch on every PR.
- SWC cut restarts to under a second
- The server build took about a minute.
- After switching to SWC, restarts took under a second.
- He can save a file and check the preview right away.
- UI verification went to the agent
- The Chrome extension kept crashing, so he switched to Claude Code's preview feature.
- A change isn't done until the agent has verified the UI itself.
- That let agents run much longer without oversight.
- Each worktree gets its own port range
- Frontend and backend each need a port, and worktrees shared env vars, so ports clashed.
- He built a system that assigns every server a unique port range per worktree.
- He went from struggling with two branches to running five worktrees at once.
- Fix one friction and the next shows up
- Easy PRs exposed rebuild waste, and fast rebuilds exposed the lack of parallelism.
- He calls this the theory of constraints.
- He says infrastructure for agents was his highest-leverage work.
Community Reactions
- Commit count is a bad metric, some said
- Commenters compared it to 1990s lines-of-code metrics and noted quality, bugs and maintenance are missing.
- Parallel work fries the brain, commenters reported
- One said worktree parallelism feels productive but fries their brain.
- Another said Claude needs several feedback rounds before a mergeable result.
- Interleaving many long tasks doesn't scale for them.
- Pushback on AI-written PR descriptions
- One said writing the PR is a final self-check.
- Others said PR descriptions exist for humans to understand intent, and AI-written ones burden reviewers.
- The author replied
- He works on one big chunk at a time, runs agents long, and sends small bugs to separate threads.
- An alternative workflow from a commenter
- Having Claude plan, then walk them through implementing by hand, reduced cognitive load.
How to Apply
- Turn a repeated git chore into a skill
- Write down your PR steps (stage, commit message, description, push, create PR).
- Save them as a md file under .claude/commands/ and use it on the next PR, then skim and fix the output.
- Add UI verification to the agent's done criteria
- Auto-assign port ranges per worktree
- Inject unique port env vars in your worktree creation script.
- Start with two worktrees and confirm previews run without conflicts.
- Measure wait time and cut the biggest bottleneck
- Time the gap from save to seeing the result.
- If it's over 10 seconds, try swapping the compiler or similar.
Try It
# Save as .claude/commands/git-pr.md in Claude Code (simplified version of the article's /git-pr idea)
Create a PR from the changes on the current branch.
1. Read git status and the full git diff.
2. Commit with a one-line message summarizing the intent.
3. Write the PR description: why (goal), what changed, how to test, risky spots for reviewers.
4. Push the branch and create the PR with gh pr create.
5. Print the PR URL at the end.
{{team rule, e.g. use plain git instead of Graphite}}Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques