Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

autonomous-tdd-loop

Skill by firebase

Orchestrates a strict TDD loop across subagents to build features. It is for developers who want an AI assistant to write a failing test, apply a fix, and get it checked by Verifier and Reviewer subagents.

  • Score 86
  • 7k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install autonomous-tdd-loop

Built from the published package, never by AI.

git clone --depth 1 https://github.com/firebase/firebase-ios-sdk /tmp/firebase-ios-sdk && mkdir -p ~/.claude/skills && cp -r /tmp/firebase-ios-sdk/.agents/skills/autonomous-tdd-loop ~/.claude/skills/autonomous-tdd-loop

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install autonomous-tdd-loop in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The autonomous-tdd-loop skill coordinates several subagents to implement code changes under strict test validation. It runs a fixed sequence of phases: an environment check, writing a failing test, confirming that the test fails, applying the fix, and confirming that the checks pass. A Verifier subagent runs the tests at each check, and a Reviewer subagent performs a qualitative code review.

The workflow then reverts the fix to confirm the same tests fail again, and reapplies it. It finishes by recording friction in .agents/MEMORY.md, updating CHANGELOG.md under an Unreleased heading, and optionally creating a pull request with the gh CLI. It is aimed at developers who want an AI assistant to follow a disciplined TDD process in their repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Environment checkLooks for AGENTS.md, agents.md or REVIEW_GUIDELINES.md and asks the user for test commands if none exist.
  • Test creationAssesses whether a unit or regression test applies and writes a failing test before any fix.
  • Verifier sanity checksUses a Verifier subagent to confirm the new test fails, then that the required checks pass after the fix.
  • Strict TDD revert loopTemporarily reverts the fix and has the Verifier confirm that the same tests fail again.
  • Reviewer passUses a Reviewer subagent for a code review focused on concurrency, memory management and API design.
  • Memory and changelog updatesRecords systemic friction in .agents/MEMORY.md and updates CHANGELOG.md under an Unreleased section.
  • Pull request creationUses the gh CLI to create a pull request when the user requests one.

What you need

  • An assistant that can invoke subagents (invoke_subagent)
  • An agents.md file at the repository root, ideally
  • Test build and run commands from the user if no agents file exists
  • The gh CLI, if a pull request is requested

Try asking

  • Use autonomous-tdd-loop to fix this bug, writing a failing test first
  • Run the autonomous TDD loop to build this feature in my repo
  • Run the TDD loop on this change and open a PR when the checks pass

Good to know

  • Pauses and asks for test commands if no agents or guidelines file exists
  • The revert phase is skipped if no tests were added
  • Some guidance is specific to Swift concurrency and URLSession

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/autonomous-tdd-loop/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to autonomous-tdd-loop

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

autonomous-tdd-loop: common questions

Does autonomous-tdd-loop need an agents.md file?

An agents.md file is ideal but not strictly required. If none of AGENTS.md, agents.md or REVIEW_GUIDELINES.md exists, the workflow asks the user for the build and test commands.

What does the Verifier subagent do?

The Verifier runs the tests. It first confirms that a new test fails, then confirms that the required checks pass after the fix, and returns a pass or fail result.

Does the skill open pull requests automatically?

No. It uses the gh CLI to create a pull request only if the user requested PR creation. Otherwise it tells the user the loop is complete.

How do I install autonomous-tdd-loop?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is autonomous-tdd-loop free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is autonomous-tdd-loop safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to autonomous-tdd-loop?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

autonomous-tdd-loop Install

Add to stack

Loading.