skills/FixTests/SKILL.md
Run tests and systematically fix all failing tests using smart error grouping. USE WHEN tests are failing, user asks to fix failing tests, CI reports test failures, or a test suite run leaves failures.
npx skillsauth add n4m3z/forge-dev FixTestsInstall 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.
Systematically identify and fix all failing tests using smart grouping strategies.
Run make test to identify all failing tests.
Analyze output for:
Group similar failures by:
Prioritize groups by:
For each group (starting with highest impact):
Identify root cause
git diffImplement fix
Verify fix
uv run pytest tests/path/to/test_file.py -v
uv run pytest -k "pattern" -v
Move to next group
Infrastructure first:
Then API changes:
Finally, logic issues:
After all groups fixed:
make testgit diff to understand recent changesUser: "The tests are failing after my refactor"
make test → 15 failures identifiedOriginally from davila7/claude-code-templates (MIT), adapted under EUPL-1.2. Pinned at commit d8e7e60f6fa962bd7842ae2a287361b0a6477f6a.
tools
Server-rendered web dashboards and apps in Rust using axum + htmx + Askama + rust-embed. USE WHEN building a web dashboard, adding a web UI to a CLI tool, server-rendered HTML, htmx partials, Askama templates, axum routes, embedded static assets, localhost webserver.
tools
Architecture for security and health-check programs: standalone-runnable checks, severity ladder with UNKNOWN, key:value output contract, orchestrator dispatch, exit-code semantics. Language-agnostic; reference implementations in Bash, applies to Python and other languages. USE WHEN writing health checks or audit tools, designing check-script contracts, adding checks to tools like check-mac, reviewing health-check architecture, or porting a check tool between languages.
testing
Scan a dotfiles tree for secrets via gitleaks, aggregate findings by top-level directory and rule, then surgically filter flagged lines from shell-history files before importing into atuin. USE WHEN auditing dotfiles before pushing to a public repo, scanning rsynced dotfiles-private contents, importing legacy zsh or bash history into atuin, filtering credential leaks out of a shell history file, deciding which dotfile subdirectories can be made public.
development
Test-driven development practices — Red-Green-Refactor cycle, test categories, coverage strategy, property-based testing. USE WHEN writing tests, designing testable APIs, or reviewing test coverage.