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:

Ir para a instalação

Informações da origem

Repositório
tools-only/X-Skills
Última atividade na origem
20 de fevereiro de 2026 às 05:35
Idioma detectado do SKILL.md
inglês
Estrelas
7
Forks
1

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.