tdd SKILL.md skillA

tdd from zereight/gitlab-mcp is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add zereight/gitlab-mcp/tdd@git:20260412.9d9ce51

Pins git:20260412.9d9ce51 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
zereight/gitlab-mcp
Path
.github/skills/tdd/SKILL.md
Versions recorded
1
Latest version
git:20260412.9d9ce51, committed Apr 12, 2026
Size
3,644 bytes
Repository stars
2,059
License
MIT

Test-Driven Development enforcement skill. Activates full TDD mode. Activate when: TDD, test-driven, test first, red-green-refactor, write tests first.

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 — Test-Driven Development

**THE IRON LAW: Write the failing test FIRST. Always.**

## The Red-Green-Refactor Cycle

```
RED   → Write a failing test for the NEXT behavior
GREEN → Write ONLY enough code to make it pass (no extras)
REFACTOR → Clean up code quality (tests must stay green after every change)
REPEAT
```

## Step-by-Step Protocol

### 1. RED Phase
1. Identify the smallest next behavior to implement
2. Write a test that describes that behavior as a named `it()` / `test()` / `def test_`
3. **Run the test** — it MUST FAIL. If it passes, the test is wrong.
4. Confirm the failure message is the RIGHT failure (not a syntax error)

```typescript
// Example: RED — test fails because function doesn't exist yet
it('returns an empty array for an empty input', () => {
  const result = parseItems([]);
  expect(result).toEqual([]);  // FAILS: parseItems is not defined
});
```

### 2. GREEN Phase
1. Write the MINIMUM code to make the test pass
2. Do not add extra logic, default parameters, or "nice-to-haves"
3. Run ALL tests — the new test must pass; existing tests must not break

