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
-
Define the goal command — the command whose exit code determines success:
- Tests:
npm testornpx 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
- Tests:
-
Run the command — execute it and capture the output.