Packwerk is a tool developed by Shopify to enforce boundaries and modularize Rails applications. It helps decouple code and organize it into well-defined packages. However, it has weaknesses and blind spots, such as difficulty in defining packages correctly and resolving violations, and limited tracking of dynamically generated

13m read timeFrom shopify.engineering
Post cover image
Table of contents
Origins of PackwerkA Package with Zero ViolationsDomain versus Function in PackagesPackwerk is a Sharp Knife

Sort: