/deep-work:deep-mutation-testfrom deep-work
Runs mutation testing on changed files to verify AI-generated test quality, with an auto-fix loop that returns to Implement phase for survived mutants.
Ships in deep-work. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
| 인자 | 의미 |
|---|---|
| (없음) | git diff 기반 changed files (세션 baseline 또는 HEAD~5..HEAD fallback) |
--full | 전체 프로젝트 (expensive) |
--files <path> | 특정 파일/디렉터리 명시 |
빈 args / 매칭되지 않는 토큰 → 본문의 default 분기로 진입.
Mutation testing for AI-generated test quality verification. Primarily used in Phase 4 (Test) but can be run manually.
/deep-mutation-test # Test changed files (git diff based)
/deep-mutation-test --full # Test entire project (expensive)
/deep-mutation-test --files src/auth # Test specific files/directories
Primary source: git diff --name-only <baseline>..HEAD where baseline is the session's starting commit.
Fallback: If no session, use git diff --name-only HEAD~5..HEAD (last 5 commits).
Override: --files flag specifies exact scope.
Filter files by detected ecosystem's file_extensions.
Read sensor detection cache. If mutation tool is not_installed:
Run mutation tool with budget constraints from registry.json:
timeout: max seconds per round (default 300)max_mutants: cap mutant count (default 200)node "${CLAUDE_PLUGIN_ROOT}/sensors/run-sensors.js" "<mutation_cmd>" "<parser>" "mutation" "advisory" <timeout>
Parse mutation report:
IMPORTANT: Follow existing deep-test pattern — Test phase does NOT allow code modifications.
For each round (max 3):
current_phase: implement in session state[MUTATION_SURVIVED] N mutants survived (Score: X%)
Transitioning to Implement phase for test improvement.
MUTANT 1: file:line
Mutation: MutatorName — changed `original` to `replacement`
Impact: What this means for behavior
ACTION: Specific test to add
current_phase: testAfter 3 rounds or all killable mutants eliminated:
Add to session receipt:
{
"mutation_testing": {
"tool": "<tool>",
"status": "completed",
"total_mutants": 45,
"killed": 39,
"survived": 4,
"equivalent": 2,
"score": 90.7,
"auto_fix_rounds": 2,
"auto_fixed_mutants": 3,
"remaining_survived": []
}
}
If mutation tool is not installed, record in receipt:
{ "mutation_testing": { "status": "not_applicable", "reason": "tool not installed" } }
Quality Score treats this as excluded from denominator (no penalty).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mutation-testing, test-quality, auto-fix, ai-testing, test-verification
27 skills in this plugin
/deep-assumptionsAssumption health report — per-assumption Wilson Score confidence, verdict (justified / loosen / drop), model-aware split, decay history. Triggers on `/deep-assumptions`, `/deep-status --assumptions`, "assumption health", "rule justification", "loosen enforcement", "어썸션 헬스", "규칙 정당화", "가정 검증". Sub-page of the deep-status hub./deep-brainstormUse when clarifying the goal, boundaries and approach for a deep-work task./deep-cleanupScan and clean up stale deep-work git worktrees (`dw/*` branches) plus fork worktrees, and prune idle fork sessions from the registry. Triggers on `/deep-cleanup`, "clean worktrees", "stale worktree", "worktree 정리", "fork 정리", "deep-work 정리"./deep-debugDebug sub-mode for Phase 3 — Investigate → Analyze → Hypothesize → Implement, with the iron rule that no fix ships before root-cause investigation. Triggers on `/deep-debug`, "systematic debug", "root cause investigation", "디버그 모드", "근본 원인 분석", `verification_cmd` 실패 시 자동 진입, or "fix this"./deep-finishUse when finishing an authorized deep-work session with keep, PR, merge or discard and a durable receipt./deep-forkCreate an isolated deep-work branch for a parallel slice, alternative experiment, independent review, recovery, or security isolation. Same-goal context continuation is not a fork reason.deep-work@claude-deep-suite is listed by sungmin-cho/deep-suite — review the source before installing
npx claudepluginhub sungmin-cho/deep-suite --plugin deep-workOther plugins' skills for the same job