Agent skill

Conducty TDD

by robertbarclayy in robertbarclayy/conducty

Test-driven development at orchestrator (verification-first planning) and implementer (red-green-refactor) levels.

MITAuto-check passedTesting & QA

Install Conducty TDD

skills CLI
$ npx skills add robertbarclayy/conducty --skill conducty-tdd -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install robertbarclayy/conducty conducty-tdd --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/robertbarclayy/conducty.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/conducty-tdd .claude/skills/conducty-tdd && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
conducty-tdd
GitHub stars
176
Token cost
~1.6k tokens
SKILL.md length
829 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

Test-driven development at orchestrator (verification-first planning) and implementer (red-green-refactor) levels.

  • Works in 6 steps: RED — Write one minimal test that… → Verify RED — Confirm it fails because… → GREEN — Write the simplest code that… → …
  • Implementing any feature/bugfix
  • SKILL.md covers The Two Levels, The Iron Law, Good Tests and Prompt Smells, plus 2 more sections
  • Calls npm

What it does

Conducty TDD is an agent skill from robertbarclayy/conducty. Test-driven development at orchestrator (verification-first planning) and implementer (red-green-refactor) levels. Use when implementing any feature/bugfix, when writing tests, when the plan specifies TDD, or when the user says "TDD", "red-green-refactor", "write the test first".

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test-driven development. The repository describes itself as: Stop context-switching. Start batch-planning. Conducty replaces the fragmented cycle of plan → prompt → wait → get distracted → review → fix → repeat with advanced batch planning. The licence is MIT.

When your agent uses it

  • Implementing any feature/bugfix
  • The plan specifies TDD
  • The user says TDD
  • Red-green-refactor

Example prompts

  • “red-green-refactor”
  • “write the test first”
  • “/conducty-tdd”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. RED — Write one minimal test that describes the desired behavior. Run it (Bash). Watch it fail.
  2. Verify RED — Confirm it fails because the feature is missing, not because of a typo or import error.
  3. GREEN — Write the simplest code that makes the test pass. Nothing more.
  4. Verify GREEN — Run the test. Confirm it passes. Run all tests. Confirm no regressions.
  5. REFACTOR — Clean up: remove duplication, improve names, extract helpers. Keep tests green.
  6. Repeat — Next behavior, next test.

What it can do on your machine

Read from SKILL.md and the folder at commit 64aefd5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Conducty TDD loads about 1.6k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 829 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~73
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from robertbarclayy/conducty at commit 64aefd5, republished under its MIT licence (© robertbarclayy). 829 words, ~1,629 tokens.

