test-first-development

Enforce test-driven development by verifying acceptance tests fail before implementation.

8|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/bostonaholic/team --skill test-first-development-bostonaholic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-first-development
Source: https://github.com/bostonaholic/team/tree/main/skills/test-first-development
Command: npx skills add https://github.com/bostonaholic/team --skill test-first-development-bostonaholic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the common issue of scope creep and incomplete implementation by enforcing a strict test-first contract that defines exactly when a feature is considered finished.

Core Features & Use Cases

  • Immutable Scope Fencing: Locks acceptance tests as the definitive contract before any implementation begins.
  • Traceability: Ensures every line of code is mapped to a specific acceptance test, preventing unplanned work.
  • Use Case: When building a new API endpoint, use this skill to define all success and failure scenarios as tests first, ensuring the implementation is complete only when all tests pass.

Quick Start

Instruct the orchestrator to initialize the test-first-development workflow for the current feature plan.

Frequently Asked Questions about test-first-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce test-driven development to prevent scope creep?

Test-driven development prevents scope creep by locking acceptance tests as an immutable contract before implementation begins. This approach ensures every line of code maps to a specific failing test, preventing unplanned work and defining strict completion criteria for feature delivery.

What is the best way to define completion contracts for software features?

Completion contracts for software features are defined by writing and verifying acceptance tests as failing before any implementation starts. This test-first discipline ensures a feature is considered finished only when all deterministic tests pass, guaranteeing full scope coverage.

How do I start a test-first workflow for an API endpoint?

To start a test-first workflow for an API endpoint, instruct the orchestrator to initialize the process for your current feature plan. You define all success and failure scenarios as acceptance tests first, locking the scope before writing implementation code.

When should I use immutable scope fencing in software engineering?

Immutable scope fencing should be used when building features where scope definition and completion contracts are critical. It locks the test suite during the implementation phase, ensuring strict adherence to deterministic testing rules and preventing mid-development scope changes.

Does test-first development work for existing quality assurance workflows?

Test-first development integrates into quality assurance workflows by enforcing deterministic testing rules and traceability. It requires acceptance tests to be verified as failing prior to implementation, making it suitable for new feature delivery rather than retroactive code validation.