APD Test-Driven Development

•
4
•

Enforces a strict Red-Green-Refactor workflow and server-side file scope protection for agent-driven software development.

The apd-tdd skill is a core component of the Agent Pipeline Development (APD) framework, designed to ensure code quality and reliability through mandatory test-first development. It mandates a rigorous Red-Green-Refactor cycle where no production code can be written without a preceding failing test, while simultaneously enforcing security through server-side file write guards. By integrating directly into the APD builder phase, it prevents over-engineering, captures edge cases early, and maintains a clean codebase through constant refactoring, making it essential for developers building robust AI-driven applications with Claude Code.

主な機能

01Server-side file write guards via apd_guard_write
024 GitHub stars
03Seamless pipeline integration from specification to builder phases
04Role-based scope enforcement for secure development
05Strict Red-Green-Refactor cycle enforcement
06Mandatory failing test verification before code implementation

ユースケース

01Fixing complex bugs using a test-first debugging approach
02Implementing new features with guaranteed test coverage
03Refactoring legacy code while maintaining functional integrity