spk-doctrine-semantic-compression
Use this skill when the user asks to reduce, simplify, deduplicate, delete dead code, or refactor while preserving existing behavior.
Flow
- Load agent profile
randy-reducer. - Load paradigm
semantic-compression. - Map the behavioral envelope before editing.
- Find exact, parameterized, structural, and semantic redundancy.
- Extract one implementation per concept or delete proven dead weight.
- Consolidate competing behavioral paths behind one canonical owner.
- Verify equivalence and report evidence plus residual risk.
Stop Conditions
- Protected behavior is unknown.
- Verification evidence is unavailable for non-trivial deletion.
- The request is actually feature expansion, not reduction.