u/EntireLead6141

I’ve been building a side project called rgenex after running into the same issue across multiple React codebases:

The actual business logic/code is usually fine… but teams still lose a lot of time dealing with inconsistent structure.

Different folder layouts, different naming styles, missing test files, repeated PR comments about where things should live, etc.

So I built a CLI where you define your project structure/rules in config, and it generates components/hooks/pages based on that setup.

Kind of trying to make architecture conventions enforceable instead of just “documented.”

I shared an early version recently and got useful feedback that the DX needed improvement, so I shipped an update with things like:

  • dry-run preview before generating
  • overwrite confirmation prompts
  • force overwrite support
  • generator listing
  • cleaner CLI output overall

Still figuring out if this is solving a problem others actually care enough about.

Curious from people working in React teams:

Would you use something like this in a real project?

If not, what would stop you?

GitHub link in comments if anyone wants to take a look.

reddit.com
u/EntireLead6141 — 12 days ago