patriceckhart/zot/test-fix
Claude Code and agent skill by patriceckhart/zot
- community
Checking that the SKILL.md file is still in the repository.
Diagnose and minimally fix a failing test, then re-run.
Install
npx vskill@latest install patriceckhart/zot/test-fixSKILL.md
Test fix
When the user reports a failing test (or a test suite failure), work in this order. Resist the temptation to rewrite large chunks of code.
1. Reproduce
Run the failing test in isolation first. For Go: go test -run TestThing ./pkg/.... For Node: npm test -- --run TestThing. The goal is a fast feedback loop, not the whole suite.
2. Read the failure carefully
- What was expected vs got?
- Which line of test code triggered the failure?
- Is it a logic error in the implementation, an outdated test
expectation, or environmental drift (e.g. timezone, locale, file system case-sensitivity)?
3. Choose the smallest possible fix
- If the test is wrong → update the assertion only. Don't restructure.
- If the implementation is wrong → patch the smallest function that
fixes the failing case. Avoid drive-by refactors.
- If the test depends on behaviour you need to change deliberately →
ask the user before changing the assertion.
4. Re-run
The same isolated test, then the immediate suite, then the full test command if applicable. Stop the moment you see green; don't keep poking.
5. Report
Write 2–3 sentences: what was wrong, what changed, and which command verifies the fix. Include the diff inline.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/skills/test-fix/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/patriceckhart/zot/test-fix)