How to structure a project and place code correctly — the layered spine, inward dependency direction, module boundaries, file/function size limits, where new code belongs, and how to declare scope boundaries. Use this whenever designing a project's structure, creating a new module, deciding where a piece of code goes, or reviewing whether files have grown too large or coupled.