AI Codebase Deep Modules Turn “a web of shallow, cross-importing files” into a codebase that is easy for AI (and humans) to navigate, change, and test . This skill is built around four ideas: 1. The codebase matters more than the prompt. AI struggles when feedback is slow, structure is unclear, and dependencies are tangled. 2. Match the filesystem to the mental model. Group code the way you think about it (features/domains/services), not as a grab-bag of utilities. 3. Prefer deep modules. Lots of implementation behind a small, well-designed public interface. 4. Treat deep modules as greyboxes…