# Vibe Quality Loop

> Enforces the Implement→Review→Test→Fix→Loop cycle until work is clean. Use after any non-trivial implementation to prevent "good enough" exits.

- **Type:** Skill
- **Install:** `agentstack add skill-ash1794-vibe-engineering-quality-loop`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ash1794](https://agentstack.voostack.com/s/ash1794)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ash1794](https://github.com/ash1794)
- **Source:** https://github.com/ash1794/vibe-engineering/tree/master/plugins/vibe-engineering/skills/quality-loop

## Install

```sh
agentstack add skill-ash1794-vibe-engineering-quality-loop
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# vibe-quality-loop

The quality loop prevents premature "done" declarations. You keep iterating until the work is actually clean.

## When to Use This Skill

- After any implementation that touches more than 3 files
- After implementing a feature with tests
- When you've made changes and want to verify quality
- Before creating a commit on completed work

## When NOT to Use This Skill

- Single-line fixes or typo corrections
- Documentation-only changes
- When the user says "just get it working, we'll clean up later"

## The Loop

```
┌─────────────┐
│  Implement   │
└──────┬──────┘
       v
┌─────────────┐
│ Self-Review  │ ← Read your own diff. Would you approve this PR?
└──────┬──────┘
       v
┌─────────────┐
│  Run Tests   │ ← ALL tests, not just the ones you wrote
└──────┬──────┘
       │
       ├── Tests pass + Review clean → EXIT (done!)
       │
       v
┌─────────────┐
│  Fix Issues  │ ← Fix what broke, don't add new features
└──────┬──────┘
       │
       └── Go back to Self-Review
```

## Steps

1. **Self-Review** — Read your entire diff. Check for:
   - Unused imports/variables
   - Hardcoded values that should be constants
   - Missing error handling at system boundaries
   - Functions over 50 lines
   - Any TODO without an issue reference

2. **Run Tests** — Run the full test suite, not just affected tests:
   - If Go: `go test ./...` and `go test -race ./...`
   - If JS/TS: `npm test` or equivalent
   - If Python: `pytest`
   - Note any failures

3. **Fix Issues** — Address ONLY the issues found. Don't add features.

4. **Loop** — Go back to step 1. Track iteration count.

5. **Exit** — When tests pass AND review is clean. Report iteration count.

## Output Format

### Quality Loop: [Feature Name]

**Iterations**: X
**Final Status**: CLEAN / KNOWN_ISSUES

| Iteration | Issues Found | Issues Fixed |
|-----------|-------------|-------------|
| 1 | [list] | [list] |
| 2 | [list] | [list] |

**Remaining Known Issues** (if any):
- [Issue that was deliberately deferred, with justification]

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ash1794](https://github.com/ash1794)
- **Source:** [ash1794/vibe-engineering](https://github.com/ash1794/vibe-engineering)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-ash1794-vibe-engineering-quality-loop
- Seller: https://agentstack.voostack.com/s/ash1794
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
