skills/test/SKILL.md
Auto-detects your test framework, runs the full suite, diagnoses failures, and fixes them. Use after making code changes to verify tests pass, or when you encounter test failures you want diagnosed and fixed automatically.
npx skillsauth add skinnyandbald/fish-skills testInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Detect test framework, run tests, diagnose and fix failures automatically.
Check for test configuration files in this order:
| File | Framework | Run Command |
|------|-----------|-------------|
| vitest.config.* or vite.config.* with test | Vitest | npx vitest run |
| jest.config.* or package.json jest key | Jest | npx jest |
| phpunit.xml | PHPUnit | ./vendor/bin/phpunit |
| pest.php or Pest in composer.json | Pest | ./vendor/bin/pest |
| pytest.ini / pyproject.toml [tool.pytest] | pytest | pytest |
| go.mod with _test.go files | Go | go test ./... |
| Cargo.toml | Rust | cargo test |
| Gemfile with rspec | RSpec | bundle exec rspec |
Also check package.json scripts for test, test:run, test:unit, test:integration.
If CLAUDE.md specifies test commands, use those instead.
Run the detected test command with run_in_background=true. Use verbose output flags where available.
If all tests pass, report the summary and stop.
If tests fail, for each failure:
For each failure:
After all individual fixes, run the full suite once more to catch regressions.
## Test Results
**Framework:** [detected framework]
**Command:** [command used]
**Result:** X passed, Y fixed, Z remaining
### Fixed
- [test name]: [what was wrong and what was fixed]
### Still Failing (if any)
- [test name]: [diagnosis and why it couldn't be auto-fixed]
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
tools
Verify worktree plugin patches are intact after plugin updates. Checks compound-engineering and superpowers skills for Claude Code launch instructions.
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Reviews the feature you just built and adds missing test coverage. Focuses on behavior that matters — not coverage metrics. Use after completing a feature to identify untested code paths, edge cases, and risk areas.