test-driven

Teach Test-Driven Development with tests written before code in JavaScript/TypeScript projects.

9|2|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/ilandahan/AID --skill test-driven-ilandahan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-driven
Source: https://github.com/ilandahan/AID/tree/main/.claude/skills/test-driven
Command: npx skills add https://github.com/ilandahan/AID --skill test-driven-ilandahan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Solves the problem of low-quality software by teaching teams to practice Test-Driven Development (TDD) with tests written before code.

Core Features & Use Cases

  • Document-Driven Testing: Establish a workflow to read PRD/Tech Spec/Implementation Plan before writing tests.
  • Test Pyramid & Organisation: Structure tests into Unit, Integration, and GUI layers with tooling references (Jest, Vitest, Supertest, DevTools MCP).
  • Robust Testing Practices: Emphasize minimal mocking, realistic test data, strong assertions, and test independence.
  • Use Case: A team adopting TDD uses this skill to guide tests from API design to UI flows, ensuring testable requirements.

Quick Start

Ask me to outline a TDD plan for a feature; I will provide a plan including unit/integration/e2e scaffolding and realistic test data.

Frequently Asked Questions about test-driven

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I practice test-driven development in a JavaScript TypeScript project?

Test-driven development in JavaScript or TypeScript involves writing tests before code using frameworks like Jest or Vitest to ensure software quality. This skill guides teams through structuring tests across API, database, and GUI layers using document-driven inputs.

What's the best way to structure a test pyramid for API and GUI layers?

Structuring a test pyramid for API and GUI layers requires organizing tests into Unit, Integration, and GUI layers. You can use tooling references like Jest, Vitest, Supertest, and DevTools MCP to establish robust testing patterns with strong assertions and independent tests.

How do I write integration tests for Prisma database operations?

Writing integration tests for Prisma database operations involves using realistic test data factories and minimal mocking within your test pyramid. This skill provides references for establishing robust testing patterns that ensure test independence and strong assertions for database layers.

Can I use DevTools MCP for GUI testing in a TDD workflow?

Yes, you can use DevTools MCP for GUI testing within a TDD workflow. This skill applies test-driven development across API, database, and GUI layers in JavaScript and TypeScript projects, providing tooling references to scaffold tests from API design to UI flows.

Do I need a PRD or tech spec before writing unit tests?

Yes, document-driven testing requires reading a PRD, Tech Spec, or Implementation Plan before writing tests. This approach ensures testable requirements are established upfront, allowing you to outline a TDD plan with unit, integration, and e2e scaffolding.

Why does minimal mocking matter in test-driven development?

Minimal mocking matters in test-driven development because it ensures robust testing practices with realistic test data and strong assertions. By emphasizing test independence and minimal mocking, this skill helps solve the problem of low-quality software in JavaScript and TypeScript projects.