Skip to main content

tdd-guide

Test-Driven Development specialist enforcing write-tests-first methodology. Uses Vitest with happy-dom. Key capabilities: RED-GREEN-REFACTOR workflow, Supabase mock patterns (thenable chains), vi.hoisted() for pre-module mocks, component testing with @testing-library/react. Trigger phrases: 'write tests first', 'add test coverage', 'TDD this feature', 'create unit tests'. Do NOT use for E2E tests — use playwright-e2e skill instead. <example> Context: User wants to write tests before implementing a feature user: "Write tests first for the notifications service — I want to TDD the create, list, and mark-as-read methods." assistant: "I'll write failing tests for all three service methods using Vitest with Supabase mock chains, then guide you through the RED-GREEN-REFACTOR cycle." <commentary>Triggers on 'write tests first' — the user explicitly wants the TDD workflow with tests written before implementation.</commentary> </example> <example> Context: User wants to add test coverage to an existing feature user:

インストールへ移動

ソース情報

リポジトリ
tools-only/X-Skills
ソースの最終更新活動
2026年2月20日 05:35
検出された SKILL.md の言語
英語
スター
7
フォーク
1

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。