What problem does it solve?
Bounded contexts in domain-driven design architectures rely on strict language isolation to maintain low coupling, but hidden linguistic leakage (via string literals, event subscriptions, or incorrect API calls) often goes undetected by standard architectural dependency tools, leading to fragile, hard-to-refactor systems.
Core Features & Use Cases
- Cross-module boundary auditing: Analyze relationships between 2+ modules (or all modules) to detect language leaking across context boundaries.
- Single-module PR validation: Check new concepts added in a single-module pull request to ensure they fit the module's linguistic space and don't break existing generalizations.
- Type-specific fix proposals: Provide tailored solutions for each violation type, including behavior generalization for string leaks, anti-corruption layer translation for event leaks, and dependency direction correction for API call leaks.
- Use Case: A team preparing a cross-service refactor can run this skill to catch hidden language dependencies between their order management and invoicing modules before making changes.
Quick Start
Invoke the linguistic-boundary-verifier skill with the list of modules you want to audit for linguistic boundary violations to receive a detailed report of leaks and proposed fixes.