.claude/skills/test-diagnostics/SKILL.md
Profile all test files to find slow, hanging, or failing tests. Use when tests seem slow or when vitest hangs.
npx skillsauth add jamesaphoenix/tx test-diagnosticsInstall 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.
Profile every test file in the monorepo individually to find slow, hanging, or failing tests.
Run the diagnostics script:
.claude/skills/test-diagnostics/run-diagnostics.sh
Options:
--timeout 30 — Kill tests after N seconds (default: 30)--slow-threshold 5 — Report tests taking > N seconds as SLOW (default: 5)--dir ./test/integration — Only test files under a specific directoryafterAll cleanup or open connectionsbunx --bun vitest run <path> 2>&1
development
Implement and verify design doc invariants by annotating tests and source code with [INV-*] / @spec tags, then driving tx spec coverage from BUILD toward HARDEN (100% FCI). Works with any design doc that has an invariants block.
data-ai
Link tasks to paired PRD/design specs, export all open work to markdown, and keep Ralph-style loops moving by creating tasks, subtasks, and dependency updates through tx primitives.
development
Refresh bundled tx Claude Code and Codex skills in a project from the canonical tx source without manual copy and paste.
development
Run Ralph against either the full repo queue or tasks linked to one design doc, with injected task/spec/queue context for Codex or Claude runtimes.