tdd-patterns SKILL.md skillA

tdd-patterns from synaptiai/synapti-marketplace is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add synaptiai/synapti-marketplace/tdd-patterns@git:20260914.941bdfb

Pins git:20260914.941bdfb in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
synaptiai/synapti-marketplace
Path
plugins/flow/skills/tdd-patterns/SKILL.md
Versions recorded
6
Latest version
git:20260914.941bdfb, committed Sep 14, 2026
First version recorded
Mar 8, 2026
Size
5,116 bytes
Repository stars
7
License
Apache-2.0

Guide test-driven development through the mandatory Red-Green-Refactor cycle: a test is RED only when it fails for the intended reason, its expected value has a stated source (spec, reference implementation, hand computation, fixture, or standard — never the implementation's own output), and its input discriminates the right implementation from the plausible wrong one. Also enforces run-mode test runners and the `testing.tddMode` opt-out. Use when implementing features or fixing bugs…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# TDD Patterns

## Contract

Iron law: if you did not watch the test fail, you do not know it tests the right thing. Invoked by `/flow:start` Phase 3 CODE step 3 (per task, before production code) and by `/flow:address` for behavior-changing fixes; `testing.tddMode` governs enforcement. Returns, per behavior, three tracked tasks: a RED test with a sourced expected value and a non-degenerate input, GREEN code, REFACTOR with all tests passing. Permitted skips: `tddMode=off`; `tddMode=suggest` with `tddModeOptOut=true` plus an explicit user decision; refactors (existing tests suffice); config changes without behavior change.

## Where expected values come from

An expected value is derived from the spec, a reference implementation, hand computation, an existing fixture, or an external standard, and the test states which (test comment; evidence-bundle column `Source of expected`). Never run the implementation and paste its output as the expectation. A literal with no stated source is a finding.

## Inputs must discriminate
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add synaptiai/synapti-marketplace/tdd-patterns@sha256:e75dabdb61b00dd0

The line at the top of this page pins the label git:20260914.941bdfb, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_q4dfqcwllq7vb2mb.svg)](https://markdownregistry.com/a/art_q4dfqcwllq7vb2mb)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Mar 8, 2026 and Sep 14, 2026, about one every 38 days.

versioncommittedcommitsizeaudit
git:20260914.941bdfb latest2026-09-14 941bdfb 5,116 BA view · diff
git:20260909.67782552026-09-09 6778255 5,213 BA view · diff
git:20260506.b1f0fef2026-05-06 b1f0fef 6,904 BA view · diff
git:20260416.81e18342026-04-16 81e1834 6,307 BA view · diff
git:20260311.a793cc42026-03-11 a793cc4 5,603 BA view · diff
git:20260308.3ef0c8f2026-03-08 3ef0c8f 5,576 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5116 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

synaptiai/synapti-marketplace · 7 stars · license Apache-2.0 · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_q4dfqcwllq7vb2mb
GET https://markdownregistry.com/api/v1/resolve?ref=synaptiai/synapti-marketplace/tdd-patterns
GET https://markdownregistry.com/api/v1/blob/e75dabdb61b00dd06abf597b62ea98c9441152efd8b8c0524e0ef6536ea2dbd6

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from synaptiai/synapti-marketplace

CLAUDE.md@.claude CLAUDE.md file
synaptiai/synapti-marketplace · .claude/CLAUDE.md
git:20261101.fe898b3 · audit A · 7 stars
AGENTS.md AGENTS.md file
synaptiai/synapti-marketplace · AGENTS.md
git:20260927.277fed8 · audit A · 7 stars
adoption-sprint-designer SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/adoption-sprint-designer/SKILL.md · Design structured AI adoption sprints (hackathons, pilots, onboarding experiences) with clear objectives, participant…
git:20260401.9d3c2ff · audit A · 7 stars
agent-builder SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/agent-builder/SKILL.md · Generate role-specific agent system prompts, tool permissions, and self-review checklists from organizational design…
git:20260726.1f35e1f · audit A · 7 stars
ai-first-kit SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/ai-first-kit/SKILL.md · Navigate organizational redesign for AI with a structured 13-skill toolkit that produces persistent artifacts in…
git:20260401.4061ebc · audit A · 7 stars
coordination-audit SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/coordination-audit/SKILL.md · Produce a structured organizational diagnostic that quantifies time spent on specification vs coordination vs…
git:20260328.2c4c4ed · audit A · 7 stars
evolution-auditor SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/evolution-auditor/SKILL.md · Run a structured organizational design health check — operationalizing the governance learning loop and decision ledger…
git:20260401.9ecedac · audit A · 7 stars
governance-architect SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/governance-architect/SKILL.md · Design and save a complete governance ecosystem for agentic operations — 6 structured documents (authority matrix, hard…
git:20260328.2c4c4ed · audit A · 7 stars
holdout-evaluator SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/holdout-evaluator/SKILL.md · Validate agent work output against hidden holdout scenarios using LLM-as-Judge evaluation, producing mapped feedback…
git:20260401.9ecedac · audit A · 7 stars
maturity-ladder SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/maturity-ladder/SKILL.md · Build a per-role human AI adoption maturity matrix with observable behaviors per level, current state assessment…
git:20260401.9d3c2ff · audit A · 7 stars
operationalize SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/operationalize/SKILL.md · Distill organizational design artifacts into an operational agent primer — a concise, agent-consumable AGENT-PRIMER.md…
git:20260401.ee7c912 · audit A · 7 stars
org-genome-builder SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/org-genome-builder/SKILL.md · Build and save a structured organizational genome — 7 markdown files across identity, decision architecture, and…
git:20260328.2c4c4ed · audit A · 7 stars

Every file in synaptiai/synapti-marketplace

Browse by kind, by grade A, or by owner.