TLDR: refactoring my codebase feature wise and wsnt to make sure this time it doesn't spiral out like the slop we did with claude in the last 6 months.
Stack: TS Express Prisma and Psql
So, I work as an SDE1 at a startup. Honestly, things got super messy around here because our managers just kept pushing for new features every single day. I finally decided I had to stretch out this project timeline. I am using this extra time to completely clean up my code and move it to a way more maintainable structure. I am ditching our messy, sort-of layered architecture and switching over to a vertical slicing setup. I am also adding clear readme files for every single module, putting up Pino for proper logging, and setting up the actual test suites we need.
This is what I want to ask the community, how can I make sure this migration hits all the right software development best practices? I really want to set things up so that Claude does not mess up my codebase ever again.…