Skip to main content

TDD

Skill Active

Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.

Purpose

To guide users in implementing test-driven development, ensuring robust and maintainable code through a structured red-green-refactor process.

Features

  • Guides TDD with red-green-refactor loop
  • Emphasizes integration tests through public interfaces
  • Discourages implementation-detail testing
  • Promotes vertical slicing over horizontal slicing
  • Provides refactoring guidance after achieving passing tests

Use Cases

  • When building new features using TDD
  • When fixing bugs using a test-first approach
  • When aiming for integration tests over mocks
  • When wanting to learn or enforce TDD principles

Non-Goals

  • Testing implementation details
  • Writing all tests before any implementation
  • Writing code without a corresponding failing test
  • Refactoring while tests are still failing

Trust

  • info:Issues AttentionOpened issues in the last 90 days: 27, closed issues in the last 90 days: 117. The closure rate is relatively high, indicating good responsiveness.

Versioning

  • warning:Release ManagementThere is no explicit versioning (e.g., semver in frontmatter, GitHub releases, or CHANGELOG) and install instructions reference 'main', making it difficult to pin specific versions.

Installation

/plugin install skills@mattpocock-skills

Quality Score

95 /100
Analyzed about 20 hours ago

Trust Signals

Last commit1 day ago
Stars78.5k
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.