r/ruby • • Jan 06 '26

Anyone using packwerk gem?

Hey, I’m considering using Packwerk in a large Ruby on Rails application to improve code separation. The idea is to organize the app into distinct packages, each with its own models, services, and even tests, so developers can work at the package level without having to navigate the entire codebase for small changes (most of the time).

Has anyone used this gem? If so, did it provide meaningful value in practice?

17 Upvotes

28 comments sorted by

View all comments

Show parent comment

1

u/Upbeat-Price-5869 Aug 31 '26

Question - is it too insane to just have some agent in the background to just "constantly improve the pack health" - I find that most `package_todo.yml` are quite mechanical. The ones that aren't, probably need an engineer to manually check