ワンクリックで
shrink-framework
Validation-driven compression workflow that requires semantic comparison before approval.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Validation-driven compression workflow that requires semantic comparison before approval.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Shared protocol for review-shaped actions, authorization scope, defect routing, L2 audit handling, and local-only capture.
Use when the user asks to "test TPC-H", "check compliance", "review architecture", "run quality checks", "check binaries", "test dialect translation", "compare implementations", "run live platform tests", or "plan and execute" a benchmark feature.
Use for "commit code", "review code", "fix lint/type error", "improve performance", "compare code", "shrink code", "generate spec from code", "investigate code", "debug an error", "triage a bug", "iterate to green", or "create handoff prompt".
Use when the user asks to "create documentation", "build docs", "review docs", "compare documents", "compress docs", "adversarial review docs", or "commit docs".
Use when the user asks to "sync skills", "set up skill-sync", "check skill status", "validate skills", "preview skill changes", "diagnose skills", "pin a skill", "unpin a skill", "prune skills", or "promote skill changes".
Use when the user asks to "run tests", "create tests", "fix failing test", "add test coverage", "fix slow tests", or "commit test changes".
| name | shrink-framework |
| description | Validation-driven compression workflow that requires semantic comparison before approval. |
Compress without changing behavior, public interfaces, or safety rules.
Application source, agent-facing docs, config files. Do not shrink tests, generated files, vendored code, migrations, changelogs, or READMEs unless explicitly requested.
Public API/interface, type contracts, side effects, error handling, dependencies, commands, paths, thresholds, safety rules, TODO/FIXME/why-comments, frontmatter required by skills or slash commands.
Repeated examples, duplicate boilerplate, verbose report templates, comments that restate code, impossible defensive branches, and reference prose already covered by shared protocols.
| Result | Action |
|---|---|
| Score >= threshold and checks pass | Replace original |
| Score >= threshold and checks fail | Fix or revert |
| Score < threshold and attempts remain | Restore missing semantics and retry |
| Score remains low | Report best version and ask |
State original size, new size, reduction, score, removed/simplified areas, checks run, and residual risk.