Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Great article! I have similar observations and techniques and Claude Code is exceptionally good - most of the days I'm working on multiple things at once (thanks to git worktrees) and each going faster than ever - that's really crazy.

For the "sub agents"thing, I must admit, that Claude Code calling o3 via sigoden/aichat saved me countless of times!

There are just issues that o3 excells at (race conditions, bug hunting - anything that requires lot of context and really high reasoning abilities).

But I'm using it less since Opus 4 came out. And of course its none of the sub-agent thing at all.

I use this prompt @included in the main CLAUDE.md: https://github.com/pgflow-dev/pgflow/blob/main/.claude/advan...

sigoden/aichat: https://github.com/sigoden/aichat



wait what? how do you work on multiple things at once with git worktrees?


git worktree uses one repo to laid out multiple branches in separate directories.

git worktree add new/path/for/worktree branchname

I now refuse to use git checkout to switch branches, always keep my main branch checked out and updated and always use worktrees to work on features. Love this workflow!


I never had any reason to use it before claude code et al. So I also wasn’t aware

Commands for working with copies of your entire repo in a new folder on a new branch

https://git-scm.com/docs/git-worktree


This is amazing, I had no idea about this, I have been cloning my repo locally for years.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: