write-failing-test-first

Community

Ensure bugs are properly fixed by writing failing tests first.

AuthorArchive228
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the issue of inadequate testing and ensures bugs are addressed effectively by requiring a failing test to be written before any bug fix.

Core Features & Use Cases

  • Test-Driven Bug Fixes: Encourages a test-first approach, improving the quality of bug fixes.
  • Enhanced Code Confidence: By verifying with a failing test, developers can be confident that fixes do not introduce new issues.
  • Use Case: When encountering a bug, write a test that fails to demonstrate the issue. After debugging, pass the test to validate the fix.

Quick Start

Write a test case that fails to demonstrate a bug, then fix the code until the test passes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: write-failing-test-first
Download link: https://github.com/Archive228/loopkit/archive/main.zip#write-failing-test-first

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.