Fix And Validate — Testing skill for Claude Code
Run the Lancet2 fix-mode validation suite (iwyu-fix + lint-check + test).
How to install Fix And Validate
Installs to ~/.claude/commands/nygenome-lancet2-fix-and-validate.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/nygenome/Lancet2/HEAD/.claude/commands/fix-and-validate.md -o ~/.claude/commands/nygenome-lancet2-fix-and-validate.md Restart Claude Code, or start a new session, for it to be picked up.
What Fix And Validate does
description: Run the Lancet2 fix-mode validation suite (iwyu-fix + lint-check + test). Mirrors the pre-commit gate's scope but applies auto-fixes; pre-commit gate runs read-only equivalents. allowed-tools: Bash
/fix-and-validate — fix-mode validation
Run the developer-facing "fix everything I can, surface the rest" pass. The scope mirrors the pre-commit gate (`pre_commit_gate.sh`), but `/fix-and-validate` invokes the **fix** variants where they exist, while the pre-commit gate is str
Alternatives in Testing
- Pua — Use when the user invokes /pua or asks for PUA mode, try-harder/retry help, change-approach coaching, completi 19.5k ★
- Factory — Dark Factory Mode - Spec-in, software-out autonomous pipeline 2.8k ★
- Brooks Test — Run a Brooks-Lint test quality review 1.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Pre Commit Review
Independent QA review of a working-tree diff before commit. Spawns a read-only reviewer agent to find correctn
Flaky Test Detector
Detect, analyze, and eliminate flaky tests across any test runner. An AI agent skill that identifies non-deter
Ccpp
Run checks (lint, type, test), commit, push, and create PR
TDD Check
Run the full pre-commit verification suite — pytest, ruff, mkdocs build
Adversarial Test
Post-build adversarial review — a fresh agent stress-tests recent changes for bugs, regressions, conflicts, an
Parallel Ship
Dynamic parallel pre-merge check with platform-routed Phase 1 gates (type/build + lint + test with coverage),
Related Agents
Deploy Guard
Pre-deploy validation gate. HUMAN-INVOKED ONLY. Project-scope permission rule Agent(deploy-guard) is DENIED in
Prosa Test Runner
Runs the prosa validation suite and reports failures concisely. Use to validate a change end-to-end or refresh
Pre Commit Check
Run lint, typecheck, and tests for changed packages before committing