Test and fix
Reusable, token-optimized agent skills for autonomous development with Hermes, Claude Code & OpenCode. Multi-model orchestration patterns — context-checkpointing, human review gates, RLS security, GDPR consent, AI cost control, and test-fix loops. Framework-agnostic, agentskills.io compatible.
npx -y skills add prasadmogulothu/agent-skills --skill test-and-fixAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Run the test suite, read failures, patch, and re-run — looping until green or a precise blocker report. Use for any feature or module that has tests. Caps attempts so it can't run away.
SKILL.md
1.1 KB, as published. Nobody here has run it
test-and-fix
Close the loop on tests automatically, so cheaper models can self-correct safely.
Steps
- Run the relevant suites (unit, integration, e2e, accessibility — whatever the project has).
- On failure: read the actual error, form a hypothesis, patch the smallest thing, re-run.
- Stop at green, OR after a fixed attempt cap (e.g. 6) → write a precise blocker report
(the failing test, the error, what you tried) to
tasks.mdand stop. - Never delete or skip a failing test to "pass". Never mark done on a partial.
Done when
All targeted suites pass, or a clear blocker report exists. Coverage on changed code meets your project threshold.
Token tactics
Ideal for a cheaper/mid model — the iterative loop is where expensive models waste budget. Cap the attempts to bound cost. Pass only the failing test + the file under test, not the whole repo.