本文へスキップ
Kitbay
掲載依頼
スキル

tdd

2026年11月11日 更新16,006GitHubスター

A bug-fix skill from Cursor's pstack harness for Claude Code, run only when invoked, for bugs with a cheap local test path.

スキルの内容

A bug-fix skill from Cursor's pstack harness for Claude Code, run only when invoked, for bugs with a cheap local test path. The agent pins down intended and actual behaviour, picks the narrowest kind of test already used for that code path, writes a focused test that should have caught the bug, runs it to confirm it fails for the right reason, makes the smallest fix and reruns it. When a test would need heavy setup, brittle mocks or production state, it uses another executable check such as a script or browser automation instead. The final report names the failing-before and passing-after evidence, or why none could be shown.

できること

  • Write a regression test that fails before the fix
  • Choose the narrowest existing test type for the code path
  • Fall back to a script or manual check when a test is impractical
  • Report failing-before and passing-after evidence