원클릭으로
test-gap-detector
Identify which areas of a proposed change are weakly covered by tests and suggest the minimum high-value tests to add first.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Identify which areas of a proposed change are weakly covered by tests and suggest the minimum high-value tests to add first.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Optimize token usage and context window discipline. Reduce costs and improve response quality through smart context management.
Unified context lifecycle for FlowDeck sessions — ingest, filter, prune, protect, summarize, and persist with telemetry.
Predict affected files, modules, APIs, tests, and DB paths before changes. Returns an impact map for human review.
Map architecture, conventions, and file structure into `.codebase/`. Use when onboarding or before deep feature work.
Plan differently when the agent has low certainty — ask for clarification or narrow scope instead of pretending full understanding.
Protect critical context from pruning during compaction. Preserve active plans, safety files, pending operations, and user intent anchors.
| name | test-gap-detector |
| description | Identify which areas of a proposed change are weakly covered by tests and suggest the minimum high-value tests to add first. |
| origin | FlowDeck |
Activate this skill before implementing a feature or fix. Get back a ranked list of coverage gaps and the minimum viable tests to close them.
| Category | What It Means |
|---|---|
| missing test file | Source file changed but no *.test.* counterpart exists |
| untested error path | A catch, else, or error branch has no test |
| untested branch | An if/else or switch arm has no test exercising it |
| no integration test | A service-to-service or API call has no integration test |
| no regression test | A previously-failed path has no regression test guarding it |
*.test.ts, *.spec.ts, __tests__/)if, else, catch, switch statements.codebase/FAILURES.json for prior failures on these paths — flag as regression gap if no regression test exists## Test Gap Report
### Gap Summary
| File | Gap Type | Risk | Suggested Test |
|------|----------|------|----------------|
### Minimum Viable Test Set (top 5)
1. **[test name]** — [file.test.ts]
Tests: [what it validates]
```typescript
it('[test name]', async () => {
// test skeleton
})
## Guidance
- A test skeleton is always better than no test — write it even if incomplete
- Auth and payment paths with no regression test = CRITICAL GAP, block merge
- Do not add tests just to hit a coverage number — add tests for real risk paths