jikime-workflow-tdd

Guide developers through the RED-GREEN-REFACTOR cycle for Test-Driven Development workflows.

5|1|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/jikime/jikime-adk --skill jikime-workflow-tdd
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: jikime-workflow-tdd
Source: https://github.com/jikime/jikime-adk/tree/main/templates/.claude/skills/jikime-workflow-tdd
Command: npx skills add https://github.com/jikime/jikime-adk --skill jikime-workflow-tdd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides developers through the Test-Driven Development (TDD) process, ensuring new features are built with a robust testing foundation from the start.

Core Features & Use Cases

  • RED-GREEN-REFACTOR Cycle: Enforces the core TDD loop for building software incrementally.
  • TDD Principles: Educates on the fundamental laws and principles (FIRST) of effective TDD.
  • Test Structure Guidance: Provides examples of common testing patterns like AAA and Given-When-Then.
  • Use Case: When developing a new user authentication module, use this Skill to guide the creation of failing tests before writing any authentication code, ensuring security and correctness.

Quick Start

Follow the RED-GREEN-REFACTOR cycle to develop the new user registration feature.

Frequently Asked Questions about jikime-workflow-tdd

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

FAQPage Schema
What is the test-driven development process for building new software features?▼

Test-driven development follows the RED-GREEN-REFACTOR cycle to build software incrementally. You write a failing test first, implement the minimum code to pass it, then refactor while maintaining test coverage and correctness.

How do I structure tests using AAA and Given-When-Then patterns in TDD?▼

TDD structures tests using the AAA (Arrange-Act-Assert) and Given-When-Then patterns to organize test logic clearly. These patterns separate setup, execution, and verification phases to ensure tests remain readable and maintainable.

What are the FIRST principles of effective test-driven development?▼

The FIRST principles of TDD ensure tests are Fast, Independent, Repeatable, Self-validating, and Timely. Following these principles keeps the test suite reliable and ensures it provides immediate, accurate feedback during the development cycle.

When should I use test doubles in my testing workflow?▼

Use test doubles in your testing workflow to isolate the code under test by replacing complex dependencies. This ensures unit tests remain fast and focused on a single component within the testing pyramid without triggering external side effects.

Does test-driven development require any specific testing frameworks or dependencies?▼

Test-driven development does not require specific testing frameworks or external dependencies to implement. The methodology is framework-agnostic, relying on the RED-GREEN-REFACTOR cycle and structural patterns like AAA that can be applied across any software development environment.

TDD vs other software development workflows: why build with tests first?▼

Building with tests first enforces a robust testing foundation from the start, unlike traditional workflows where testing is deferred. This approach incrementally validates security and correctness, preventing regressions and reducing downstream debugging effort.