grinding-until-pass

Installation
SKILL.md

Grind Until Pass

Use this skill when you want the agent to keep working autonomously until a specific goal is met — all tests pass, the build succeeds, or linting is clean. Instead of stopping after one attempt, the agent loops until done.

Steps

  1. Define the goal command — the command whose exit code determines success:

    • Tests: npm test or npx vitest run
    • Build: npm run build
    • Lint: npm run lint
    • Type-check: npx tsc --noEmit
    • All of the above: npm run lint && npx tsc --noEmit && npm test && npm run build
  2. Run the command — execute it and capture the output.

  3. If it fails — analyze and fix:

    • Read the error output carefully.
    • Identify the root cause: failing test assertion, type error, lint violation, import error, etc.
Related skills
Installs
31
GitHub Stars
271
First Seen
Apr 12, 2026