test-driven-development
Apply Test-Driven Development
Teams often ship changes without proof that tests catch the intended behavior. This skill guides Claude, Codex, and Claude Code through strict red, green, refactor steps.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "test-driven-development" from https://skillstore.io/skills/zhanlincui-test-driven-development.md and its manifest at https://skillstore.io/api/skills/zhanlincui-test-driven-development/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "test-driven-development". Add retry behavior for failed operations.
Expected outcome:
The agent starts with one failing retry test, verifies the failure, adds minimal retry logic, and confirms the test passes.
Using "test-driven-development". Fix empty email validation.
Expected outcome:
The agent writes a failing validation test, implements the smallest validation change, and keeps the full test suite passing.
Using "test-driven-development". Review tests that use many mocks.
Expected outcome:
The agent flags assertions about mock existence and recommends tests that verify user-visible or domain behavior.
Security Audit
Medium RiskThe static external-command and reconnaissance findings are false positives caused by markdown fences, examples, and ordinary testing language. I found one semantic risk: the skill encourages deleting implementation code when TDD was not followed, which can cause unwanted data loss without user confirmation.
Confirmed security concerns (1)
Risk Factors
โ๏ธ External commands (27)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/zhanlincui-test-driven-development/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/zhanlincui-test-driven-development?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/zhanlincui-test-driven-development?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/zhanlincui-test-driven-development/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/zhanlincui-test-driven-development.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
ZhanlinCui. (2026). test-driven-development security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/zhanlincui-test-driven-development/audits/5BibTeX citation
@techreport{zhanlincui-zhanlincui-test-driven-development-2026,
author = {ZhanlinCui},
title = {test-driven-development security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/zhanlincui-test-driven-development/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "test-driven-development security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "ZhanlinCui"
date-released: "2026-07-08"
url: "https://skillstore.io/skills/zhanlincui-test-driven-development/audits/5"
identifiers:
- type: other
value: "skillstore:zhanlincui-test-driven-development:audit:5"
description: "Skillstore immutable audit report identifier"
Compare variants
9 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
dmjgilbert-test-driven-development
2026-08-21
obra-test-driven-development
2026-08-21
cycleaddict-test-driven-development
2026-08-21
cygnusfear-test-driven-development
2026-08-21
dyai2025-test-driven-development
2026-08-21
codingcossack-test-driven-development
2026-08-21
zhanlincui-test-driven-development
2026-08-21
sickn33-test-driven-development
2026-08-21
davila7-test-driven-development
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Implement a Feature Safely
Use the skill to define the expected behavior as a failing test before adding production code.
Fix a Regression
Reproduce the bug with a failing test, then implement the smallest change that makes it pass.
Improve Test Discipline
Use the checklist and anti-pattern guidance to review whether tests cover real behavior.
Try These Prompts
Use test-driven development for this change. First write one failing test for the expected behavior, then implement the minimum code.
Reproduce this bug with a failing test before changing production code. Show why the test fails, then make it pass.
Use existing tests or add missing characterization tests first. Refactor only after tests prove the current behavior is covered.
Review these tests with the TDD and anti-pattern guidance. Identify tests that verify mocks instead of real behavior.
Best Practices
- Run the new test once before implementation and confirm the failure reason.
- Keep each test focused on one observable behavior.
- Refactor only after the relevant tests are green.
Avoid
- Writing implementation code before a failing test exists.
- Testing mocks instead of the behavior users or callers receive.
- Adding test-only methods to production classes.
Frequently Asked Questions
What workflow does this skill enforce?
Can it help with bug fixes?
Does it run tests automatically?
Does it support Claude Code?
What testing styles does it discourage?
When should a user approve exceptions?
Developer Details
Author
ZhanlinCuiLicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Repository
https://github.com/ZhanlinCui/Ultimate-Agent-Skills-Collection/tree/main/test-driven-developmentRef
88a205c7f635a966e31156313b590d59007c5caa
Maintenance freshness
7/18/2026
Usage
97 downloads ยท 182 views
File structure
๐ SKILL.md