tdd とは?
赤、緑、リファクタリング ループを使用したテスト駆動開発。ユーザーが TDD を使用して機能を構築したりバグを修正したりする場合、「red-green-refactor」について言及する場合、統合テストを希望する場合、またはテストファーストの開発を要求する場合に使用します。 ソース: brianlovin/claude-config。
赤、緑、リファクタリング ループを使用したテスト駆動開発。ユーザーが TDD を使用して機能を構築したりバグを修正したりする場合、「red-green-refactor」について言及する場合、統合テストを希望する場合、またはテストファーストの開発を要求する場合に使用します。
コマンドラインで tdd AI スキルを開発環境にすばやくインストール
ソース: 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赤、緑、リファクタリング ループを使用したテスト駆動開発。ユーザーが TDD を使用して機能を構築したりバグを修正したりする場合、「red-green-refactor」について言及する場合、統合テストを希望する場合、またはテストファーストの開発を要求する場合に使用します。 ソース: brianlovin/claude-config。
ターミナルまたはコマンドラインツール(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