Agent skill · Testing & QA

tdd-workflow

TDD London School workflow -- mock-first, outside-in test development

rUv71,307★ · +1,002/wk · 3 repos on radarProfile →
claude-codecodexcan modify filesMIT
Install
npx skills add ruvnet/ruflo --skill tdd-workflow --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Allowed tools: Bash(npx*npm*)mcp__plugin_ruflo-core_ruflo__hooks_pre-taskmcp__plugin_ruflo-core_ruflo__hooks_post-taskReadWriteEdit
Path: plugins/ruflo-testgen/skills/tdd-workflow/SKILL.md
Open the folder on GitHub →
Where it comes from
Source: ruvnet/ruflo
Stars: 67,015 · +629 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

Follow the TDD London School (mock-first) approach: 1. **Write the failing test first** -- define expected behavior with mocked dependencies 2. **Run the test** -- confirm it fails for the right reason 3. **Implement minimal code** -- make the test pass with the simplest solution 4. **Refactor** -- clean up while keeping tests green 5. **Repeat** -- add the next behavior Before starting: `mcp__plugin_ruflo-core_ruflo__hooks_pre-task({ description: "TDD: FEATURE_NAME" })` After completing: `mcp__plugin_ruflo-core_ruflo__hooks_post-task({ taskId: "tdd-FEATURE", success: true, storeResults: true })` Principles: - Mock external dependencies at boundaries - Test behavior, not implementation - One assertion per test when possible - Descriptive names: `should [behavior] when [condition]`

More from ruflo
All skills →
About this skill
What does the tdd-workflow skill do?

TDD London School workflow -- mock-first, outside-in test development

How do I install it?

Run `npx skills add ruvnet/ruflo --skill tdd-workflow --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ruvnet/ruflo, a repository with 67,015 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going