Skip to content
Back to skills

Example Fix

ASecurity

Run the measurable verification checklist for an Agent Looper task. Use when implementing or fixing work under .cursor/loops/ and before declaring the loop complete. Never hand back partially verified work.

  • 4 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 20, 2026
developmentgoshellbash

Works with

  • cursor

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned October 20, 2026

npx -y skills add dancingteeth/agent-looper --skill example-fix --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Example Fix?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Example Fix
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dancingteeth-example-fix/badge)](https://www.skillsdirectory.com/skills/dancingteeth-example-fix)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: loop-verify
description: Run the measurable verification checklist for an Agent Looper task. Use when implementing or fixing work under .cursor/loops/ and before declaring the loop complete. Never hand back partially verified work.
---

# Loop verification skill

The **hard gate** for agent loops is `loop.json` → `verify` (shell exit `0`). This skill
documents *how* to run checks with the same discipline as a human QA pass: quantitative,
repeatable, no partial handoff.

## Rules

1. **Verifier wins** — success is exit `0` from `verify` / `finalVerify`, not your assessment.
2. **Fail → fix → rerun** — if any step fails, fix the code and rerun from step 1.
3. **No partial handoff** — do not stop after "mostly works" or "tests should pass".
4. **Stay in scope** — only run checks listed here and in `GOAL.md` acceptance criteria.

## Before you start

- Read `GOAL.md` in the loop directory (frozen spec).
- Confirm `loop.json` `verify` points at `verify.sh` (or your project command).
- If the loop has a Taskwarrior UUID in `GOAL.md` / `loop.json`, cite it in commit
  messages (`task <uuid>`) — numeric IDs are recycled; **UUID is the stable key**.

## Checklist (customize per loop)

Replace placeholders with commands that match **this** loop's acceptance criteria.

### Step 1 — Fast unit / guard

```bash
# Example — adjust path and runner:
pnpm vitest run path/to/feature.test.ts
```

**Pass when:** exit `0`, no skipped assertions that matter for the goal.

### Step 2 — Typecheck / build (if applicable)

```bash
pnpm exec tsc --noEmit
# or: pnpm run build
```

**Pass when:** exit `0`.

### Step 3 — Integration / smoke (optional)

```bash
# Example: curl local endpoint, run e2e slice, grep log for expected string
```

**Pass when:** observable output matches GOAL acceptance criteria.

### Step 4 — Run the loop verifier

From the **repository root** (same cwd Agent Looper uses):

```bash
bash .cursor/loops/<loop-name>/verify.sh
# or the exact command from loop.json "verify"
```

**Pass when:** exit `0`. This is what the harness runs every iteration.

## `finalVerify` (stricter outer gate)

When `loop.json` sets `finalVerify`, run it after inner `verify` passes — e.g. deploy +
smoke on staging. Document those steps here or in a sibling `FINAL-VERIFY.skill.md`.

## Wiring

| Artifact | Purpose |
| --- | --- |
| `GOAL.md` | Frozen spec + acceptance criteria |
| `loop.json` → `verify` | Shell command the harness runs (usually `verify.sh`) |
| `verify.sh` | Executable checklist (this skill's commands) |
| `VERIFY.skill.md` | Human/agent-readable procedure (this file) |
| `loop.json` → `taskwarriorUuid` | Auto-complete TW task on success — **UUID only** |

## Anti-patterns

- Replacing `verify` with "I read the code and it looks correct."
- Removing or weakening a failing check to get green.
- Editing `GOAL.md` mid-loop to shrink scope.

Files in this skill

  • GOAL.md530 B
  • VERIFY.skill.md2.8 KB
  • loop.json325 B
  • verify.sh190 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.