/vibe-engineering:vibe-gap-closure-loopfrom vibe-engineering
Closes large backlogs of findings (gap analyses, audits, 10+ bugs) in prioritized waves. Loops through triage, dependency analysis, parallel fix streams, test gate, and re-audit until target is met.
Ships in vibe-engineering. 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.
When you have 50 findings, don't fix them in random order. Triage them into priority waves, fix each wave in parallel streams where dependencies allow, and don't start the next wave until tests pass.
vibe-gap-analysis produced a gap reportvibe-spec-sync audit that produced 10+ findingsvibe-research-before-design first)/vibe-gap-closure-loop [dimensions] [--target N] [--gap-file PATH]
dimensions: Which gap-analysis dimensions to close (default: all with open findings)--target: Target score per dimension (default: 95)--gap-file: Path to the findings (default: latest docs/plans/gap-analysis-*.md, or ask)Follow the harness's permission mode. Under an autonomous or auto-approve mode, run the loop without stopping between phases. Otherwise, confirm the wave plan once before Step 3, then continue. Always stop and ask before destructive operations (migrations on real data, force-pushes, deleting files outside the findings' scope).
Assign every finding a priority:
Wave 0 = all P0, Wave 1 = P1, and so on. Don't start wave N+1 until wave N passes the test gate.
Within the current wave, build a dependency graph:
Group into parallel streams (use vibe-parallel-task-decomposition for large waves):
If the harness supports subagents, dispatch one per stream in parallel, ideally in isolated worktrees. Otherwise, run the streams sequentially yourself. Let the subagents inherit the session's model unless the user specified one.
Stream prompt:
You are closing findings for [project].
Stream: [name]
Findings: [IDs with full descriptions]
For each finding:
1. Read the relevant source files
2. Implement the fix described
3. Add or adjust a test that fails before the fix and passes after
4. Run the project's test command
Commit with: fix([area]): close [finding IDs]
Do NOT commit if tests fail. Do NOT weaken or delete existing tests to make them pass.
Return: findings closed, findings not closed (with reason), commit hashes.
After all streams return:
vibe-cherry-pick-integration if they were isolated)Write docs/plans/closure/iteration-N-summary.md: streams, findings closed, commit hashes, cumulative progress, remaining open findings, and test results.
vibe-gap-analysis --dim N) or re-check the findings listFindings: X total · Closed: Y · Deferred: Z · Escalated: W
| Wave | Priority | Findings | Status |
|---|---|---|---|
| 0 | P0 | 3 | Complete |
| 1 | P1 | 12 | In progress (8/12) |
| 2 | P2 | 25 | Pending |
| 3 | P3 | 10 | Deferred to backlog |
| Stream | Findings | Commits | Tests after |
|---|---|---|---|
| Security | C-1, C-2, H-1 | abc123 | PASS |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
gap-closure, bug-backlog, tech-debt, fix-loop, prioritization
33 skills in this plugin
/vibe-acceptance-gateValidates completed work against defined acceptance criteria. Use after completing a task that has specific success criteria defined in issues, specs, or task descriptions./vibe-adversarial-test-generationGenerates edge case, failure mode, and spec-driven test cases. Covers boundary values, nil inputs, concurrency, resource exhaustion, malformed data, and requirement-linked traceability tests. Use after happy-path tests exist and before claiming coverage is complete, when requirements lack tests, or before a security review./vibe-anti-rationalization-checkCatches shortcuts and reward hacking — weakening or deleting tests to make them pass, hard-coding expected outputs, silently dropping requirements, or claiming work is done without running it. Use before declaring a task complete and whenever a test or requirement feels like it's in the way./vibe-cherry-pick-integrationSafely integrates commits from parallel agent branches using sequential cherry-pick. Use after parallel work completes in isolated branches or worktrees./vibe-concurrent-test-safetyAudits tests for concurrency safety — race conditions, shared mock state, cleanup ordering. Use when writing tests that involve goroutines, async operations, or shared mutable state./vibe-coverage-enforcerEnforces tiered test coverage standards with three dimensions — line coverage by tier, spec-to-test traceability, and spec-to-code implementation mapping. Use before claiming code is complete.npx claudepluginhub ash1794/vibe-engineering --plugin vibe-engineeringOther plugins' skills for the same job