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/corynaegle-ai-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
- Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
- License
- MIT
- Instructions
- 52 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/review-cases.md
Files (4)
- SKILL.md
- openai.yaml · agents/
- mocking.md
- tests.md
SKILL.md (first lines)
# Test-Driven Development Use red → green → refactor for behavioral changes where an independent assertion can catch a regression. Match effort to the change; documentation, formatting, and reversible low-impact edits usually need existing checks rather than new tests. When exploring the codebase, read `GLOSSARY.md` (if it exists) so test names and interface vocabulary match the project's domain language, and respect ADRs in the area you're touching. ## What a good test is Tests verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't. A good test reads like a specification: "user can checkout with valid cart" tells you exactly what capability exists, and it survives refactors because it doesn't care about internal structure. See [tests.md](tests.md) for examples and [mocking.md](mocking.md) for mocking guidelines. ## Seams: where tests go A **seam** is the public boundary you test at: the interface where you observe behavior without reaching inside. Tests live at seams, never against internals. Reuse boundaries established in the task, spec, and existing suite. Otherwise select the smallest public boundary that catches the requested behavior, state what it catches and misses, and proceed within the authorized task. Ask only when the choice changes product behavior, scope, or a material architectural trade-off. Preserve explicitly requested approval gates. Existing authorization persists; routine regression tests at an existing boundary do not need another confirmation. When the shape of that interface is itself in question (how deep the module is, where the seam belongs, what the interface should expose), load the installed `codebase-design` skill with the available skill tool or by reading its `SKILL.md` for the vocabulary. It is the shared source of the module, interface, depth, seam, adapter, leverage and locality terms, and it is a reference to consult, not a session to run. ## Anti-patterns - **Implementation-coupled**: mocks internal collaborators, tests private methods, or verifies through a side channel (querying the database instead of using the interface). The tell: the test breaks when you refactor but behavior hasn't changed. - **Tautological**: the assertion recomputes the expected value the way the code does (`expect(add(a, b)).toBe(a + b)`, a snapshot derived by hand the same way, a constant asserted equal to itself), so it passes by construction and can never disagree with the code. Expected values must come from an independent source of truth: a known-good literal, a worked example, the spec. - **Horizontal slicing**: writing all tests first, then all implementation. Bulk tests verify _imagined_ behavior: you test the _shape_ of things rather than user-facing behavior, the tests go insensitive to real changes, and you commit to test structure before understanding the implementation. Work in **vertical slices** instead: one test → one implementation → repeat, each test a **tracer bullet** that responds to what the last cycle taught you. ## Check each test before keeping it `review-tests` audits tests after they're written; hold each new test to the same bar now so there is nothing for it to find. Before keeping a test, answer its three questions: 1. **What real code runs?** The production entrypoint and the decision under test execute; only system boundaries are replaced (see [mocking.md](mocking.md)). A test that mocks the subject, reimplements it, or only imports it verifies nothing. 2. **What independently establishes correctness?** The expected value comes from the spec, a worked example, or a domain rule, never from the code's own helpers, the current output, or a value the fake supplied. 3. **What plausible regression would fail it?** Name one. Red-before-green shows this for new behavior. When adding a test for code that already works, temporarily break the relevant decision, watch the test fail on its assertion (not a setup or import error), and restore. Also avoid the defects `review-tests` most often finds beyond the anti-patterns above: - **Weak failure checks**: assert the specific error and that no forbidden side effect happened; pair each rejection with an accepted neighbouring case. - **Nondeterminism**: no shared state, order dependence, wall clock, fixed ports, live network, or ambient environment; control time and randomness. - **Timing coupling**: no sleeps to wait for ordering; wait on an event or condition with a bound, and surface worker exceptions to the test. - **Over-precise assertions**: no source-string searches, giant snapshots, or exact serialization unless that format is the contract. For judgment calls, such as when exact call counts, private fault injection, or real elapsed time are legitimate, read the installed `review-tests` skill's `references/review-cases.md`. ## Rules of the loop - **Red before green.** Write the failing test first, then only enough code to pass it. Don't anticipate future tests or add speculative features. - **One slice at a time.** One seam, one test, one minimal implementation per cycle. - **Refactor while green.** Simplify the tested change without changing behavior, then rerun affected checks. Broader architectural work needs its own justification and scope.
From corynaegle-ai/agent-skills, MIT.
More from corynaegle-ai/agent-skills
- 0.567score
review-tests
corynaegle-ai
Audit and correct existing tests for real production execution, independent assertions, useful behavioral coverage, and resistance to refactors and flakiness.
SkillAFreshness: AClaude Code +9 - 0.561score
implement-recommendation
corynaegle-ai
Implement a numbered architecture recommendation from the current conversation, a supplied report, or a report in the project's docs folder, following the…
SkillAFreshness: AClaude Code +9 - 0.558score
improve-codebase-architecture
corynaegle-ai
Review architecture in a visual HTML report; use full for the whole codebase or omit it for a focused review.
SkillAFreshness: AClaude Code +9 - 0.558score
implement-spec
corynaegle-ai
Implement a spec as bounded parallel tickets on an integration branch, then review and verify the combined result.
SkillAFreshness: AClaude Code +9 - 0.553score
implement
corynaegle-ai
Implement authorized work from a conversation, spec, or ticket, then verify and review the completed changes.
SkillAFreshness: AClaude Code +9 - 0.544score
diagnosing-bugs
corynaegle-ai
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: AClaude Code +9 - 0.539score
codebase-design
corynaegle-ai
Shared vocabulary for designing deep modules.
SkillAFreshness: AClaude Code +9 - 0.537score
code-review
corynaegle-ai
Review a branch, PR, or uncommitted work against repository standards, requested behavior, and test quality.
SkillAFreshness: AClaude Code +9 - 0.536score
to-spec
corynaegle-ai
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
SkillAFreshness: AClaude Code +9 - 0.536score
to-tickets
corynaegle-ai
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker…
SkillAFreshness: AClaude Code +9 - 0.536score
triage
corynaegle-ai
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
SkillAFreshness: AClaude Code +9 - 0.534score
research
corynaegle-ai
Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 13, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/corynaegle-ai/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from corynaegle-ai
- 0.567score
review-tests
corynaegle-ai
Audit and correct existing tests for real production execution, independent assertions, useful behavioral coverage, and resistance to refactors and flakiness.
SkillAFreshness: AClaude Code +9 - 0.561score
implement-recommendation
corynaegle-ai
Implement a numbered architecture recommendation from the current conversation, a supplied report, or a report in the project's docs folder, following the…
SkillAFreshness: AClaude Code +9 - 0.558score
improve-codebase-architecture
corynaegle-ai
Review architecture in a visual HTML report; use full for the whole codebase or omit it for a focused review.
SkillAFreshness: AClaude Code +9 - 0.558score
implement-spec
corynaegle-ai
Implement a spec as bounded parallel tickets on an integration branch, then review and verify the combined result.
SkillAFreshness: AClaude Code +9 - 0.553score
implement
corynaegle-ai
Implement authorized work from a conversation, spec, or ticket, then verify and review the completed changes.
SkillAFreshness: AClaude Code +9 - 0.544score
diagnosing-bugs
corynaegle-ai
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: AClaude Code +9
Cite this page
tdd skill. Agent Mart. https://agentmart.dev/skills/corynaegle-ai-tdd (last updated 2026-10-24)