tdd-feature

Guide feature development through test-driven RED-GREEN-REFACTOR workflows.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/venomez-viper/PathWise --skill tdd-feature-venomez-viper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-feature
Source: https://github.com/venomez-viper/PathWise/tree/main/.claude/skills/testing/tdd-feature
Command: npx skills add https://github.com/venomez-viper/PathWise --skill tdd-feature-venomez-viper

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Red-green-refactor scaffold for building new features with TDD ensures tests drive implementation, reducing flaky features and aligning expectations early.

Core Features & Use Cases

  • Test-first workflow: Define acceptance criteria as tests before coding.
  • Phased development process: Phase 1–6 guidance from feature scope to integration.
  • AI-assisted implementation: AI generates minimal code to satisfy tests, with iterative red-green cycles.
  • Documentation and templates: Provides templates for test suites and API design.

Quick Start

Describe a new feature as a failing test suite and instruct the AI to implement the simplest code that makes all tests pass.

Frequently Asked Questions about tdd-feature

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

FAQPage Schema
How do I use test-driven development to build a new software feature?

Test-driven development for a new feature involves defining acceptance criteria as a failing test suite first, then generating the simplest implementation to make tests pass. This enforces a phased red-green-refactor cycle for maintainable code.

What is the red-green-refactor workflow in test-driven development?

The red-green-refactor workflow in test-driven development is a phased cycle where you write failing tests, generate minimal code to pass them, and then optimize the implementation. It ensures tests drive feature development and align expectations early.

Can AI generate implementation code from a failing test suite?

AI can generate implementation code from a failing test suite by following an iterative red-green cycle. It analyzes the test expectations and produces the simplest code required to satisfy the tests, ensuring the feature scope is met before refactoring.

Does test-driven development with AI guidance work for new modules and features?

Test-driven development with AI guidance is specifically designed for projects starting a new module or feature. It applies a six-phase process from feature scope definition to integration, ensuring tests are written first and drive the AI-generated implementation.

When should I not use a test-first workflow for feature development?

You should not use a test-first workflow for feature development when working on exploratory prototypes or legacy code without clear acceptance criteria. The process requires defining test suites and API design templates before any implementation begins.