frog-cycle

Orchestrate the TDD red-green-refactor cycle with isolated sub-agents.

5|Updated Nov 22, 2025
One-click install
npx skills add https://github.com/AutumnsGrove/Lattice --skill frog-cycle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frog-cycle
Source: https://github.com/AutumnsGrove/Lattice/tree/main/.claude/skills/frog-cycle
Command: npx skills add https://github.com/AutumnsGrove/Lattice --skill frog-cycle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the Test-Driven Development (TDD) cycle, ensuring disciplined development by using isolated sub-agents for each phase (red-green-refactor).

Core Features & Use Cases

  • Automated TDD Workflow: Manages the entire red-green-refactor cycle, from writing failing tests to implementing code and refactoring.
  • Phase Isolation: Uses distinct AI agents for writing tests (adversarial), implementing code (minimum viable), and refactoring (structural improvement), preventing context mixing.
  • Use Case: When building a new feature, you can instruct the Frog to "TDD this new user authentication module," and it will handle the entire process of writing tests, implementing the code, and cleaning it up, ensuring robust and well-tested code from the start.

Quick Start

Use the frog-cycle skill to TDD a new function that validates email addresses.

Frequently Asked Questions about frog-cycle

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

FAQPage Schema
How do I automate the TDD red-green-refactor cycle?

You can automate the TDD cycle by orchestrating isolated sub-agents for specification, implementation, and refactoring. This manages phase transitions based on test outcomes to ensure disciplined, test-first development without manual context switching.

How does isolated agent phase isolation work in test-driven development?

Isolated agents in test-driven development work by assigning distinct AI agents to each phase: an adversarial agent writes tests, a minimum viable agent implements code, and a structural agent refactors. This prevents context mixing and enforces strict TDD principles.

Can I use an automated TDD workflow for new feature development?

Yes, you can use an automated TDD workflow for new feature development. By instructing the system to TDD a specific module, it handles the entire process of writing failing tests, implementing the code, and cleaning it up automatically.

What is the best way to ensure disciplined test-first development?

The best way to ensure disciplined test-first development is to use an orchestrator that automates the red-green-refactor cycle. It manages phase transitions based on test outcomes, guaranteeing adherence to strict TDD principles throughout the workflow.

How do I prevent context mixing when refactoring code during TDD?

To prevent context mixing during TDD refactoring, use a dedicated structural improvement agent isolated from the test-writing and implementation phases. This ensures the refactoring phase focuses solely on structural cleanup without altering functional behavior.