Skip to content
Development
Skill

/spk-doctrine-semantic-compression

Invoke Randy Reducer and semantic-compression doctrine for behavior-preserving code reduction.

From plugin
spec-kitty
1.5k53 skills1 command
Install
$ npx -y skills add Priivacy-ai/spec-kitty --skill spk-doctrine-semantic-compression --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/spk-doctrine-semantic-compression

Context preview

The summary Claude sees to decide when to auto-load this skill.

Invoke Randy Reducer and semantic-compression doctrine for behavior-preserving code reduction.

SKILL.md

spk-doctrine-semantic-compression.SKILL.md
name: spk-doctrine-semantic-compression
description: "Invoke Randy Reducer and semantic-compression doctrine for behavior-preserving code reduction."

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.
Ships withspec-kitty

Spec-Driven Development for serious software developers. Spec Coding with with Claude, Cursor, Gemini, Codex. Kanban dashboard, git worktrees, auto-merge and more.

Get the whole plugin

Other skills on spec-kitty.