本文へ移動
cccskills
無料GitHub で公開

test-driven-development

Build or fix software with a focused red-green-refactor loop

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

When to Use

Use when implementing a feature, fixing a bug, or changing behavior where a regression test can define the expected result. Prefer this workflow for parser, routing, agent-loop, and UI behavior changes.

Procedure

  1. Inspect the relevant code, existing tests, and local conventions before editing.
  2. Write the smallest regression test that demonstrates the requested behavior or reproduces the bug.
  3. Run that test and confirm it fails for the expected reason, not because the test setup is broken.
  4. Make the smallest production change that makes the test pass.
  5. Run the focused test again, then run the surrounding module suite.
  6. Review the diff for unrelated changes, brittle assertions, hidden state, and missing error paths.
  7. Report the tests run and any remaining coverage or environment limits.

Pitfalls

  • Do not write a test that only mirrors the implementation; assert the user-visible contract.
  • Do not weaken an assertion just to make a failing test pass.
  • Do not skip the focused failing-test step when the behavior is observable in a local test.
  • Keep network, filesystem, and model calls deterministic with fakes or fixtures unless the integration itself is under test.

Verification

  • The new regression test fails before the fix and passes after it.
  • The relevant focused suite passes.
  • The broader suite passes or its failure is explained with evidence.
  • The final diff contains the test and the production change needed for the same behavior.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Turn messages, meeting notes, and documents into sourced decisions, actions, dependencies, and risks

日本語の概要は準備中です。原文の説明を表示しています。

odysseus-dev/odysseus9.3万2026年10月9日 更新

Create requested artifacts early, iterate from concrete output, and verify final deliverables

日本語の概要は準備中です。原文の説明を表示しています。

odysseus-dev/odysseus9.3万2026年10月9日 更新

Find, read, and apply authoritative developer documentation during implementation

日本語の概要は準備中です。原文の説明を表示しています。

odysseus-dev/odysseus9.3万2026年10月9日 更新

Extract and verify evidence from images, documents, and video without redundant inspection

日本語の概要は準備中です。原文の説明を表示しています。

odysseus-dev/odysseus9.3万2026年10月9日 更新

odysseus

無料

Use when the user asks Codex to read or write Odysseus data (todos, email, calendar, memory, documents) or to launch/monitor/stop a Cookbook model-serve task through the scoped Codex Agent API. Requires ODYSSEUS_URL and ODYSSEUS_API_TOKEN.

日本語の概要は準備中です。原文の説明を表示しています。

odysseus-dev/odysseus9.3万2026年10月9日 更新

odysseus

無料

Use when the user asks Claude Code to read or write Odysseus data (todos, email, calendar, memory, documents) or to launch/monitor/stop a Cookbook model-serve task through the scoped Claude Agent API. Requires ODYSSEUS_URL and ODYSSEUS_API_TOKEN.

日本語の概要は準備中です。原文の説明を表示しています。

odysseus-dev/odysseus9.3万2026年10月9日 更新

odysseus-dev のスキルをすべて見る

このスキルの問題を報告する