testing

SKILL.md

Testing

Commands

Script Command
run npm test
watch npm run test:watch
ci+coverage npm run test:ci

Workflow

  1. Run npm test
  2. Report results concisely: show failing test names and file paths

Rules

  • Default to npm test
  • Don't modify tests unless requested

Error Handling

  • If npm test script not found → check package.json scripts for alternatives (jest, vitest, test:run); report if none exist
  • If tests time out → report the timeout and suggest increasing --testTimeout in the runner config
  • If test runner crashes (exit code other than 0 or 1) → report the crash output and stop
Weekly Installs
14
First Seen
Feb 13, 2026
Installed on
claude-code14
codex14
gemini-cli14
opencode14
trae-cn13
iflow-cli13