OpenParable
Skip to content
← Back to skills

Spk Doctrine Semantic Compression

Development
spk-doctrine-semantic-compression

Spk 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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  1. Load agent profile randy-reducer.
  2. Load paradigm semantic-compression.
  3. Map the behavioral envelope before editing.
  4. Find exact, parameterized, structural, and semantic redundancy.
  5. Extract one implementation per concept or delete proven dead weight.
  6. Consolidate competing behavioral paths behind one canonical owner.
  7. 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.