# Vibe gap closure loop

> Vibe gap closure loop is an open-source agent skill for developer tools. Works through a large findings backlog in prioritized waves with tests between them. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ash1794/vibe-engineering/tree/master/plugins/vibe-engineering/skills/vibe-gap-closure-loop
- **Repository:** https://github.com/ash1794/vibe-engineering
- **GitHub stars:** 163
- **License:** MIT
- **Skill name:** vibe-gap-closure-loop
- **Collection:** https://github.com/ash1794/vibe-engineering
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill handles a big list of problems, such as a gap analysis, an audit or a pile of 10 or more bugs, by sorting them into priority waves from blocker to low. Within each wave it maps dependencies between findings, groups related fixes into parallel streams that do not touch the same files, and dispatches each stream to a subagent when the harness supports them, otherwise running them one after another.

Each stream is told to write a failing test before the fix, run the project's test command, and commit only when tests pass without weakening existing tests. After the streams return, the skill integrates their branches, runs the full test suite and linters, and fixes any interaction failures before moving on. A summary is written per iteration, and the loop re-checks the target score or findings list. It stops after five iterations and flags findings that fail to close twice for human review.

It expects an existing findings document, typically a gap report under docs/plans, and a project with a runnable test command. Destructive operations such as migrations on real data or force-pushes require confirmation.

## When your agent uses it

> Closes a large backlog of findings (a gap analysis, an audit, or 10+ bugs) in prioritized waves. Loops through triage, dependency analysis, parallel fix streams, a test gate, and re-audit until the target is met. Use after a gap analysis, audit, or review produces 10+ findings, or to burn down a large bug or tech-debt backlog.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-gap-closure-loop)
- [License: MIT](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-gap-closure-loop)

## Features

- **Priority wave triage:** Sorts every finding into blocker, high, medium or low priority and orders the work into waves.
- **Dependency-aware parallel streams:** Groups related findings into streams that avoid touching the same files and respect dependencies.
- **Test-gated progression:** Blocks the next wave until the full test suite and linters pass on the integrated result.
- **Iteration summaries:** Writes a per-iteration record of closed findings, commits, test results and remaining items.
- **Target re-audit loop:** Re-checks target scores or the findings list and repeats until the goal is met or limits are hit.
- **Escalation of stuck items:** Flags findings that do not close after two iterations for human review instead of retrying forever.

## Good for

- Burn down a 50-item gap analysis report in prioritized waves
- Work through a backlog of 15 or more production bugs
- Clear a large tech-debt list after a code audit
- Prepare a codebase for a production readiness review

## Install

### Claude Code

This skill ships in the `vibe-engineering` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ash1794/vibe-engineering
/plugin install vibe-engineering@vibe-plugins
```

Or copy only this skill to `~/.claude/skills/vibe-gap-closure-loop`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vibe-gap-closure-loop &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-gap-closure-loop" ~/.claude/skills/vibe-gap-closure-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/vibe-gap-closure-loop` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/vibe-gap-closure-loop` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vibe-gap-closure-loop &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-gap-closure-loop" ~/.agents/skills/vibe-gap-closure-loop &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/vibe-gap-closure-loop` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/vibe-gap-closure-loop` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vibe-gap-closure-loop &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-gap-closure-loop" ~/.cursor/skills/vibe-gap-closure-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/vibe-gap-closure-loop` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ash1794/vibe-engineering.git --path plugins/vibe-engineering/skills/vibe-gap-closure-loop
```

Or copy the folder to `~/.gemini/skills/vibe-gap-closure-loop` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/vibe-gap-closure-loop`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vibe-gap-closure-loop &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-gap-closure-loop" ~/.copilot/skills/vibe-gap-closure-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/vibe-gap-closure-loop` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git
```

Then copy `vibe-engineering/plugins/vibe-engineering/skills/vibe-gap-closure-loop` into your agent's skills folder as `vibe-gap-closure-loop`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should I not use Vibe gap closure loop?

The skill says not to use it for fewer than five findings, for findings that need architectural redesign, or when all findings sit in one file.

### Does Vibe gap closure loop run without asking for confirmation?

It follows the harness permission mode. Under autonomous modes it runs without pausing between phases; otherwise it confirms the wave plan once before dispatching streams.

### What limits apply to a run?

A single invocation runs at most five iterations, streams hold up to seven findings each, and a finding that fails to close after two iterations is escalated.

### Which agents does Vibe gap closure loop need?

It is packaged as a Claude Code plugin skill in the vibe-plugins marketplace, and it relies on other vibe-* skills for gap analysis and parallel decomposition.

### How do I install Vibe gap closure loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vibe-gap-closure-loop to use it in all your projects, or to .claude/skills/vibe-gap-closure-loop in one project. Or install the vibe-engineering plugin, which includes it: /plugin marketplace add ash1794/vibe-engineering, then /plugin install vibe-engineering@vibe-plugins.

### Does Vibe gap closure loop run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Vibe gap closure loop?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Vibe gap closure loop?

The closest alternatives to Vibe gap closure loop are Vibe gap analysis, Vibe quality loop, Vibecheck, Vibe spec sync and Vibe anti rationalization check.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Vibe gap analysis](https://ai-powered.com/skills/vibe-gap-analysis): Vibe gap analysis is an open-source agent skill for developer tools.
- [Vibe quality loop](https://ai-powered.com/skills/vibe-quality-loop): Vibe quality loop is an open-source agent skill for developer tools.
- [Vibecheck](https://ai-powered.com/skills/vibecheck): Vibecheck is an open-source agent skill for developer tools.
- [Vibe spec sync](https://ai-powered.com/skills/vibe-spec-sync): Vibe spec sync is an open-source agent skill for developer tools.
- [Vibe anti rationalization check](https://ai-powered.com/skills/vibe-anti-rationalization-check): Vibe anti rationalization check is an open-source agent skill for developer tools.
- [Vibe production mindset](https://ai-powered.com/skills/vibe-production-mindset): Vibe production mindset is an open-source agent skill for developer tools.
- [Vibe pre commit audit](https://ai-powered.com/skills/vibe-pre-commit-audit): Vibe pre commit audit is an open-source agent skill for security.
- [Test gap audit](https://ai-powered.com/skills/test-gap-audit): Test gap audit is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/vibe-gap-closure-loop