Download SKILL.mdSave it as .claude/skills/conducty-tdd/SKILL.md (or your agent's skills folder).
name
conducty-tdd
description
Test-driven development at orchestrator (verification-first planning) and implementer (red-green-refactor) levels. Use when implementing any feature/bugfix, when writing tests, when the plan specifies TDD, or when the user says "TDD", "red-green-refactor", "write the test first".
aliases
conducty-tdd, tdd
tags
conducty/skill, conducty/tdd

Conducty TDD — Test-Driven Development for Orchestrated Agents

TDD in Conducty operates at two levels: the orchestrator writes the "test" (verification command + acceptance criteria) before writing the prompt, and the implementer follows red-green-refactor within each prompt. Both levels follow the same discipline: define what success looks like before doing the work.

The Two Levels

Level 1: Orchestrator TDD (Plan Time)

The orchestrator (you, during [[conducty-plan]]) writes the verification step FIRST for every prompt. This is the test. If you can't write a concrete verification command, the acceptance criteria aren't clear enough — fix them before generating the prompt.

Define verification → Write prompt → Execute → Verify → Learn

This maps directly to red-green-refactor:

  • Red: The verification command would fail right now (feature doesn't exist yet)
  • Green: After execution, the verification command passes
  • Refactor: In [[conducty-improve]], refine the prompt template based on what worked

If you can't write the verification step, you don't understand what you're building. Go back to [[conducty-shape]].

Level 2: Implementer TDD (Execution Time)

The implementer subagent follows classical red-green-refactor within each prompt:

  1. RED — Write one minimal test that describes the desired behavior. Run it (Bash). Watch it fail.
  2. Verify RED — Confirm it fails because the feature is missing, not because of a typo or import error.
  3. GREEN — Write the simplest code that makes the test pass. Nothing more.
  4. Verify GREEN — Run the test. Confirm it passes. Run all tests. Confirm no regressions.
  5. REFACTOR — Clean up: remove duplication, improve names, extract helpers. Keep tests green.
  6. Repeat — Next behavior, next test.
How They Connect

The orchestrator's verification step is the acceptance test. The implementer's TDD cycle produces unit tests. When the implementer finishes, the orchestrator runs the verification command (via [[conducty-verify]]) to confirm the acceptance test passes. Both levels must be green.

The Iron Law

NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST

This applies to implementers. If code was written before its test, delete the code and start over. Not "adapt it," not "keep it as reference" — delete it and write the test first.

At the orchestrator level: no prompt without a verification step. If the verification field is empty, the prompt is not ready.

Good Tests

Test behavior, not implementation. A test that breaks when you refactor (without changing behavior) is testing the wrong thing. Tests should survive restructuring.

One test, one behavior. If the test name contains "and," split it. Each test should have exactly one reason to fail.

Real code over mocks. Use mocks only when external dependencies force it (network, database, third-party APIs). Mocking your own code means the code is too coupled — fix the coupling.

Names describe the behavior. rejects empty email tells you what broke. test_email_3 tells you nothing.

Failure messages diagnose the problem. A good assertion message tells you what happened and what was expected without reading the test code.

Show full SKILL.md (374 more words)Show less

Prompt Smells

Signs that a prompt will fail before you run it. Check for these during [[conducty-plan]] Step 5e.

SmellWhat It Looks LikeWhy It FailsFix
Vague acceptance"Make it work" / "Improve performance"Agent has no concrete target, builds whatever seems rightAdd specific criteria: "response time < 200ms for 1000 records"
Missing contextPrompt references modules not listed in Context fieldAgent can't find the code it needs, guesses at structureAdd the file paths to Context
Mixed concernsOne prompt creates a new API endpoint AND redesigns the auth systemAgent loses focus, does both poorlySplit into two prompts
No verificationVerification field is empty or says "check manually"No objective pass/fail — the agent declares victory, you hopeWrite a concrete command: npm test -- --grep auth
Unbounded scope"And anything else that needs updating" / no no-go zonesAgent restructures half the codebase "while it's there"Add explicit no-go zones
Exceeds appetiteTime budget says 30 min but it's a 3-file integration taskAgent runs out of budget or produces rushed workSimplify scope or increase budget
Missing characterizationModifies existing code without verifying current tests pass firstAgent breaks existing behavior without noticingAdd characterization step
Implicit knowledgeAssumes agent knows project conventions not stated anywhereAgent uses its own conventions, inconsistent with codebaseState conventions explicitly or reference context file
Dependency on luckCorrect implementation requires choosing the right library/approachAgent picks wrong approach, wastes the entire promptSpecify the approach in the prompt

When to Skip TDD

TDD applies to almost all implementation work. Genuine exceptions:

  • Throwaway prototypes the user explicitly marks as disposable
  • Generated code from tools (schema generators, scaffolding) where tests are pre-provided
  • Configuration changes that don't have testable behavior (though verification still applies)

"This is too simple for TDD" is not an exception. Simple code breaks. The test takes 30 seconds. Write it.

Integration with Conducty

  • [[conducty-plan]] references this skill when writing prompt templates — every feature and bugfix template includes TDD steps
  • [[conducty-execute]] ensures implementer subagents follow TDD within their prompts
  • [[conducty-verify]] is the orchestrator-level "test run" — it validates the acceptance criteria
  • [[conducty-improve]] learns from test failures to improve future prompt templates
  • Prompt smells are checked during [[conducty-plan]] Step 5e before the plan is finalized

© robertbarclayy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/conducty-tdd of robertbarclayy/conducty.

Open the folder on GitHubat commit 64aefd5

Compare with similar skills

Conducty TDD next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Conducty TDD compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Conducty TDD this skillrobertbarclayy/conducty176—~1.6kAutomated safety check: PassMIT
TDDpietheinstrengholt/rssmonster56430 repos~906Automated safety check: PassMIT
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
TDDsanity-io/sanity6.4k20 repos~1kAutomated safety check: PassMIT
Test Driven Developmentfarm-fe/farm5.6k51 repos~2.5kAutomated safety check: PassMIT
Tapd Story PipelineTencentBlueKing/bk-bcs840—~2.6kAutomated safety check: PassCustom licence

Similar skills

  • TDD

    pietheinstrengholt/rssmonster

    Test-driven development. An agent skill from pietheinstrengholt/rssmonster.

    564 GitHub starsUsed in 30 repos~906 tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • TDD

    sanity-io/sanity

    Official

    Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 20 repos~1k tokens
    Testing & QAAuto-check passed
  • A skill your agent uses when implementing any feature or bugfix, before writing implementation code

    5.6k GitHub starsUsed in 51 repos~2.5k tokens
    Testing & QAAuto-check passed
  • Tapd Story Pipeline

    TencentBlueKing/bk-bcs

    单需求实现流水线——把一个 TAPD 需求从零推进到代码提交。自动串联技术澄清、 开发计划、任务拆分、TDD 实现、架构/安全校验、代码提交六个阶段。

    840 GitHub stars~2.6k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Absolute Init

    maddhruv/absolute

    One-time setup for absolute: interview how you want it to behave (output style, autonomy, TDD strictness, spec dir, families) + detect the stack once, then write .absolute.config.json (project…

    219 GitHub starsUsed in 1 repo~3k tokens
    Testing & QAAuto-check passed

More from robertbarclayy/conducty

All 20 skills in this repo
  • Conducty Checkpoint

    robertbarclayy/conducty

    Quality gate between parallelization groups. An agent skill from robertbarclayy/conducty.

    176 GitHub stars~1.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Conducty Code Review

    robertbarclayy/conducty

    Standalone post-implementation code review across a whole branch or PR.

    176 GitHub stars~2k tokensUpdated 3 mo ago
    Auto-check passed
  • Conducty Context

    robertbarclayy/conducty

    Ingest a project directory into the Obsidian vault as a linked context sub-graph — Architecture, Conventions, Invariants, Hotspots, Tests, Glossary, plus per-bounded-context module notes.

    176 GitHub stars~3.7k tokensUpdated 3 mo ago
    Auto-check passed
  • Conducty Debug

    robertbarclayy/conducty

    Leverage-point analysis for failed prompts. An agent skill from robertbarclayy/conducty.

    176 GitHub stars~1.9k tokensUpdated 3 mo ago
    Auto-check passed
  • Conducty Execute

    robertbarclayy/conducty

    Dispatches Claude Code Task subagents to run prompts from a vault plan note.

    176 GitHub stars~2.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Conducty Improve

    robertbarclayy/conducty

    End-of-plan improvement kata. An agent skill from robertbarclayy/conducty.

    176 GitHub stars~1.5k tokensUpdated 3 mo ago
    Auto-check passed

Categories

Questions about Conducty TDD

What does Conducty TDD do?

Test-driven development at orchestrator (verification-first planning) and implementer (red-green-refactor) levels. Conducty TDD is an agent skill from robertbarclayy/conducty. Test-driven development at orchestrator (verification-first planning) and implementer (red-green-refactor) levels.

When should I use Conducty TDD?

Conducty TDD fits situations like: implementing any feature/bugfix; the plan specifies TDD; the user says TDD; red-green-refactor.

How do I install Conducty TDD in Claude Code?

Run `npx skills add robertbarclayy/conducty --skill conducty-tdd -a claude-code`. Or copy the skill folder (skills/conducty-tdd in robertbarclayy/conducty) into .claude/skills/conducty-tdd in your project. Claude Code loads it when a task matches its description.

How do I install Conducty TDD in Codex?

Run `npx skills add robertbarclayy/conducty --skill conducty-tdd -a codex`. Or copy the skill folder (skills/conducty-tdd in robertbarclayy/conducty) into .agents/skills/conducty-tdd in your project. Codex loads it when a task matches its description.

Can I use Conducty TDD in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add robertbarclayy/conducty --skill conducty-tdd -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/conducty-tdd, .gemini/skills/conducty-tdd, .github/skills/conducty-tdd and .opencode/skills/conducty-tdd in your project.

What does Conducty TDD need to run?

Going by SKILL.md and its folder, Conducty TDD needs the command-line tools its instructions call (npm).

Does Conducty TDD access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Conducty TDD safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Conducty TDD use?

Conducty TDD is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Conducty TDD use?

About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Conducty TDD?

Skills that share tags, products or a category with Conducty TDD: TDD (pietheinstrengholt/rssmonster, 564 stars), TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars), TDD (sanity-io/sanity, 6.4k stars) and Test Driven Development (farm-fe/farm, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Conducty TDD?

robertbarclayy (a GitHub user) maintains it in robertbarclayy/conducty, which has 176 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on June 19, 2026.

Source: robertbarclayy/conducty on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.