```typescript
// Example: GREEN — just enough to pass
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zereight/gitlab-mcp/tdd@sha256:74d5bd64f8c3ffff

The line at the top of this page pins the label git:20260412.9d9ce51, 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_nxoyw6wh6raismw7.svg)](https://markdownregistry.com/a/art_nxoyw6wh6raismw7)

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

Versions

The registry has recorded 1 version of this file, committed on Apr 12, 2026.

versioncommittedcommitsizeaudit
git:20260412.9d9ce51 latest2026-04-12 9d9ce51 3,644 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 (3644 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

zereight/gitlab-mcp · 2,059 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nxoyw6wh6raismw7
GET https://markdownregistry.com/api/v1/resolve?ref=zereight/gitlab-mcp/tdd
GET https://markdownregistry.com/api/v1/blob/74d5bd64f8c3ffff701a54d5539887c7feb3541220c408c34acc57a9aebe119a

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 zereight/gitlab-mcp

ai-slop-cleaner SKILL.md skill
zereight/gitlab-mcp · .github/skills/ai-slop-cleaner/SKILL.md · Clean AI-generated code slop with regression-safe workflow. Activate when user says: deslop, anti-slop, AI slop…
git:20260412.9d9ce51 · audit A · 2,059 stars
cancel SKILL.md skill
zereight/gitlab-mcp · .github/skills/cancel/SKILL.md · Cancel any active OMG mode and clean up state. Activate when user says: cancel, stop, cancelomg, stopomg, abort, kill…
git:20260412.9d9ce51 · audit A · 2,059 stars
ccg SKILL.md skill
zereight/gitlab-mcp · .github/skills/ccg/SKILL.md · Claude-Codex-Gemini tri-model orchestration for multi-perspective analysis. Activate when user says: ccg, tri-model…
git:20260412.9d9ce51 · audit A · 2,059 stars
coding-standards SKILL.md skill
zereight/gitlab-mcp · .github/skills/coding-standards/SKILL.md · Canonical cross-language coding standards reference. Shared rules embedded by reviewer agents. Activate when: viewing…
git:20260412.9d9ce51 · audit A · 2,059 stars
deep-dive SKILL.md skill
zereight/gitlab-mcp · .github/skills/deep-dive/SKILL.md · 2-stage pipeline: trace (causal investigation) then deep-interview (requirements). Activate when user says: deep dive…
git:20260412.9d9ce51 · audit A · 2,059 stars
deep-interview SKILL.md skill
zereight/gitlab-mcp · .github/skills/deep-interview/SKILL.md · Socratic deep interview with mathematical ambiguity gating. Activate when user says: deep interview, interview me, ask…
git:20260412.9d9ce51 · audit A · 2,059 stars
omg-autopilot SKILL.md skill
zereight/gitlab-mcp · .github/skills/omg-autopilot/SKILL.md · Full autonomous execution from idea to working code. Activate when user says: autopilot, auto-pilot, autonomous, build…
git:20260412.9d9ce51 · audit A · 2,059 stars
plan SKILL.md skill
zereight/gitlab-mcp · .github/skills/plan/SKILL.md · Strategic planning with optional interview workflow. Activate when user says: plan this, plan the, let's plan, make a…
git:20260412.9d9ce51 · audit A · 2,059 stars
ralph SKILL.md skill
zereight/gitlab-mcp · .github/skills/ralph/SKILL.md · PRD-driven persistence loop until task completion with verification. Activate when user says: ralph, don't stop, must…
git:20260412.9d9ce51 · audit A · 2,059 stars
ralplan SKILL.md skill
zereight/gitlab-mcp · .github/skills/ralplan/SKILL.md · Consensus planning with Planner/Architect/Critic iterative loop. Activate when user says: ralplan, consensus plan…
git:20260412.9d9ce51 · audit A · 2,059 stars
remember SKILL.md skill
zereight/gitlab-mcp · .github/skills/remember/SKILL.md · Promote reusable project knowledge to the right memory surface. Activate when user says: remember this, save this…
git:20260412.9d9ce51 · audit A · 2,059 stars
review SKILL.md skill
zereight/gitlab-mcp · .github/skills/review/SKILL.md · Code review with spec compliance and quality checks. Activate when user says: review this, code review, review my…
git:20260412.9d9ce51 · audit A · 2,059 stars

Every file in zereight/gitlab-mcp

Other files named tdd

tdd SKILL.md skill
yeachan-heo/oh-my-claudecode · skills/tdd/SKILL.md · Test-first at pre-agreed seams — one test, one implementation, tracer-bullet red/green; independent expected values…
git:20261009.7b270a4 · audit A · 40,148 stars
tdd SKILL.md skill
cursor/plugins · harness/pstack/claude-code/skills/tdd/SKILL.md · Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious…
git:20261016.182f2ce · audit A · 13,494 stars
tdd SKILL.md skill
cursor/plugins · pstack/skills/tdd/SKILL.md · Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious…
git:20260923.b0b9c7a · audit A · 13,494 stars
tdd SKILL.md skill
vinvcn/mattpocock-skills-zh-cn · skills/engineering/tdd/SKILL.md · 测试驱动开发。适用于用户想用先写测试的方式构建功能或修复缺陷、提到 “red-green-refactor”,或需要集成测试时。
git:20261008.5be0dc1 · audit A · 5,110 stars
tdd SKILL.md skill
wesammustafa/claude-code-everything-you-need-to-know · examples/intermediate/01-first-skill/dot-claude/skills/tdd/SKILL.md · TODO
git:20261006.11cadf7 · audit A · 3,462 stars
tdd SKILL.md skill
michael-denyer/pstack-claude · plugins/pstack/skills/tdd/SKILL.md · Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious…
git:20260923.4a3ef20 · audit A · 3,263 stars
tdd SKILL.md skill
rohitg00/pro-workflow · skills/tdd/SKILL.md · Drive a change through a red-green-refactor loop - failing test first, minimal code to pass, then clean up. Use when…
git:20260718.7f7209d · audit A · 2,922 stars
tdd SKILL.md skill
backnotprop/pstack · skills/tdd/SKILL.md · Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious…
git:20261004.c0c3f13 · audit A · 2,481 stars

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