coder

Community

Write production code from tests, instantly.

Authorpcortes
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the "Green" phase of Test-Driven Development (TDD) by generating production code that makes existing tests pass. It dramatically accelerates development cycles, ensures code quality by strictly adhering to test requirements, and frees developers from repetitive coding tasks, allowing them to focus on higher-level design.

Core Features & Use Cases

  • TDD Implementation: Writes minimal, correct code to satisfy failing tests, following TDD principles.
  • Test-Driven Development: Infers function signatures, return types, and exception contracts directly from test assertions and usage.
  • Code Generation: Creates new files and modifies existing ones to implement required functionality, ensuring all test imports and calls are satisfied.
  • Use Case: After a TestWriter agent creates failing tests for a new add function, this Skill reads those tests and automatically writes the add function implementation (def add(a: int, b: int) -> int: return a + b), making all tests pass without manual coding.

Quick Start

Implement the necessary Python code to make all tests in 'tests/test_math.py' pass, adhering strictly to the TDD "Green" phase.

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: coder
Download link: https://github.com/pcortes/swarm-attack/archive/main.zip#coder

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