AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Tdd Setup

skill-mrlarson2007-copilot-tdd-harness-tdd-setup · by mrlarson2007

>

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add skill-mrlarson2007-copilot-tdd-harness-tdd-setup

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-mrlarson2007-copilot-tdd-harness-tdd-setup)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Tdd Setup? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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

  1. Ensure canonical placeholder files exist for RED, GREEN, and REFACTOR style guides.
  2. Prompt the user to select or specify exemplar test files and production code files that best represent the project's preferred style and conventions.
  3. 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)
  1. Summarize the extracted patterns and present them to the user for confirmation or editing.
  2. 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

  1. Present extracted patterns first, then ask for confirmation or corrections.
  2. 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:

  1. Choose the closest template from .github/skills/tdd-setup/templates/:
  • dotnet.tdd-patterns.md
  • node.tdd-patterns.md
  • python.tdd-patterns.md
  • java.tdd-patterns.md
  1. Expand the template with project-specific values, including any confirmed test or build commands in the instructions content.
  2. Write the result to .github/instructions/tdd-patterns.instructions.md.
  3. 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
  1. 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.