tdd-workflow
Build TypeScript Features with TDD
Teams often struggle to keep tests focused during fast TypeScript changes. This skill guides RED-GREEN-REFACTOR work with practical Node.js patterns.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "tdd-workflow" from https://skillstore.io/skills/doubleslashse-tdd-workflow.md and its manifest at https://skillstore.io/api/skills/doubleslashse-tdd-workflow/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 "tdd-workflow". Help me test an email validator before implementation.
Expected outcome:
- A short behavior list for valid, invalid, empty, and formatted email inputs.
- A recommended first failing test and the expected failure reason.
- A note to refactor only after the validator behavior passes.
Using "tdd-workflow". How should I isolate a service that writes users and logs events?
Expected outcome:
- Use a fake repository for stored users and a mock logger for interaction checks.
- Keep each test independent with a fresh test context.
- Assert observable behavior before checking supporting interactions.
Using "tdd-workflow". Review my plan for refactoring after tests pass.
Expected outcome:
- A refactoring sequence that keeps the public behavior unchanged.
- A list of brittle assertions to replace with behavior-focused checks.
- A reminder to rerun the relevant unit and integration tests after each change.
Security Audit
SafeThe static alerts are false positives caused by Markdown code blocks, inline backticks, common test names, and sample dependency names. No prompt injection, command execution instructions, credential access, network access, or malicious intent were found in SKILL.md or patterns.md.
Risk Factors
โ๏ธ External commands (26)
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/doubleslashse-tdd-workflow/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/doubleslashse-tdd-workflow?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/doubleslashse-tdd-workflow?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/doubleslashse-tdd-workflow/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/doubleslashse-tdd-workflow.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
DoubleslashSE. (2026). tdd-workflow security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/doubleslashse-tdd-workflow/audits/8BibTeX citation
@techreport{doubleslashse-doubleslashse-tdd-workflow-2026,
author = {DoubleslashSE},
title = {tdd-workflow security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/doubleslashse-tdd-workflow/audits/8},
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: "tdd-workflow security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "DoubleslashSE"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/doubleslashse-tdd-workflow/audits/8"
identifiers:
- type: other
value: "skillstore:doubleslashse-tdd-workflow:audit:8"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
doubleslashse-tdd-workflow
2026-08-21
sickn33-tdd-workflow
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Add a Feature Safely
Plan failing tests, implement the smallest behavior, and refactor after the test passes.
Standardize Team Testing
Use shared naming, AAA structure, and test organization patterns across a Node.js codebase.
Teach Practical TDD
Explain test doubles, parameterized tests, async tests, and dependency injection with concise examples.
Try These Prompts
Use the tdd-workflow skill to plan a RED-GREEN-REFACTOR cycle for [feature] in a Node.js TypeScript project.
Use the tdd-workflow skill to identify the first failing tests for [behavior], including happy path, edge cases, and error cases.
Use the tdd-workflow skill to choose suitable stubs, mocks, fakes, or spies for [module] and explain why each one fits.
Use the tdd-workflow skill to review [test plan or module behavior] and propose safe refactoring steps while preserving test coverage.
Best Practices
- Start with one observable behavior and write the failing test first.
- Keep test data builders clear and close to the domain language.
- Refactor only after the relevant test set passes.
Avoid
- Testing private state instead of user-visible behavior.
- Sharing mutable test state across unrelated cases.
- Overusing snapshots for logic that needs explicit assertions.
Frequently Asked Questions
Can this skill run my test suite?
Is it specific to Jest?
Does it create production code?
Can it help with legacy code?
Does it require database access?
Is it safe for Claude, Codex, and Claude Code?
Developer Details
Author
DoubleslashSELicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Repository
https://github.com/DoubleslashSE/claude-workflows/tree/main/Plugins/dotnet-tdd/skills/tdd-workflowRef
72d5025b022c77f7a51bdf5c1637c689c80e89d1
Maintenance freshness
7/18/2026
Usage
8 downloads ยท 250 views
File structure
๐ patterns.md
๐ SKILL.md