Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Create a Test-Driven Development Workflow Generator

Overview

Have Claude Code interview you about a project and turn the answers into a test-first workflow: CLAUDE.md rules and a reusable skill that plans each change as failing tests, code and a passing run.

Problem or Objective

More in Coding and Code Review

AI Agents and Models

Tools and Integrations

Tools
Claude Code · Git
Prerequisites
Most Claude Code surfaces require a Claude subscription or an Anthropic Console account. A project with a working test runner.

How It Works

Open Claude Code in the project and ask it to interview you one question at a time: language and framework, test runner and the command that runs it, where tests live, naming conventions, how fast the suite is, what must never be touched, and how changes are reviewed. Ask it to propose, before writing anything, a test-first workflow for this project: write a failing test, confirm it fails for the right reason, write the smallest change that passes, run the suite, then tidy up. Once you agree, have it write the rules into CLAUDE.md and package the steps as a project skill you can call for each new feature or bug, which first asks what behaviour is wanted and then lists the tests it will write. Try the skill on one small change, read the tests and the diff, and adjust the rules where it skipped a step. Commit the CLAUDE.md and skill files yourself after review so the team can use them.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up Claude Code.
  2. Connect the toolsConnect the tools this workflow relies on: Claude Code, Git.
  3. Check the prerequisitesMost Claude Code surfaces require a Claude subscription or an Anthropic Console account. A project with a working test runner.
  4. Gather your detailsCollect what the prompt asks for: Kind of project, Command that runs the tests, Name for the new skill.
  5. Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.

Practical Starter Prompt: Interview me and set up test-first work

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
Interview me one question at a time about this [Kind of project] project: test runner and command (I think it is [Command that runs the tests]), where tests live, conventions, what must never change, and how we review work. Then propose a test-first workflow for it and wait for my approval. After I approve, add the rules to CLAUDE.md and create a project skill called [Name for the new skill] that, for each change, asks what behaviour is wanted, writes failing tests, confirms they fail, makes the smallest passing change and runs the full suite. Do not commit; show me the files to review.

Run this in an interactive Claude Code session on a branch. Approve the proposed workflow before it writes files, review the CLAUDE.md rules and skill, try the skill on one small change, and commit the files yourself only after that review.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. The Claude Code overview documents CLAUDE.md, skills and writing and running tests, and the home page says it runs your tests and checks with you when it needs a decision. No cited page shows a test-first workflow generator built this way, so how strictly the generated skill keeps to test-first steps is untested here.

Limitations and Considerations

Most Claude Code surfaces require a Claude subscription or an Anthropic Console account. Read the tests it writes as carefully as the code: a test that checks the wrong thing passes just as easily. Keep the workflow on a branch and review the CLAUDE.md and skill files before committing them, since every later session will follow them. Check the permission settings before letting it run commands without asking. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Related Videos

About anthropics/claude-code

About anthropics/claude-code

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Overview - Claude Code Docs (opens in a new tab)

    Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC

    What this source supports
    • CLAUDE.md is a markdown file you add to your project root that Claude Code reads at the start of every session.
    • Claude Code handles the tedious tasks that eat up your day: writing tests for untested code, fixing lint errors across a project, resolving merge conflicts, updating dependencies, and writing release notes.
    • Most surfaces require a Claude subscription or Anthropic Console account.
  2. Claude Code by Anthropic | AI coding agent and assistant (opens in a new tab)

    Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:59 UTC

    What this source supports
    • Claude Code is designed to follow imports across the repo, run your tests, and keep going when something breaks, checking with you when it needs a decision.
Report a problem

More with Claude Code

Planned, not done

Create Custom Store Tools Instead of Paying for Subscriptions

Use Claude Code to write small in-house tools for an online shop, such as a reply helper for support mail or a margin report, as an alternative to paying for separate apps, with testing before you rely on them.

code.claude.comanthropics/claude-code
Reported by source

Answer technical questions by letting async agents run experiments

Simon Willison sends research questions to cloud coding agents such as Claude Code for web and Codex Cloud, which write and run experiments in a dedicated repo and open a PR.

simonwillison.net · 6 Nov 2025anthropics/claude-code, openai/codex
Planned, not done

Structure Repeated Browser Research Into Evidence Tables

Give Claude Code the open-source Browser Use CLI with a local browser, ask the same research questions across a short list of pages, and keep every answer as a sourced table row.

github.comanthropics/claude-code, browser-use/browser-use

View all: Claude Code