Dependency Fence

Declare which module may depend on which and how the flow runs - a tight machine-checkable fence spec of layered direction, a checker run at the end that goes red on any outward edge, and exactly three sanctioned repairs when it does (invert the dependency, insert an interface, split the module in half). Reach for it when locking a codebase's dependency direction before agents build, or on trigger phrases like 'enforce clean architecture layers', 'which module may depend on which', 'the imports flow the wrong way'. Differentiator - it owns layering DIRECTION only, as a named extension of deep-modules' dependency-cruiser lane, and ships the Clean Architecture inward-only Dependency Rule as its flagship preset.

Island-Dev-Crew 341816e 6 files · 13.6 KB Updated

File contents

Island-Dev-Crew/uncle-bob-skills/tree/main/skills/dependency-fence commit 341816ece1

Frequently asked questions

npx skillmds@latest add island-dev-crew/dependency-fence