# Vibe quality loop

> Vibe quality loop is an open-source agent skill for developer tools. Makes the agent loop review, test and fix a change until it is verified clean. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ash1794/vibe-engineering/tree/master/plugins/vibe-engineering/skills/vibe-quality-loop
- **Repository:** https://github.com/ash1794/vibe-engineering
- **GitHub stars:** 163
- **License:** MIT
- **Skill name:** vibe-quality-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 keeps an agent from declaring a non-trivial implementation finished too early. After making changes, the agent reads the whole diff as a reviewer would, checking for bugs, leftover debug code, naming inconsistencies, unrequested scope and weakened tests. If the harness has a built-in review command, it can use that instead.

The agent then runs the project's own checks, taken from the repository's Makefile, package scripts or CI configuration rather than guessed commands. These typically cover the full test suite, linting, formatting and type checking, plus the race detector for concurrent code where the language supports it. Only the issues found are fixed, and the cycle repeats with an iteration count until the review is clean and checks pass.

The skill sets limits: it stops after five iterations without convergence and reports what is stuck. Failures that also occur on the base branch are reported as pre-existing rather than silently fixed. On exit, the agent quotes the final check output and produces a summary table of iterations and remaining known issues.

## When your agent uses it

> Runs the Implement→Review→Test→Fix cycle until the work is actually clean, with evidence. Use after any non-trivial implementation and before claiming it is done.

## 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-quality-loop)
- [License: MIT](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-quality-loop)

## Features

- **Structured review pass:** Reads the full diff for bugs, leftovers, consistency and scope before any checks run.
- **Project-defined checks:** Runs the test suite, linter, formatter and type checker the repository already defines.
- **Iteration loop with limit:** Repeats review and fixes with a tracked count and a five-iteration stop condition.
- **Evidence-based exit:** Ends only when checks pass and the final command output is quoted verbatim.
- **Pre-existing failure handling:** Separates failures already present on the base branch from issues introduced by the change.

## Good for

- Check my new feature for bugs before I open a pull request
- Run the tests and linter until my refactor is clean
- Review my diff and fix the problems you find
- Confirm the work is actually done before committing

## 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-quality-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-quality-loop &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-quality-loop" ~/.claude/skills/vibe-quality-loop &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/vibe-quality-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-quality-loop &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-quality-loop" ~/.agents/skills/vibe-quality-loop &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/vibe-quality-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-quality-loop &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-quality-loop" ~/.cursor/skills/vibe-quality-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/vibe-quality-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-quality-loop
```

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

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/vibe-quality-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-quality-loop &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-quality-loop" ~/.copilot/skills/vibe-quality-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/vibe-quality-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-quality-loop` into your agent's skills folder as `vibe-quality-loop`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should the skill be used?

After a non-trivial implementation that touches several files or contains involved logic, and before creating a commit or PR. It is not meant for single-line fixes, documentation-only changes, or when the user asks to skip cleanup.

### Does Vibe quality loop need a specific tool or command?

It uses the review command built into the harness if one exists, such as /code-review in Claude Code or /review in Codex, and otherwise performs a manual review. Checks come from the repository's own Makefile, package scripts or CI workflow.

### What happens if the loop does not converge?

After five iterations without a clean result, the agent stops and reports what is stuck instead of continuing.

### How do I install Vibe quality loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vibe-quality-loop to use it in all your projects, or to .claude/skills/vibe-quality-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 quality 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 quality loop?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Vibe quality loop?

The closest alternatives to Vibe quality loop are Vibe anti rationalization check, Vibecheck, Code review loop, Code improver and Vibe gap closure loop.

## Where this comes from

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

## Alternatives

- [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.
- [Vibecheck](https://ai-powered.com/skills/vibecheck): Vibecheck is an open-source agent skill for developer tools.
- [Code review loop](https://ai-powered.com/skills/code-review-loop): Code review loop is an open-source agent skill for developer tools.
- [Code improver](https://ai-powered.com/skills/code-improver): Code improver is an open-source agent skill for developer tools.
- [Vibe gap closure loop](https://ai-powered.com/skills/vibe-gap-closure-loop): Vibe gap closure loop is an open-source agent skill for developer tools.
- [Vibe devil advocate review](https://ai-powered.com/skills/vibe-devil-advocate-review): Vibe devil advocate review 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 iteration review](https://ai-powered.com/skills/vibe-iteration-review): Vibe iteration review is an open-source agent skill for developer tools.

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