copilot-tdd-harness: Skill for Claude Code

.github/skills/tdd-commit/SKILL.md

tdd-commit is a skill for Claude Code from mrlarson2007/copilot-tdd-harness. It costs 36 tokens per session (220 once invoked), scanned A, original, MIT.

A TDD phase that creates one focused version-control commit after the tests pass. A commit is a saved, named set of code changes.

In plain words
What is it for?
Use it to commit only the changes that produced the passing test, with a clear message and no refactoring or extra behavior.
Why use it?
It prevents unrelated work from being mixed together and makes each completed behavior easier to review or trace.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

This is mrlarson2007/copilot-tdd-harness's own configuration. It tells Claude Code how to work on copilot-tdd-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything copilot-tdd-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mrlarson2007/copilot-tdd-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mrlarson2007/copilot-tdd-harness/master/.github/skills/tdd-commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mrlarson2007/copilot-tdd-harness

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tdd-commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrlarson2007/copilot-tdd-harness/tdd-commit/github.svg)](https://agentmods.dev/skills/mrlarson2007/copilot-tdd-harness/tdd-commit)
Your own site
<a href="https://agentmods.dev/skills/mrlarson2007/copilot-tdd-harness/tdd-commit"><img src="https://agentmods.dev/badge/skills/mrlarson2007/copilot-tdd-harness/tdd-commit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tdd-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrlarson2007/copilot-tdd-harness/tdd-commit"><img src="https://agentmods.dev/badge/skills/mrlarson2007/copilot-tdd-harness/tdd-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 220 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00220
Opus 5.5 $0.00014 $0.00088
Sonnet 5.5 $0.00007 $0.00044
Haiku 4.5 $0.00004 $0.00022

Measured 1mo ago against content hash f0677738825b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tdd-commit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/tdd-commit/SKILL.md · 39 lines

What it actually says

TDD Commit Phase Skill

Purpose

  • Create an atomic commit for the green state
  • Enforce one-commit-per-green discipline
  • Require clear, descriptive commit messages
  • No refactor or new behavior in this phase

Inputs

  • Green status
  • Commit scope and message template
  • Skill and asset references

Outputs

  • Commit sha
  • Files committed
  • Commit message

Steps

  1. Load asset files for commit discipline, message quality, and anti-patterns
  2. Create atomic commit for green state
  3. Return contract output

Completion Checks

  • Only green changes committed
  • Commit message is clear and descriptive
  • No refactor or new behavior included
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 39 lines · 36 tokens per session scan A f0677738825b

Subscribe to this mod's changes

tdd-commit is a skill published in the GitHub repository mrlarson2007/copilot-tdd-harness (5 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 220 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.