agentsclimarketplace

Shared tdd

Skill edfenton/claude-skills/shared/shared-tdd

TDD policy — red-green-refactor workflow and evidence requirements for all platforms.From its SKILL.md

Install
npx -y skills add edfenton/claude-skills --skill shared-tdd

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.1 KB, 218 tokens by cl100k_base, as published. Nobody here has run it

Purpose

Mandate test-driven development across all platforms. Platform coding standards reference this for the TDD workflow, then add platform-specific test tooling and conventions.

TDD workflow (mandatory)

For any new behavior or bug fix:

  1. Red — Write failing test(s) first

    • Derive test cases from acceptance criteria
    • Run tests to confirm failure
    • Do NOT write implementation code yet
  2. Green — Write minimum code to pass

    • No feature creep beyond test requirements
    • Run tests after each change
  3. Refactor — Clean up while tests stay green

    • Improve code quality without changing behavior

Bug fixes

Bug fixes require a failing test that reproduces the issue before the fix is written.

Completion gate

Stories cannot be marked complete without test files. Test files must exist before marking a story done.

TDD evidence

When implementing features, document in commit or PR:

  • Which tests were written first
  • Confirmation that tests failed before implementation

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.