use-tdd

SkillDev tools

Implement a requested increment with red-green-refactor. Use when the user types /use-tdd.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the use-tdd skill

What this skill tells your AI

The instructions your AI receives, as published by blockmatic/basilic in .agents/skills/workflow/use-tdd/SKILL.md and read by ahel’s review.

Guide for implementing features using TDD workflow when explicitly requested. TDD follows red-green-refactor cycle: write failing tests first, implement minimal code to pass, then refactor while keeping tests green.

  1. Write Failing Test (Red Phase): Write test describing desired behavior, test should fail initially, focus on behavior not implementation, follow project testing conventions (see @.cursor/rules/base/testing.mdc), use real APIs - no mocks for core functionality
  2. Implement Minimal Code (Green Phase): Write simplest code that makes test pass, don't worry about code quality yet, verify test passes, avoid over-engineering
  3. Refactor (Refactor Phase): Improve code quality while keeping tests green, extract common patterns/improve naming/reduce duplication, ensure all tests still pass, follow project coding standards/linting rules
  4. Repeat Cycle: Continue red-green-refactor for each feature increment, build up functionality incrementally, each cycle should be small and focused

Signals

GitHub stars
89
Forks
11
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
use-tdd
Source
github.com/blockmatic/basilic