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

cm-tdd

Use when implementing any feature or bugfix. Routes to the core Red-Green-Refactor loop, test quality guidance, rationalization handling, examples, or stuck-state recovery.

インストール方法を見る

含まれるファイル(6)

  • SKILL.md2.2 KB
  • references/bugfix-example.md431 B
  • references/rationalizations.md610 B
  • references/red-green-refactor.md792 B
  • references/stuck-debugging.md445 B
  • references/test-quality.md505 B

SKILL.md(原文)

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

Test-Driven Development (TDD)

TL;DR

  • Use when writing or fixing code
  • Cycle: Red → Green → Refactor
  • Rule: no production code without a failing test first
  • Next: cm-execution or cm-code-review

When to Use

  • new features
  • bug fixes
  • refactors
  • behavior changes

The Iron Law

NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST

Choose the Need

Need to execute the normal TDD loop?
└─ YES → Red-Green-Refactor

Need help designing or reviewing test quality?
└─ YES → Test Quality

Need to counter "skip TDD" rationalizations?
└─ YES → Rationalizations

Need a worked bug-fix example?
└─ YES → Bugfix Example

Are you blocked or unsure how to continue?
└─ YES → Stuck / Debugging
NeedSummaryLoad
Normal executioncore TDD loop and verificationreferences/red-green-refactor.md
Test qualitywhat good tests look likereferences/test-quality.md
Reinforcementanti-rationalization guidancereferences/rationalizations.md
Exampleconcrete bug-fix walkthroughreferences/bugfix-example.md
Recoveryhow to proceed when stuckreferences/stuck-debugging.md

Load Rules

  • Load red-green-refactor.md for normal execution.
  • Load test-quality.md when designing or reviewing tests.
  • Load rationalizations.md only when the user or agent is trying to bypass TDD discipline.
  • Load bugfix-example.md only for coaching or example use.
  • Load stuck-debugging.md only when blocked.

Non-Negotiables

  • Watch the test fail before writing production code.
  • Keep implementation minimal until green.
  • Refactor only after green.
  • Re-run verification after each meaningful change.

The Bottom Line

Write the failing test first. Pass it minimally. Refactor only after green.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

End-to-end ad conversion tracking: Meta Pixel+CAPI, TikTok Events API, Google Ads Enhanced Conversions, GTM, attribution. Auto-detects industry, maps standard events, outputs a developer-ready implementation doc. Use for pixels, GTM, CAPI, ROAS, or 'set up tracking' requests.

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

tody-agent/codymaster532026年8月26日 更新

Comprehensive publishing automation skill bridging AI agents (OpenClaw, Manus, Claude) to the Content Factory Router. Uses the Router API to publish markdown articles with rich media to any connected Astro site natively.

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

tody-agent/codymaster532026年8月26日 更新

Easy-to-use conversational CLI (Codex style) for non-technical users to spawn parallel AI tasks supervised by a visual web dashboard.

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

tody-agent/codymaster532026年8月26日 更新

Easy-to-use conversational CLI (Claude Code style) for non-technical users to spawn parallel AI tasks supervised by a visual web dashboard.

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

tody-agent/codymaster532026年8月26日 更新

Booking & Calendar CRO Engine — Packages all booking, scheduling, .ics download, and Google Calendar integration into a revenue-boosting system. Auto-detect industry → select matching pattern → generate calendar engine + booking UI + export logic. Integrates with cm-google-form (form → sheet) and cm-ads-tracker (conversion events). ALWAYS trigger for: booking, appointment, calendar, reminder, download ics, google calendar, add to calendar, book appointment, schedule, "create booking", "add scheduling", "appointment reminder system", "calendar CRO", "reduce no-show"

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

tody-agent/codymaster532026年8月26日 更新

Strategic analysis gate for existing products — multi-dimensional evaluation (tech, product, design, business) using Design Thinking + 9 Windows (TRIZ) + Double Diamond. Outputs 2-3 qualified options with recommendations. Use BEFORE cm-planning for complex initiatives and enhancements on existing codebases.

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

tody-agent/codymaster532026年8月26日 更新

tody-agent のスキルをすべて見る

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