logoalt Hacker News

r1290today at 1:59 AM3 repliesview on HN

Looks good. Question - is it always better to use a monorepo in this new AI world? Vs breaking your app into separate repos? At my company we have like 6 repos all separate nextjs apps for the same user base. Trying to consolidate to one as it should make life easier overall.


Replies

throwup238today at 2:15 AM

It really depends but there’s nothing stopping you from just creating a separate folder with the cloned repositories (or worktrees) that you need and having a root CLAUDE.md file that explains the directory structure and referencing the individual repo CLAUDE.md files.

oa335today at 2:11 AM

Just put all the repos in all in one directory yourself. In my experience that works pretty well.

chickensongtoday at 2:23 AM

AI is happy to work with any directory you tell it to. Agent files can be applied anywhere.