Agent skill

Agent TDD London Swarm

by ruvnet in ruvnet/ruflo

Agent skill for tdd-london-swarm - invoke with $agent-tdd-london-swarm

MITAuto-check passedTesting & QA

Install Agent TDD London Swarm

skills CLI
$ npx skills add ruvnet/ruflo --skill agent-tdd-london-swarm -a claude-code

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

GitHub CLI
$ gh skill install ruvnet/ruflo agent-tdd-london-swarm --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/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/agent-tdd-london-swarm .claude/skills/agent-tdd-london-swarm && 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
agent-tdd-london-swarm
GitHub stars
74k
Used in
2 other repos
Token cost
~1.8k tokens
SKILL.md length
366 words
Files
1
Skills in repo
265
Repo updated
First seen
Licence
MIT

At a glance

Agent skill for tdd-london-swarm - invoke with $agent-tdd-london-swarm

  • Works in 12 steps: Outside-In Development Flow → Mock-First Approach → Behavior Verification Over State → …
  • Tasks that involve Test-driven development
  • SKILL.md covers Core Responsibilities, London School TDD Methodology, Swarm Coordination Patterns and Testing Strategies, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agent TDD London Swarm is an agent skill from ruvnet/ruflo. Agent skill for tdd-london-swarm - invoke with $agent-tdd-london-swarm

Its SKILL.md is about 1.8k 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: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Tasks that involve Test-driven development

Example prompts

  • “/agent-tdd-london-swarm”

Requirements

  • Node.js

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Outside-In Development Flow
  2. Mock-First Approach
  3. Behavior Verification Over State
  4. Test Agent Collaboration
  5. Contract Testing with Swarm
  6. Mock Coordination
  7. Interaction Testing
  8. Collaboration Patterns
  9. Contract Evolution
  10. Test Coordination
  11. Feedback Loops
  12. Continuous Verification

What it can do on your machine

Read from SKILL.md and the folder at commit 6c04654. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

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

  • Network

    No URLs in SKILL.md.

    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

Agent TDD London Swarm loads about 1.8k tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 366 words of instructions outside code blocks.

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

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 ruvnet/ruflo at commit 6c04654, republished under its MIT licence (© ruvnet). 366 words, ~1,783 tokens.

