What problem does it solve?
This Skill solves the problem of uncontrolled cross-module coupling by helping you define module boundaries that protect business capability ownership, enforce dependency direction, prevent circular dependencies, and require explicit public contracts.
Core Features & Use Cases
- Business-capability boundaries: Organize modules by ownership of bounded contexts, not by technical folders.
- Contract-only cross-boundary imports: Require that any dependency between modules goes through the target module’s public API (e.g.,
api/, explicit barrel exports, __all__), not internal types or persistence details.
- Circular dependency prevention: Treat cycles as structural violations that must be caught by automated tooling during CI.
- Shared-code discipline: Keep
shared/ or common/ as pure technical utilities; escalate when business logic starts leaking into shared modules.
- Ownership and enforcement: Ensure each boundary has a named owner (e.g., CODEOWNERS) and that dependency rules are enforced by tools rather than convention.
Quick Start
Ask the agent to design your module boundary rules and import contracts for a proposed change that risks circular dependencies or cross-capability coupling, then produce an allowed/forbidden dependency map plus CI enforcement snippets.