tdd-workflow

A development workflow based on test-driven development (TDD), where tests are written before or alongside code changes. It covers unit, integration, and end-to-end tests and requires at least 80% test coverage.

In plain words
What is it for?
Use it when adding features, fixing bugs, or changing existing code. It guides testing at the individual function, connected-component, and full-application levels.
Why use it?
It helps catch bugs while features, fixes, and refactors are being built instead of after they are finished. It also sets a clear test coverage target.

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/pm-bhatt/everything-gemini-cli/tdd-workflow
Any agent
npx skills add pm-bhatt/everything-gemini-cli --skill tdd-workflow
Clone the repo
git clone --depth 1 https://github.com/pm-bhatt/everything-gemini-cli

Made for: Claude Code, Codex.

Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,430 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00043 $0.01430
Opus 5 $0.00022 $0.00715
Sonnet 5 $0.00009 $0.00286
Haiku 4.5 $0.00004 $0.00143

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

Security

Grade A, and why

tdd-workflow 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 3d 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.

skills/tdd-workflow/SKILL.md · 242 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 242 lines · 43 tokens per session scan A 83b62b98e971

Subscribe to this mod's changes

tdd-workflow is a skill published in the GitHub repository pm-bhatt/everything-gemini-cli (30 stars, last pushed 7mo ago), with no licence file. It adds 43 tokens to every session and 1,430 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

testing

Testing workflow and quality standards for writing and running tests. Use when: (1) Writing new tests, (2) Adding a new feature that needs tests, (3) Modifying logic that has existing tests, (4) Before claiming a task is complete.

iOfficeAI/AionUi · 55 tokens

dmvcframework-testing

Use when writing or fixing tests for a DelphiMVCFramework API — integration tests that drive real HTTP against an in-process server, or unit tests around controllers. Covers the DUnitX + in-process IMVCServer + IMVCRESTClient stack, CRUD/auth/authorization test patterns, database fixtures and the console runner.…

danieleteti/delphi-ai-skills · 115 tokens

test-workflow

Automatically run after editing source files to select and run the appropriate test suite. Triggers on: any src/ file edit before a commit, or when the user says "run tests", "check tests", or "make sure tests pass". Selects unit, E2E, visual regression, or CSS lint based on what changed. Protects running dev servers.…

jerseycheese/agent-skills · 112 tokens

test-fix

Automatically invoke when any test run produces failures. Triggers on: test output showing FAIL, test errors, or assertion failures in unit or E2E suites. Applies a strict 3-attempt limit per failure to avoid debugging spirals — stops and escalates if not resolved. Do NOT wait for user to ask; invoke immediately when…

jerseycheese/agent-skills · 91 tokens

nestjs-testing

NestJS testing best practices (unit and e2e). Use when writing or reviewing NestJS tests — Test.createTestingModule, mocking providers, controller/service unit tests, or e2e with supertest. Triggers on TestingModule, createTestingModule, overrideProvider, or supertest.

dkmqflx/nestjs-best-practices-plugin · 62 tokens

test-generation

Generate comprehensive tests for code including unit tests, integration tests, and edge case coverage. Analyzes code to identify testable units and generates tests matching the project's testing framework and conventions.

richardcb/oh-my-gemini · 41 tokens