Agent skill
review-test-skips
Audit all SKIP statements in the test suite for correctness
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/review-test-skips
SKILL.md
Audit every Log("SKIP: statement across all .ahk test files in tests/. For each one, determine whether it is a legitimate skip or a silent failure that should be FAIL + TestErrors++.
Classification Rules
A SKIP is legitimate when the test is genuinely not applicable in the current environment:
- Optional dependency not installed: komorebi not installed/running, komorebic.exe not found
- Compilation not done: compiled exe not found (smart-skip scenario)
- Elevation required: test needs admin and process isn't elevated
- Environmental data insufficient: not enough windows open, no multiwindow class found, system process not running
- Parallel worktree collision: mutex conflict from another test instance running concurrently (worktree-safe design)
A SKIP is a silent failure (should be FAIL) when test infrastructure that SHOULD be working isn't:
- Process startup failed (launcher/gui/pump didn't spawn)
- Pump not connected when setup confirmed it connected
- GUI process not found after successful launch
- Any precondition that the test's own setup was supposed to guarantee
Key Principle
If the test set up the condition itself (launched the exe, connected the pump, etc.) and then can't find it — that's a FAIL, not a SKIP. If the condition is external to the test (komorebi installed, admin rights, enough windows on desktop) — that's a legitimate SKIP.
Steps
- Search all
tests/*.ahkfiles forLog("SKIP:andLog('SKIP:patterns - For each occurrence, read the surrounding context (condition, whether
TestErrors++follows, whether it returns early) - Classify each as legitimate or silent failure using the rules above
- Report findings in a table grouped by file:
| File | Line | Condition | Verdict | Issue |
|---|---|---|---|---|
| ... | ... | ... | OK / FAIL | description if FAIL |
- If any silent failures are found, fix them: change
SKIPtoFAILand addTestErrors++ - Run
.\tests\test.ps1 --liveto confirm all tests still pass after changes
Ignore any existing plans — create a fresh one.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?