Skip to main content

prompt-compaction-safe

Compact an LLM prompt (markdown file in `**/prompts/**` or equivalent) by 10-50% without breaking the test-anchored contract that pins its content. Trigger when the user asks to "compact", "shrink", "trim", "shorten", "tighten", or "compress" a prompt file, AND the prompt is guarded by a contract test file (a `test_*setting_agnostic*.py` / `test_*contract*.py` / `test_<prompt_name>*.py` that pins regex anchors, verbatim strings, table rows, section headers, or forbidden-entity lists). Use when the LLM prompt is the runtime contract for an agent (StoryModeAgent, GodModeAgent, etc.) and "smaller" must NOT mean "weaker". For LLM behavior fixes ("AI keeps doing X") use `wa-prompt-editorial-fix` instead. For code compaction / dead-code removal use `simplify-code` instead.

설치로 이동

소스 정보

저장소
jleechanorg/claude-commands
최근 소스 활동
2026년 8월 2일 01:06
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.