hive-tdd-pipeline

Execute a TDD Red-Green-Verify pipeline with agent isolation and hard gates.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/inhyoe/hive-plugin --skill hive-tdd-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hive-tdd-pipeline
Source: https://github.com/inhyoe/hive-plugin/tree/main/skills/hive-tdd-pipeline
Command: npx skills add https://github.com/inhyoe/hive-plugin --skill hive-tdd-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the rigorous TDD (Test-Driven Development) Red-Green-Verify cycle, ensuring code quality through agent isolation and multi-layered testing before proceeding to end-to-end validation.

Core Features & Use Cases

  • Agent Isolation: Enforces strict separation between test writers and implementers to prevent context pollution.
  • TDD Red Phase (G4): Generates example-based and property-based tests that must all fail initially.
  • Implement Green Phase (G5): Implements code to make all generated tests pass within a limited iteration count, with test tampering detection.
  • Cross-Verify Phase (G6): Conducts mutation testing, property-based testing, and cross-model review for comprehensive validation.
  • Use Case: Integrate this Skill into a CI/CD pipeline to automatically enforce TDD best practices for AI-generated code, catching bugs early and ensuring robustness.

Quick Start

Use the hive-tdd-pipeline skill to execute the TDD Red phase, generating failing tests based on the provided SPEC document.

Frequently Asked Questions about hive-tdd-pipeline

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

FAQPage Schema
How do I automate the TDD Red-Green cycle for AI-generated code?

You can automate the TDD Red-Green cycle by executing a pipeline that generates failing tests, implements code to pass them, and runs verification. This skill enforces agent isolation between test writers and implementers to prevent context pollution.

What is agent isolation in TDD pipelines and why is it needed?

Agent isolation in TDD pipelines enforces strict separation between test writers and code implementers. This separation prevents context pollution, ensuring the implementation agent does not artificially tailor tests to pass without meeting true specifications.

How do I add mutation testing and property-based testing to a CI/CD pipeline?

You add mutation and property-based testing to CI/CD by running a cross-verify phase after implementation. This phase executes mutation tests, runs property-based checks, and conducts cross-model reviews to validate code robustness comprehensively.

Can I enforce test tampering detection during AI code generation?

Yes, you can enforce test tampering detection during the Green phase. The pipeline monitors the implementation process within a limited iteration count to detect if the AI agent has improperly modified generated tests to force a passing state.

Does this pipeline generate both example-based and property-based tests automatically?

Yes, the pipeline automatically generates both example-based and property-based tests during the Red phase. It requires all generated tests to fail initially, ensuring the subsequent implementation phase adheres strictly to the provided SPEC document.