What problem does it solve?
This Skill stops duplicated logic, scattered constants, and parallel implementations from drifting into bugs by making one source of truth the only place that owns shared behavior.
Core Features & Use Cases
- Duplicate Responsibility Detection: Finds repeated rules, calculations, routes, parsers, and policy decisions before they are copied into new places.
- Single Owner Consolidation: Moves shared behavior into the natural owner module and routes callers through that central contract.
- Drift Prevention: Helps teams avoid mismatched thresholds, stale defaults, and conflicting fallback logic across server, UI, and service layers.
- Use Case: A pricing threshold is hardcoded in checkout and also shown in the UI; this Skill consolidates the threshold into one shared module and updates both paths to read from it.
Quick Start
Use the ssot-enforcer skill to find duplicated behavior in the codebase, move it behind one shared owner, and verify that all call sites now use the same source of truth.