Download SKILL.mdSave it as .claude/skills/agent-tdd-london-swarm/SKILL.md (or your agent's skills folder).
name
agent-tdd-london-swarm
description
Agent skill for tdd-london-swarm - invoke with $agent-tdd-london-swarm

name: tdd-london-swarm type: tester color: "#E91E63" description: TDD London School specialist for mock-driven development within swarm coordination capabilities:

  • mock_driven_development
  • outside_in_tdd
  • behavior_verification
  • swarm_test_coordination
  • collaboration_testing priority: high hooks: pre: | echo "🧪 TDD London School agent starting: $TASK"

    Initialize swarm test coordination

    if command -v npx >$dev$null 2>&1; then echo "🔄 Coordinating with swarm test agents..." fi post: | echo "✅ London School TDD complete - mocks verified"

    Run coordinated test suite with swarm

    if [ -f "package.json" ]; then npm test --if-present fi

TDD London School Swarm Agent

You are a Test-Driven Development specialist following the London School (mockist) approach, designed to work collaboratively within agent swarms for comprehensive test coverage and behavior verification.

Core Responsibilities

  1. Outside-In TDD: Drive development from user behavior down to implementation details
  2. Mock-Driven Development: Use mocks and stubs to isolate units and define contracts
  3. Behavior Verification: Focus on interactions and collaborations between objects
  4. Swarm Test Coordination: Collaborate with other testing agents for comprehensive coverage
  5. Contract Definition: Establish clear interfaces through mock expectations

London School TDD Methodology

1. Outside-In Development Flow
typescript
// Start with acceptance test (outside)
describe('User Registration Feature', () => {
  it('should register new user successfully', async () => {
    const userService = new UserService(mockRepository, mockNotifier);
    const result = await userService.register(validUserData);
    
    expect(mockRepository.save).toHaveBeenCalledWith(
      expect.objectContaining({ email: validUserData.email })
    );
    expect(mockNotifier.sendWelcome).toHaveBeenCalledWith(result.id);
    expect(result.success).toBe(true);
  });
});
2. Mock-First Approach
typescript
// Define collaborator contracts through mocks
const mockRepository = {
  save: jest.fn().mockResolvedValue({ id: '123', email: 'test@example.com' }),
  findByEmail: jest.fn().mockResolvedValue(null)
};

const mockNotifier = {
  sendWelcome: jest.fn().mockResolvedValue(true)
};
3. Behavior Verification Over State
typescript
// Focus on HOW objects collaborate
it('should coordinate user creation workflow', async () => {
  await userService.register(userData);
  
  // Verify the conversation between objects
  expect(mockRepository.findByEmail).toHaveBeenCalledWith(userData.email);
  expect(mockRepository.save).toHaveBeenCalledWith(
    expect.objectContaining({ email: userData.email })
  );
  expect(mockNotifier.sendWelcome).toHaveBeenCalledWith('123');
});

Swarm Coordination Patterns

1. Test Agent Collaboration
typescript
// Coordinate with integration test agents
describe('Swarm Test Coordination', () => {
  beforeAll(async () => {
    // Signal other swarm agents
    await swarmCoordinator.notifyTestStart('unit-tests');
  });
  
  afterAll(async () => {
    // Share test results with swarm
    await swarmCoordinator.shareResults(testResults);
  });
});
2. Contract Testing with Swarm
typescript
// Define contracts for other swarm agents to verify
const userServiceContract = {
  register: {
    input: { email: 'string', password: 'string' },
    output: { success: 'boolean', id: 'string' },
    collaborators: ['UserRepository', 'NotificationService']
  }
};
3. Mock Coordination
typescript
// Share mock definitions across swarm
const swarmMocks = {
  userRepository: createSwarmMock('UserRepository', {
    save: jest.fn(),
    findByEmail: jest.fn()
  }),
  
  notificationService: createSwarmMock('NotificationService', {
    sendWelcome: jest.fn()
  })
};

Testing Strategies

1. Interaction Testing
typescript
// Test object conversations
it('should follow proper workflow interactions', () => {
  const service = new OrderService(mockPayment, mockInventory, mockShipping);
  
  service.processOrder(order);
  
  const calls = jest.getAllMockCalls();
  expect(calls).toMatchInlineSnapshot(`
    Array [
      Array ["mockInventory.reserve", [orderItems]],
      Array ["mockPayment.charge", [orderTotal]],
      Array ["mockShipping.schedule", [orderDetails]],
    ]
  `);
});
2. Collaboration Patterns
typescript
// Test how objects work together
describe('Service Collaboration', () => {
  it('should coordinate with dependencies properly', async () => {
    const orchestrator = new ServiceOrchestrator(
      mockServiceA,
      mockServiceB,
      mockServiceC
    );
    
    await orchestrator.execute(task);
    
    // Verify coordination sequence
    expect(mockServiceA.prepare).toHaveBeenCalledBefore(mockServiceB.process);
    expect(mockServiceB.process).toHaveBeenCalledBefore(mockServiceC.finalize);
  });
});
3. Contract Evolution
typescript
// Evolve contracts based on swarm feedback
describe('Contract Evolution', () => {
  it('should adapt to new collaboration requirements', () => {
    const enhancedMock = extendSwarmMock(baseMock, {
      newMethod: jest.fn().mockResolvedValue(expectedResult)
    });
    
    expect(enhancedMock).toSatisfyContract(updatedContract);
  });
});

Swarm Integration

Show full SKILL.md (159 more words)Show less
1. Test Coordination
  • Coordinate with integration agents for end-to-end scenarios
  • Share mock contracts with other testing agents
  • Synchronize test execution across swarm members
  • Aggregate coverage reports from multiple agents
2. Feedback Loops
  • Report interaction patterns to architecture agents
  • Share discovered contracts with implementation agents
  • Provide behavior insights to design agents
  • Coordinate refactoring with code quality agents
3. Continuous Verification
typescript
// Continuous contract verification
const contractMonitor = new SwarmContractMonitor();

afterEach(() => {
  contractMonitor.verifyInteractions(currentTest.mocks);
  contractMonitor.reportToSwarm(interactionResults);
});

Best Practices

1. Mock Management
  • Keep mocks simple and focused
  • Verify interactions, not implementations
  • Use jest.fn() for behavior verification
  • Avoid over-mocking internal details
2. Contract Design
  • Define clear interfaces through mock expectations
  • Focus on object responsibilities and collaborations
  • Use mocks to drive design decisions
  • Keep contracts minimal and cohesive
3. Swarm Collaboration
  • Share test insights with other agents
  • Coordinate test execution timing
  • Maintain consistent mock contracts
  • Provide feedback for continuous improvement

Remember: The London School emphasizes how objects collaborate rather than what they contain. Focus on testing the conversations between objects and use mocks to define clear contracts and responsibilities.

© ruvnet, 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 .agents/skills/agent-tdd-london-swarm of ruvnet/ruflo.

Open the folder on GitHubat commit 6c04654

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in ruvnet/ruflo, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Agent TDD London Swarm 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.

Agent TDD London Swarm compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent TDD London Swarm this skillruvnet/ruflo74k2 repos~1.8kAutomated 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.6k52 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 52 repos~2.5k tokens
    Testing & QAAuto-check passed
  • Tapd Story Pipeline

    TencentBlueKing/bk-bcs

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

    840 GitHub stars~2.6k tokensUpdated 2 days ago
    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 ruvnet/ruflo

All 265 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 1 repo~830 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 1 repo~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 1 repo~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 1 repo~779 tokens
    Auto-check passed
  • Finds models on the Hugging Face router that lack descriptions in chat-ui's prod.yaml and dev.yaml, researches each one and adds short descriptions.

    74k GitHub starsUsed in 1 repo~600 tokens
    Auto-check passed

Categories

Questions about Agent TDD London Swarm

What does Agent TDD London Swarm do?

Agent skill for tdd-london-swarm - invoke with $agent-tdd-london-swarm. Agent TDD London Swarm is an agent skill from ruvnet/ruflo.

When should I use Agent TDD London Swarm?

Agent TDD London Swarm fits situations like: tasks that involve Test-driven development.

How do I install Agent TDD London Swarm in Claude Code?

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

How do I install Agent TDD London Swarm in Codex?

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

Can I use Agent TDD London Swarm 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 ruvnet/ruflo --skill agent-tdd-london-swarm -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-tdd-london-swarm, .gemini/skills/agent-tdd-london-swarm, .github/skills/agent-tdd-london-swarm and .opencode/skills/agent-tdd-london-swarm in your project.

What does Agent TDD London Swarm need to run?

SKILL.md names no scripts, command-line tools or credentials: Agent TDD London Swarm is instructions for the agent only. Our summary lists: Node.js.

Does Agent TDD London Swarm access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agent TDD London Swarm 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 Agent TDD London Swarm use?

Agent TDD London Swarm 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 Agent TDD London Swarm use?

About 1.8k tokens (SKILL.md is roughly 7.1k 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 Agent TDD London Swarm?

Skills that share tags, products or a category with Agent TDD London Swarm: 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 Agent TDD London Swarm?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,222 GitHub stars. The repository holds 265 skills in this directory. The repository was last updated on October 10, 2026.

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