@.claude/skills/testing/testing.mdc
testing
在编写 React Hook 测试时,若遇到测试失败、测试不稳定、跨文件污染,或“Hook 超时”错误,可使用 Bun 测试模式,并妥善进行 Spy 清理。
SKILL.md
--- frontmattername: testing description: Use when writing React hook tests, encountering test failures, flaky tests, cross-file contamination, or "Hook timed out" errors - Bun test patterns with proper spy cleanup