chrisryugj

Test Driven Development — Testing skill for Claude Code

Testing community

Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring f.

How to install Test Driven Development

Installs to ~/.claude/skills/chrisryugj-lexdiff-test-driven-development/SKILL.md

Terminal
mkdir -p ~/.claude/skills/chrisryugj-lexdiff-test-driven-development && curl -fsSL https://raw.githubusercontent.com/chrisryugj/lexdiff/HEAD/.claude/skills/test-driven-development.md -o ~/.claude/skills/chrisryugj-lexdiff-test-driven-development/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Test Driven Development does


name: test-driven-development description: Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring failure first

Test-Driven Development (TDD)

Overview

Write the test first. Watch it fail. Write minimal code to pass.

**Core principle:** If you didn't watch the test fail, you don't know if it tests the right thing.

**Violating the letter

Alternatives in Testing

  • Fix Issue — by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol 46.5k ★
  • Add Plugin — Integrate a spec-driven/skill framework as a bundled agtx plugin 1.5k ★
  • Agent Plugins Spec — Agent Plugins Specification v1.0.0 — A minimal standard for packaging agent extensions into distributable plug 1.2k ★

Full documentation available on GitHub

View Source Repository