·tdd

赤、緑、リファクタリング ループを使用したテスト駆動開発。ユーザーが TDD を使用して機能を構築したりバグを修正したりする場合、「red-green-refactor」について言及する場合、統合テストを希望する場合、またはテストファーストの開発を要求する場合に使用します。

51インストール·3トレンド·@brianlovin

インストール

$npx skills add https://github.com/brianlovin/claude-config --skill tdd

tdd のインストール方法

コマンドラインで tdd AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/brianlovin/claude-config --skill tdd
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: brianlovin/claude-config。

Core principle: Tests should verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't.

Good tests are integration-style: they exercise real code paths through public APIs. They describe what the system does, not how it does it. A good test reads like a specification - "user can checkout with valid cart" tells you exactly what capability exists. These tests survive refactors because they don't care about internal structure.

Bad tests are coupled to implementation. They mock internal collaborators, test private methods, or verify through external means (like querying a database directly instead of using the interface). The warning sign: your test breaks when you refactor, but behavior hasn't changed. If you rename an internal function and tests fail, those tests were testing implementation, not behavior.

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/brianlovin/claude-config --skill tdd
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-22
更新日
2026-03-10

Browse more skills from brianlovin/claude-config

クイックアンサー

tdd とは?

赤、緑、リファクタリング ループを使用したテスト駆動開発。ユーザーが TDD を使用して機能を構築したりバグを修正したりする場合、「red-green-refactor」について言及する場合、統合テストを希望する場合、またはテストファーストの開発を要求する場合に使用します。 ソース: brianlovin/claude-config。

tdd のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/brianlovin/claude-config --skill tdd インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/brianlovin/claude-config