Automated summary
Drives a London School TDD loop: write a failing test with mocked dependencies, confirm it fails for the right reason, implement the minimum, then refactor.
Strengths
- Explicit five-step loop with an "fails for the right reason" checkpoint
- Mock-first at the boundaries keeps tests fast and isolated
- Clear conventions: test behavior not implementation, one assertion per test, `should [behavior] when [condition]` names
- Optional MCP pre/post-task hooks to record the TDD session
Limitations
- The hooks depend on the ruflo-core plugin; without it those steps are dead weight
- No guidance on which test framework, runner, or mocking library to use
- Blanket boundary mocking leaves integration behavior untested and can yield brittle tests if boundaries are chosen poorly
When starting a new module or feature and you want tests to drive the design from the outside in.
When adding tests to legacy code with no clear boundaries, or when you need integration coverage against real dependencies.
Security analysis
CautionThe skill is a conventional TDD workflow with no malicious or destructive instructions. Its risk is limited to the powerful tool grants: Bash restricted to npx/npm can still execute third-party package code, and Write/Edit can modify files. These capabilities are appropriate for test-driven development but warrant a caution rating rather than safe.
- •Grants Bash scoped to npx/npm, which can install and execute arbitrary package code and lifecycle scripts
- •Grants Write/Edit, allowing modification of repository files during test/implementation steps
- •No destructive commands, exfiltration, obfuscation, or safety-disabling instructions are present
Examples
Use the tdd-workflow skill on src/services/billing. Start by writing a failing test: 'should reject payment when card is declined', mocking the payment gateway.Continue the TDD loop for src/services/billing — add a failing test for 'should refuse refund when amount exceeds original charge', run it to confirm it fails, then implement the minimal code to pass.Tests are green for src/services/billing. Run the refactor step of the tdd-workflow skill: clean up the implementation without changing behavior, and re-run the test suite.name: tdd-workflow description: TDD London School workflow -- mock-first, outside-in test development argument-hint: "<module-path>" allowed-tools: Bash(npx * npm *) mcp__plugin_ruflo-core_ruflo__hooks_pre-task mcp__plugin_ruflo-core_ruflo__hooks_post-task Read Write Edit
Follow the TDD London School (mock-first) approach:
- Write the failing test first -- define expected behavior with mocked dependencies
- Run the test -- confirm it fails for the right reason
- Implement minimal code -- make the test pass with the simplest solution
- Refactor -- clean up while keeping tests green
- 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]
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/tdd-london-school-workflow-mte1lhj7/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/tdd-london-school-workflow-mte1lhj7' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/tdd-london-school-workflow-mte1lhj7/download' --output '.skill-downloads/tdd-london-school-workflow-mte1lhj7/SKILL.md.part' && mv '.skill-downloads/tdd-london-school-workflow-mte1lhj7/SKILL.md.part' '.skill-downloads/tdd-london-school-workflow-mte1lhj7/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash(npx * npm *) mcp__plugin_ruflo-core_ruflo__hooks_pre-task mcp__plugin_ruflo-core_ruflo__hooks_post-task Read Write Edit
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/tdd-london-school-workflow-mte1lhj7/SKILL.md' && test -s '.skill-downloads/tdd-london-school-workflow-mte1lhj7/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/tdd-workflow' && cp -R '.skill-downloads/tdd-london-school-workflow-mte1lhj7' '.claude/skills/tdd-workflow'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/tdd-london-school-workflow-mte1lhj7'openskills read 'tdd-london-school-workflow-mte1lhj7'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/tdd-london-school-workflow-mte1lhj7/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
ClickHouse Performance Comparison
Testing
Evaluate ClickHouse performance test results, check PR performance changes, compare with history, and assess whether a result is actionable.
Analyze CI Performance Reports
Testing
Analyze CI performance comparison reports for a ClickHouse PR. Cross-references master history to distinguish real regressions from flaky tests.
Santa Method
Testing
Multi-agent adversarial verification with two independent reviewers. Output is checked twice and iteratively fixed until both pass before shipping.