Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill chunk-testing-gaps명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | chunk-testing-gaps |
| description | >- Use when this capability is needed. |
Perform mutation testing on the current codebase to find gaps in test coverage.
Perform mutation testing on this codebase. A mutation is a small, deliberate change to production code that mimics a realistic bug a human might introduce. A mutant is the resulting modified codebase. If the test suite catches the bug (tests fail), the mutant is killed. If tests still pass, the mutant survives — exposing a gap in test coverage.
The objective is to find as many surviving mutants as possible, prioritised by risk.
This prompt expects to be run in the context of a local clone of a VCS project. If that is not the case, stop and explain why you cannot proceed.
Before any testing, ensure local dependencies are running (docker compose up -d or equivalent). On compose failure, check whether containers from another project are occupying ports and kill them.
== ↔ !=, < ↔ <=), removed or inverted if branches, swapped switch/case fall-throughs, early returns removed or addedFocus mutations where test coverage is likely weakest. Look for these patterns:
Investigate the codebase and identify candidate mutations. Use subagents to parallelise discovery across packages, modules, or directories — one subagent per logical area.
Each mutation must be assigned a unique sequential number (e.g. MUT-001, MUT-002, ...).
Target density: aim for roughly 1 mutation per 50 lines of production code (e.g. ~1000 mutations for a 50k LOC codebase). This is a guideline, not a hard rule — dense areas may yield more, sparse areas fewer.
Time cap: if no new viable mutation has been identified for 3 minutes, stop discovery and proceed with what you have.
For each candidate, record:
For each candidate mutation:
chunk/mut-<NUMBER>-<short-kebab-description> (e.g. chunk/mut-042-remove-auth-check)../do, Taskfile, or whatever is configured). If the project has no local tooling, check CI config for what tools are used and attempt to run them locally. Do not install missing tools without prompting.-race -timeout 1m). If tests take longer than 1 minute, consider the mutation viable and move on.Batching: push surviving branches in batches (e.g. 10–20 at a time) rather than sequentially. Poll for CI results across the batch before pushing the next.
Cleanup: after a mutant is killed (locally or in CI), remove the worktree promptly to avoid disk/git overhead.
Once all CI pipelines have completed, produce a summary table:
| # | Mutation | File | Line | Branch Link | Status |
|---|---|---|---|---|---|
| MUT-001 | Inverted auth check | pkg/auth/verify.go | 42 | chunk/mut-001-invert-auth | Survivor |
| MUT-002 | Removed nil guard | pkg/api/handler.go | 118 | chunk/mut-002-rm-nil-guard | Killed (CI) |
Include links to the branch in the VCS for each mutation.
Attempt to determine whether the surviving mutants' code paths are exercised in production. Use any available observability tooling — Honeycomb, Datadog, or other connected MCP servers or CLIs.
Concrete approaches:
If no observability access is available, note this and skip to Stage 4.
Update the summary table with a Production Traffic column indicating: High (clear evidence of regular traffic), Low (occasional or indirect traffic), None found (no evidence), or Unknown (no observability access).
For each survivor, assess overall risk based on:
Assign a risk level: Critical, High, Medium, or Low.
Present the final summary table sorted by risk (highest first):
| # | Mutation | File | Line | Branch | Production Traffic | Risk | Rationale |
|---|---|---|---|---|---|---|---|
| MUT-001 | Inverted auth check | pkg/auth/verify.go | 42 | [link] | High | Critical | Auth bypass on a hot path, no test coverage |
| MUT-017 | Hardcoded timeout to 0 | pkg/worker/poll.go | 89 | [link] | Low | Medium | Would cause tight loop but only in batch worker |
Source: CircleCI-Public/chunk-cli — distributed by TomeVault.