Spk Doctrine Semantic Compression
Developmentspk-doctrine-semantic-compressionSpk Doctrine Semantic Compression is an Agent Skill for development published in the Priivacy-ai/spec-kitty repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Invoke Randy Reducer and semantic-compression doctrine for behavior-preserving code reduction.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Priivacy-ai/spec-kitty/blob/HEAD/src/doctrine/skills/spk-doctrine-semantic-compression/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/spk-doctrine-semantic-compression, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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.