Skip to main content

fix-tests

Run the project's test suite, fix failures, and report what was wrong and what you changed.

Source facts

Repository
nkapila6/dotfiles
Last source activity
October 9, 2026 at 04:16
Detected SKILL.md language
English
Stars
2
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
fix-tests
description
Run the project's test suite, fix failures, and report what was wrong and what you changed.
user-invocable
true
disable-model-invocation
true
Run the project's tests, fix failures, and report. ## Steps 1. Detect the test command. Try in this order until one produces output: - `npm test` - `cargo test` - `go test ./...` - `uv run pytest` - `pytest` - check `package.json` / `Makefile` for a `test` target 2. Run it and capture the failures. 3. Read the failing tests to understand expected behavior. If the expected behavior is unclear, **stop and ask the human** what should be tested and what the expected behavior is. Don't guess. 4. Fix the failing tests (or the code under test if the test is right). 5. Re-run the tests to verify green. 6. Report what was wrong and what you changed. Cite file:line. ## Hard rules - Before writing new tests, ask the human what they want tested. Don't auto-generate test suites. - Don't refactor files outside the failing test scope. - Don't touch CI/CD configs. - If you can't fix a test after 2 attempts, stop and report the blocker.
View on GitHub