test-driven-development

Generate project-specific tests by searching existing test patterns and conventions.

11|3|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/artk0de/TeaRAGs-MCP --skill test-driven-development-artk0de
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-driven-development
Source: https://github.com/artk0de/TeaRAGs-MCP/tree/main/.claude-plugin/dinopowers/skills/test-driven-development
Command: npx skills add https://github.com/artk0de/TeaRAGs-MCP --skill test-driven-development-artk0de

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the issue of AI-generated tests lacking local project context, preventing the creation of tests that ignore established mocking, assertion, and fixture conventions.

Core Features & Use Cases

  • Pattern-Aware Generation: Searches existing test files to identify project-specific mocking helpers, naming idioms, and fixture locations before drafting new tests.
  • DSL-Specific Filtering: Uses semantic search with chunk-type filtering to isolate test setup and scenario logic from implementation noise.
  • Use Case: When adding a new feature to a TypeScript project, the agent will first analyze existing Vitest setup files to ensure the new test uses the correct mock helpers and assertion styles, ensuring consistency across the codebase.

Quick Start

Invoke the test-driven-development skill to write a failing test for the user authentication module while matching existing project test patterns.

Frequently Asked Questions about test-driven-development

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

FAQPage Schema
How do I generate tests that match my existing project conventions?

To generate tests that match existing project conventions, this skill performs split semantic searches on your test files to identify local mocking helpers, assertion idioms, and fixture locations before drafting new tests. It requires integrating TeaRAGs-MCP to retrieve battle-tested code chunks for context-aware generation.

What is test-driven development with project-aware patterns?

Test-driven development with project-aware patterns is an approach that grounds new test generation in existing project conventions. It uses DSL-specific semantic search with chunk-type filtering to isolate test setup and scenario logic from implementation noise, ensuring consistency across the codebase.

Does this TDD approach work with Vitest and RSpec test files?

Yes, this TDD approach works with Vitest and RSpec test files by analyzing existing setup files to ensure new tests use correct mock helpers and assertion styles. It performs split semantic searches for test setup and assertion idioms to maintain consistency across frameworks.

How to write failing tests that follow established mocking patterns?

To write failing tests that follow established mocking patterns, invoke the skill to analyze existing test files for project-specific mocking helpers and naming idioms. It retrieves proven, battle-tested test code chunks via TeaRAGs-MCP to ensure context-aware generation before invoking the primary TDD implementation cycle.

Do I need TeaRAGs-MCP to run test-driven development workflows?

Yes, you need TeaRAGs-MCP to run test-driven development workflows because the skill requires it to retrieve proven, battle-tested test code chunks for context-aware generation. This integration enables the semantic search needed to ground new tests in existing project-specific patterns.

Why does AI-generated testing often ignore local fixture conventions?

AI-generated testing often ignores local fixture conventions because it lacks local project context, creating tests that bypass established mocking, assertion, and fixture conventions. This skill solves that issue by performing split semantic searches before invoking the primary TDD implementation cycle.