test-driven-development
Skill3.2k starsChanged 9 months agoMITView on GitHub
Unified TDD skill with three input modes — from spec, from task, or from description. Enforces test-first development using repository patterns, with proptest guidance and backpressure integration.
191 other projects use a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- NousResearch/hermes-agenttheir own version, first seen Nov 13, 2026
- andreymudri/fleetmatestheir own version, first seen Oct 5, 2026
- Jacobinwwey/notemdprotheir own version, first seen Oct 5, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
- L-X-T/ng-agentic-skillstheir own version, first seen Oct 4, 2026
- GuillemRoca/agent-skills-androidtheir own version, first seen Oct 3, 2026
Who's talking about mikeyobrien/ralph-orchestrator
- A Hacker News story“Show HN: Yet another tool to wrap agents in a loop”Hacker News · Dec 17, 2025 · 6 points
- anthropics/claude-code“Feature Request: Add `clearContext` field to Stop hook output”GitHub · Jan 7, 2026 · 3 reactions
- @rusttrending.bsky.social“mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous …”Bluesky · May 3, 2026 · 2 likes
- @rusttrending.bsky.social“mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous …”Bluesky · Mar 26, 2026 · 2 likes
- @rusttrending.bsky.social“mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous …”Bluesky · Feb 2, 2026 · 1 likes
The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 49
Talked about on GitHub, Bluesky and Hacker News (49 times).
On GitHub · 45
- Jan 7, 2026Feature Request: Add `clearContext` field to Stop hook output — anthropics/claude-code3 reactions · 5 comments
- Jan 4, 2026Add Ralph Wiggum Plugin Support — langgenius/dify1 reaction
- Sep 30, 2026agent-skills.github.mikeyobrien.ralph-orchestrator: init at 2.10.1 — sudosubin/agents.nix0 reactions
- Jul 23, 2026Bump the dev-dependencies group across 1 directory with 8 updates — makioshibori/mma-trpg0 reactions
- Jul 16, 2026Bump the dev-dependencies group across 1 directory with 8 updates — makioshibori/mma-trpg0 reactions · 1 comment
40 more on GitHub
- Jul 9, 2026Bump the dev-dependencies group across 1 directory with 5 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Jul 2, 2026Bump the dev-dependencies group with 8 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Jun 23, 2026ralph-orchestrator 2.10.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 22, 2026ralph-orchestrator 2.10.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 18, 2026Bump the dev-dependencies group across 1 directory with 8 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Jun 11, 2026Bump the dev-dependencies group across 1 directory with 9 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Jun 4, 2026Bump the dev-dependencies group across 1 directory with 6 updates — makioshibori/mma-trpg0 reactions · 1 comment
- May 28, 2026Bump the dev-dependencies group across 1 directory with 10 updates — makioshibori/mma-trpg0 reactions · 1 comment
- May 21, 2026Bump the dev-dependencies group across 1 directory with 6 updates — makioshibori/mma-trpg0 reactions · 1 comment
- May 8, 2026ralph-orchestrator 2.9.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Apr 30, 2026Bump the dev-dependencies group with 9 updates — makioshibori/mma-trpg0 reactions · 1 comment
- Apr 18, 2026Audit candidate: mikeyobrien/ralph-orchestrator — xiaolai/nlpm0 reactions · 4 comments
- Apr 10, 2026ralph-orchestrator 2.9.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Apr 4, 2026ralph-orchestrator 2.9.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Mar 16, 2026ralph-orchestrator 2.8.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Mar 10, 2026ralph-orchestrator 2.8.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Mar 6, 2026ralph-orchestrator 2.7.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 28, 20262026-02-28 — marcindulak/learning-api-styles-gen-ai-experiments0 reactions
- Feb 25, 2026Add ralph skill with proper attribution — ZealousEar/claude-skills0 reactions
- Feb 25, 2026ralph-orchestrator 2.6.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 20, 2026Ralph Loop Orchestrator — MateuszNaKodach/SelfImprovement0 reactions
- Feb 14, 2026ralph-orchestrator 2.5.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 8, 2026ralph-orchestrator 2.5.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 5, 2026ralph-orchestrator 2.4.4 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 2, 2026ralph-orchestrator 2.4.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 2, 2026ralph-orchestrator 2.4.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 30, 2026ralph-orchestrator 2.4.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 29, 2026ralph-orchestrator 2.3.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 29, 2026ralph-orchestrator 2.3.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 26, 2026ralph-orchestrator 2.2.5 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 25, 2026ralph-orchestrator 2.2.4 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 24, 2026ralph-orchestrator 2.2.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 22, 2026ralph-orchestrator 2.2.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 22, 2026ralph-orchestrator 2.2.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 21, 2026ralph-orchestrator 2.1.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 20, 2026ralph-orchestrator 2.1.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 20, 2026ralph-orchestrator 2.1.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 19, 2026ralph-orchestrator 2.0.10 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 18, 2026ralph-orchestrator 2.0.9 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 10, 2026Add resource: ralph-orchestrator — hesreallyhim/awesome-claude-code0 reactions
On Bluesky · 3
- May 3, 2026mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous AI agent orchestration ★2797… — @rusttrending.bsky.social2 likes and reposts
- Mar 26, 2026mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous AI agent orchestration ★2371… — @rusttrending.bsky.social2 likes and reposts · 1 reply
- Feb 2, 2026mikeyobrien / ralph-orchestrator: An improved implementation of the Ralph Wiggum technique for autonomous AI agent orchestration ★1590… — @rusttrending.bsky.social1 likes and repost
On Hacker News · 1
- Dec 17, 2025Show HN: Yet another tool to wrap agents in a loop6 points
Used with
Projects with it also use diagnosing-superpowers, api-and-interface-design and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 6 projects that use this
LLl0k0laDSkillapi-and-interface-design
Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
Also in 32 projects that use this
MorningStar0709Skillworkflow-runner
Run an agency-orchestrator style YAML workflow inside the current Trae conversation by simulating or coordinating multiple roles. Use when the user provides a `.yaml` or `.yml` workflow, asks for multi-role collaboration, says things like “用多个角色一起评审这个 PRD”“多角色协作”“先生成工作流再执行”“让产品经理、架构师、QA 一起看一下”, or wants roles such as product manager, architect, reviewer, or QA to work together. Supports layered execution, role prompting, variable interpolation, document-backed inputs, and parallel steps only when the current environment has a clear subagent mapping. Do not use for ordinary implementation plans, simple code changes, or tasks already covered by `writing-plans`, `executing-plans`, `subagent-driven-development`, or single-purpose review/debug skills.
Also in 5 projects that use this
LLl0k0laDSkillusing-agent-skills
Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
Also in 25 projects that use this
MorningStar0709Skillchinese-git-workflow
Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".
Also in 4 projects that use this
vinvcnSkillconstraint-driven-development
把一个项目的质量线确立为书面契约,并阻止 agent 悄悄降低它。通过访谈确定用户在意哪些维度,当用户心里没有数字时提供合理的默认阈值,把一切记录进 CONSTRAINTS.md,并盯住 diff 中质量线被削弱的迹象——新增的 @ts-ignore 或 eslint-disable 抑制注释、被跳过或删除的测试、被剥掉的断言、未实现的 stub、被调低的阈值。当没有任何质量线被写下来时使用;当用户说 "set up constraints" 或 "define our standards" 时;当用户希望把他们在意的维度——无障碍性、Web 性能、覆盖率——设置成被强制执行的约束时;当 agent 为了变绿不断静默检查或跳过测试时;当你需要一个覆盖率或性能阈值却不知道该选什么数字时;或者当 agent 写下的代码超出任何人会读的体量时。
Also in 4 projects that use this
- +5 more from LLl0k0laD
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- obra/superpowers★ 314ksame name
- NousResearch/hermes-agent★ 267ksame name
- addyosmani/agent-skills★ 101ksame name
- cloudflare/computer★ 9.5ksame name
- jnMetaCode/superpowers-zh★ 8.3ksame name
- openai/plugins★ 7.3ksame name
- microsoft/FluidFramework★ 4.9ksame name
- crbnos/carbon★ 2.7ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- GanyuanRan/Aegis★ 1.3ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-assistSkill
- code-task-generatorSkill
- evaluate-presetsSkill
- find-code-tasksSkill
- pddSkill
- playwriterSkill
- pr-demoSkill
- ralph-toolsSkill
- release-bumpSkill
- review-prSkill
- tmux-terminalSkill
- tui-debug-in-paneSkill
- tui-validateSkill
- ralph-docsSkill
- ralph-hatsSkill
- ralph-loopSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 11 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 177 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Use when the input references a .spec.md file with Given/When/Then acceptance criteria.
- Very specific: line 43
Use when the input references a .code-task.md file or a specific implementation task.
- Distinctive: line 53
Use for ad-hoc tasks without a spec or task file.
- Distinctive: line 62
Before writing tests, discover existing conventions:
- Distinctive: line 69
Read 2-3 relevant test files near the target code.
- Distinctive: line 70
Test module layout, naming, and assertion style
- Very specific: line 72
Use of tempfile, scenarios, or harnesses
- Distinctive: line 78
Write tests for the exact behavior required
- Distinctive: line 79
Run tests to confirm failure for the right reason
- Distinctive: line 80
If tests pass without implementation, the test is wrong
- Distinctive: line 84
Write the minimum code to make tests pass
- Distinctive: line 85
No extra features or refactoring during this step
- Very specific: line 95
Use proptest only when ALL of:
- Distinctive: line 111
Don't introduce proptest as a new dependency without strong justification.
- Very specific: line 121
Run cargo tarpaulin --out Html --output-dir coverage --skip-clean when feasible.
- Distinctive: line 128
Follow existing patterns in the target crate
“Common” is measured: kept by at least 6 in 10 of the 177 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test-Driven Development
Overview
One skill for all TDD workflows. Enforces test-first development using existing repository patterns. Three input modes handle different entry points — specs, task files, or ad-hoc descriptions — but the core cycle is always RED → GREEN → REFACTOR.
Input Modes
Detect the input type and follow the corresponding mode:
Mode A: From Spec (.spec.md)
Use when the input references a .spec.md file with Given/When/Then acceptance criteria.
- Locate and parse the spec file — extract all Given/When/Then triples
- Generate one test stub per criterion with
todo!()bodies:/// Spec: <spec-file> — Criterion #<N> /// Given <given text> /// When <when text> /// Then <then text> #[test] fn <spec_name>_criterion_<N>_<slug>() { todo!("Implement: <then text>"); } - Verify stubs compile but fail:
cargo test --no-run -p <crate> - Proceed to the TDD Cycle to make stubs pass
Programmatic support: ralph_core::preflight::{extract_acceptance_criteria, extract_criteria_from_file, extract_all_criteria} can parse criteria from spec files.
Mode B: From Task (.code-task.md)
Use when the input references a .code-task.md file or a specific implementation task.
- Read the task and identify acceptance criteria or requirements
- Discover patterns (see Pattern Discovery)
- Design test scenarios covering normal operation, edge cases, and error conditions
- Write failing tests for all requirements before any implementation
- Proceed to the TDD Cycle
Mode C: From Description
Use for ad-hoc tasks without a spec or task file.
- Clarify requirements from the description
- Discover patterns (see Pattern Discovery)
- Write failing tests targeting the described behavior
- Proceed to the TDD Cycle
Pattern Discovery
Before writing tests, discover existing conventions:
rg --files -g "crates/*/tests/*.rs"
rg -n "#\[cfg\(test\)\]" crates/Read 2-3 relevant test files near the target code. Mirror:
- Test module layout, naming, and assertion style
- Fixture helpers and test utilities
- Use of
tempfile, scenarios, or harnesses
TDD Cycle
1) RED — Failing Tests
- Write tests for the exact behavior required
- Run tests to confirm failure for the right reason
- If tests pass without implementation, the test is wrong
2) GREEN — Minimal Implementation
- Write the minimum code to make tests pass
- No extra features or refactoring during this step
3) REFACTOR — Clean Up
- Improve implementation and tests while keeping tests green
- Align with surrounding codebase conventions
- Re-run tests after every change
Proptest Guidance
Use proptest only when ALL of:
- Function is pure (no I/O, no time, no globals)
- Deterministic output for given input
- Non-trivial input space or edge cases
proptest! {
#[test]
fn round_trip(input in "[a-z0-9]{0,32}") {
let encoded = encode(input.as_str());
let decoded = decode(&encoded).expect("should decode");
prop_assert_eq!(decoded, input);
}
}Don't introduce proptest as a new dependency without strong justification.
Backpressure Integration
Include coverage evidence in completion events:
ralph emit "build.done" "tests: pass, lint: pass, typecheck: pass, audit: pass, coverage: pass (82%)"Run cargo tarpaulin --out Html --output-dir coverage --skip-clean when feasible. If coverage cannot be run, state why and include targeted test evidence instead.
Test Location Rules
- Spec maps to a single module → inline
#[cfg(test)]tests - Spec spans multiple modules → integration test in
crates/<crate>/tests/ - CLI behavior →
crates/ralph-cli/tests/ - Follow existing patterns in the target crate
Anti-Patterns
- Writing implementation before tests
- Generating tests that pass without implementation
- Copying tests from other crates without adapting to local patterns
- Adding proptest when a simple example test suffices
- Emitting completion events without coverage evidence
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

