tdd

A Test-Driven Development guide. TDD means writing a test for one observable behavior, seeing it fail, implementing enough to pass, and then improving the code while the test stays passing.

In plain words
What is it for?
Building features one behavior at a time, fixing regressions, choosing tests at public interfaces, and running focused tests before broader checks.
Why use it?
It keeps implementation tied to concrete requirements and catches misunderstandings early. It also favors tests that remain useful when internal code changes.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/moontzai/folderbridge-mcp/tdd
Any agent
npx skills add MoonTzai/folderbridge-mcp --skill tdd
Clone the repo
git clone --depth 1 https://github.com/MoonTzai/folderbridge-mcp

Made for: Claude Code, Codex.

Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.00226
Opus 5 $0.00010 $0.00113
Sonnet 5 $0.00004 $0.00045
Haiku 4.5 $0.00002 $0.00023

Measured 2d ago against content hash 7017e56fc5eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tdd 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 2d 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.

skill_packs/matt-pocock-engineering/skills/tdd/SKILL.md · 15 lines

What it actually says

Test-Driven Development — FolderBridge Adaptation

Drive one observable behavior at a time through a public interface seam.

For each vertical slice: write one test that names a behavior from the spec, run it and confirm it is red for the intended reason, implement only enough behavior to turn it green, then refactor while the suite remains green. Do not batch a large imagined test suite before implementation; each passing slice should teach you what the next slice actually needs.

Prefer tests that survive internal renames and implementation changes. Assert literal outcomes from the requirement rather than recomputing expected values with the same algorithm as production. Use a seam that callers naturally cross; if the only way to test is by reaching deep into internals, reconsider the module design first.

Run the smallest relevant test frequently and the full suite at meaningful checkpoints. Never refactor while the target behavior is still red. When a regression is being fixed, keep the red test as a permanent guard unless it only tests incidental implementation detail.

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. 2d ago First seen · 15 lines · 19 tokens per session scan A 7017e56fc5eb

Subscribe to this mod's changes

tdd is a skill published in the GitHub repository MoonTzai/folderbridge-mcp (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 19 tokens to every session and 226 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

mem0-integrate

Integrate Mem0 into an existing repository using a goal-driven, TDD pipeline. Detects the repo's language automatically and asks the user to pick between Mem0 Platform (managed) and Mem0 Open Source (self-hosted). Writes failing tests before any implementation. Produces a local feature branch plus .mem0-integration/…

mem0ai/mem0 · 188 tokens

seller-research

Use when researching a merchant, storefront, marketplace seller, or merchant of record for a buying decision, especially when identity, refund terms, fulfillment, counterfeit risk, domain history, or independent buyer outcomes are uncertain.

cinderline/northcinder · 46 tokens

engineering-workflow

可靠工程工作流的执行细则——探索→计划→TDD→系统化调试→代码审查→完成前验证。供方法论教练在开发任务中逐步引导。.

TencentCloud/Octop · 47 tokens

product-research

Use when researching or comparing a specific product, model, or variant for a buying decision, especially when specifications conflict, fit or compatibility matters, retailer copy dominates, or the evidence may be incomplete.

cinderline/northcinder · 43 tokens

codexless-release-supervisor

Prepare, validate, and publish Codexless preview/hotfix releases from the canonical household source, including acceptance anti-omission gates, candidate provenance/parity, manifest/build identity, native Windows/macOS fresh-install acceptance from clean public source, safe Git integration, GitHub prerelease…

liyana31811/Codexless · 87 tokens

codexless-browser-repair

Diagnose and temporarily repair Codexless Browser compatibility after a Codex, Chrome Skill, or Browser runtime update when Codexless Browser stopped working. Use for current-version Codexless Browser compatibility drift, not ordinary website bugs, general Browser operation, Codexless install/update work, or long-term…

liyana31811/Codexless · 70 tokens