Install
$ agentstack add skill-mrlarson2007-copilot-tdd-harness-tdd-setup ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
tdd-setup
Use this skill when the repository needs project-specific TDD configuration.
Goals
Generate:
.github/instructions/tdd-patterns.instructions.md.github/skills/tdd-red/assets/project-testing-patterns.md.github/skills/tdd-green/assets/project-code-style-patterns.md.github/skills/tdd-refactor/assets/project-refactor-patterns.md
These three phase asset files are canonical placeholders and must always exist, even before final pattern extraction.
Pattern Extraction Step
- Ensure canonical placeholder files exist for RED, GREEN, and REFACTOR style guides.
- Prompt the user to select or specify exemplar test files and production code files that best represent the project's preferred style and conventions.
- Use LLM-powered analysis to extract:
- Test structure, naming, and assertion patterns from the exemplar test files (for RED)
- Code style, idioms, and formatting conventions from the exemplar production files (for GREEN)
- Refactoring and surrounding-code consistency patterns from both (for REFACTOR)
- Summarize the extracted patterns and present them to the user for confirmation or editing.
- After confirmation, update:
.github/skills/tdd-red/assets/project-testing-patterns.md.github/skills/tdd-green/assets/project-code-style-patterns.md.github/skills/tdd-refactor/assets/project-refactor-patterns.md
If the user does not provide example files, run interview-only mode.
Interview Workflow
- Present extracted patterns first, then ask for confirmation or corrections.
- If a value or pattern is missing, ask:
- What test runner do you use?
- What build command should the agent use for validation when a build step is needed?
- Where are your test files?
- What naming convention do you use for test methods or test cases?
- What assertion library do you use?
- What mocking approach or mocking library do you use?
- What testing patterns should RED follow (for example AAA, table-driven, Given-When-Then naming)?
- What implementation/code-style patterns should GREEN follow (for example naming, formatting, guard clauses, error handling conventions)?
- What refactoring style patterns should REFACTOR follow (for example surrounding-code consistency, helper extraction thresholds, readability priorities)?
- Are there project-specific testing patterns for time, logging, HTTP, database, or other dependencies?
Do not write files until the user has confirmed the final values.
File Generation
After confirmation:
- Choose the closest template from
.github/skills/tdd-setup/templates/:
dotnet.tdd-patterns.mdnode.tdd-patterns.mdpython.tdd-patterns.mdjava.tdd-patterns.md
- Expand the template with project-specific values, including any confirmed test or build commands in the instructions content.
- Write the result to
.github/instructions/tdd-patterns.instructions.md. - Write stage-specific pattern assets:
.github/skills/tdd-red/assets/project-testing-patterns.md.github/skills/tdd-green/assets/project-code-style-patterns.md.github/skills/tdd-refactor/assets/project-refactor-patterns.md
- Do not generate
.github/tdd-config.json.
Asset content requirements:
- RED asset focuses on test naming, test structure, assertion style, and allowed test doubles.
- GREEN asset focuses on production code style and minimal implementation conventions.
- REFACTOR asset focuses on surrounding-code review, readability heuristics, and safe extraction rules.
Template Selection Guide
- dotnet:
dotnet test,.sln,.csproj - node:
npm test,npx vitest,package.json - python:
pytest,pyproject.toml,requirements.txt - java:
mvn test,./gradlew test,pom.xml,build.gradle
If no template is a close match, generate the instructions from scratch using the same sections as the nearest template.
Output Requirements
When the skill completes, report:
- which values were extracted from exemplar files
- which values were provided by the user
- which files were created or updated
- which patterns were assigned to RED, GREEN, and REFACTOR assets
- any values the user may still want to refine later
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mrlarson2007
- Source: mrlarson2007/copilot-tdd-harness
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.