tdd
Use test-first development for features, fixes, and integration tests; test lists, tracer bullets, and red-green cycles.
Skill by lstmemery
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lstmemery-tdd
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/tdd
What's inside
- Skill name
tdd- Description
- Use test-first development for features, fixes, and integration tests; test lists, tracer bullets, and red-green cycles.
- License
- MIT
- Instructions
- 55 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- openai.yaml · agents/
- mocking.md
- tests.md
- trigger-cases.json · tests/
SKILL.md (first lines)
# Test-Driven Development Run one behavior scenario through red → green at a time. Return when the agreed scenarios pass with earlier tests still green, or identify the blocked scenario. Refactoring and review belong to the calling workflow; this skill returns to it without invoking `implement`. When `implement` is the caller, it owns review, green-state refactoring, finding resolution, and commit. Read `CONTEXT.md` when present and respect relevant ADRs. Use their domain terms in interface and test names. ## The loop 1. **List scenarios.** Before testing, write one line per required behavior. Start with the simplest path; each cycle handles one vertical slice and uses what the previous cycle taught you. 2. **Settle the seam.** Record the interface where behavior will be observed. Proceed when the request, approved spec/ticket, or existing test/contract fixes it. Ask only when a new seam changes scope or trades off a real design choice. When interface shape or seam placement is in question, load `codebase-design` as a reference; use its module, interface, depth, seam, adapter, leverage, and locality vocabulary. Finish this step before writing the test. 3. **Red.** Make exactly one scenario runnable at that seam. It must fail for the scenario's assertion or behavior, not setup, import, or syntax. Derive the expected value from an independent source: a known-good literal, worked example, or spec. Show the relevant failing result before implementation. 4. **Green.** Write only enough code to pass that test. Finish when the new test and every previous test pass. One seam, one test, one minimal implementation per cycle; refactoring is outside this loop. 5. **Repeat or return.** Take the next scenario as its own slice. If it cannot be tested at the settled seam, revisit the design through `codebase-design` instead of reaching into implementation details. Return after the last slice. ## Test quality Tests describe caller-visible behavior through the module's interface and survive internal refactors. Name the capability, not the method. Multiple assertions may specify one outcome; separate unrelated outcomes. Testing an encapsulated submodule's own contract at its own seam is legitimate. Reject these patterns during every cycle: - **Implementation coupling:** wiring, field copies, forwarding, defaults, mock echoes, source-text assertions, or verification through a side channel instead of the interface. A behavior-preserving refactor should not break the test. - **Tautology:** recomputing the expected value the way the implementation does. A test must be capable of disagreeing with the implementation. - **Horizontal slicing:** writing all tests before any implementation. Keep the scenario → red → green sequence so later tests reflect observed behavior. When a test's quality is unclear, read [tests.md](tests.md) for examples. Before choosing a test double or interaction assertion, read [mocking.md](mocking.md) for fidelity, contract coverage, and the side-effect exception.
From lstmemery/skills, MIT.
More from lstmemery/skills
- 0.589score
retro
lstmemery
Review a named or current coding and orchestration session for evidence-backed improvements to an agent's environment.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
orchestrator
lstmemery
Coordinate delegated coding, research, and everyday tasks across agent harnesses.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
shopping
lstmemery
Research a concrete purchase or current offer.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
ticket-readiness
lstmemery
Review a specified ticket before implementation for current applicability, remaining acceptance, material assumptions, and directly related work.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
setup-matt-pocock-skills
lstmemery
Configure a repo's issue tracker, triage vocabulary, and domain-document layout for the engineering skills.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
diagnosing-bugs
lstmemery
Diagnose bugs, failures, and performance regressions using an observed failure signal and targeted probes.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
grilling
lstmemery
Stress-test a plan, decision, or idea through a relentless interview when the user asks to be grilled.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
deep-research
lstmemery
Investigate broad comparisons, literature, landscapes, buy/build decisions, and high-stakes questions; use research for focused lookups.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
domain-modeling
lstmemery
Resolve domain terms, scenarios, ownership, boundaries, context maps, and ADRs; routine vocabulary lookup stays in project docs.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
research
lstmemery
Answer focused questions from documents, APIs, or a few sources; route broad comparisons and high-stakes investigations to deep-research.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
code-review
lstmemery
Review branches, PRs, fixed commits, or working changes against repository standards and the originating spec.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
herdr
lstmemery
Control Herdr panes, layouts, commands, and agents only when explicitly requested; requires HERDR_ENV=1.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 4, 2026 (25 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lstmemery/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lstmemery
- 0.589score
shopping
lstmemery
Research a concrete purchase or current offer.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
orchestrator
lstmemery
Coordinate delegated coding, research, and everyday tasks across agent harnesses.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
retro
lstmemery
Review a named or current coding and orchestration session for evidence-backed improvements to an agent's environment.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
ticket-readiness
lstmemery
Review a specified ticket before implementation for current applicability, remaining acceptance, material assumptions, and directly related work.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
grilling
lstmemery
Stress-test a plan, decision, or idea through a relentless interview when the user asks to be grilled.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
setup-matt-pocock-skills
lstmemery
Configure a repo's issue tracker, triage vocabulary, and domain-document layout for the engineering skills.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
tdd skill. Agent Mart. https://agentmart.dev/skills/lstmemery-tdd (last updated 2026-10-24)