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

tdd-cycle

Run complete TDD red-green-refactor cycle for a test

インストール方法を見る

含まれるファイル(2)

  • SKILL.md1.5 KB
  • references/workflow.md1.4 KB

SKILL.md(原文)

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

TDD cycle

Read the complete workflow for task-file conventions. Repository paths are relative to the repository root. The canonical quality gate and coordinator responsibilities in .agnostic-ai/AGNOSTIC_AI.md apply.

Use .tasks/YYYY-MM-DD-slug.md for features, refactors, or multi-test work; skip it for small fixes or a single test. Choose the next smallest test from the acceptance scenario or task inventory and study matching existing tests.

  1. RED: Write Arrange-Act-Assert, run ./bashunit <test-path>, and verify failure proves the requested behavior is missing, rather than a syntax or setup error. Record the red bar and logbook entry when using a task file.
  2. GREEN: Implement only what this test requires. Run the focused test and require a pass. Check off the inventory entry and record the result.
  3. REFACTOR: Improve naming, structure, or duplication without changing behavior. Keep affected focused tests green; preserve other workers' changes. Record meaningful refactoring notes.
  4. Repeat until the acceptance scenario is complete. The main session runs the full quality gate once after the whole change set, before committing. Delegates run only assigned targeted checks.

Never skip the demonstrated RED or add speculative behavior during GREEN. Keep the task inventory and logbook current when a task file is used.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

Add new assertion function with comprehensive tests following TDD

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

TypedDevs/bashunit4352026年10月12日 更新

Analyze test coverage and identify untested code paths

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

TypedDevs/bashunit4352026年10月12日 更新

commit

無料

Stage and commit changes using conventional commits format

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

TypedDevs/bashunit4352026年10月12日 更新

fix-test

無料

Debug and fix failing tests systematically

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

TypedDevs/bashunit4352026年10月12日 更新

Measure process costs and fork budgets when changing startup, per-file, per-test, parallel workers, reporting, or coverage paths; use for fork census and performance comparisons.

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

TypedDevs/bashunit4352026年10月12日 更新

gh-issue

無料

Fetch GitHub issue, create branch, plan and implement with TDD, then open PR

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

TypedDevs/bashunit4352026年10月12日 更新

TypedDevs のスキルをすべて見る

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