specmint-tdd

specmint-tdd is a skill for Claude Code, Codex from ngvoicu/kluris. It costs 146 tokens per session (8,577 once invoked), scanned A, original, MIT.

A test-first workflow for turning feature requests into persistent specifications written in Markdown. The specifications store phases, tasks, acceptance criteria, research, decisions, progress, and deviations under `.specs/`.

In plain words
What is it for?
Use it to research and plan features, define acceptance criteria, organize implementation into phases, record decisions, track progress, and continue work on an existing specification.
Why use it?
It replaces temporary plans with a shared record that an AI coding agent can resume and update. TDD means writing a failing test, making it pass, then refactoring while the tests stay green.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: mentions Claude Code; mentions Codex; built for cline.

Good fit Use it to research and plan features, define acceptance criteria, organize implementation into phases, record decisions, track progress, and continue work on an existing specification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ngvoicu/kluris/specmint-tdd
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.

Any agent
npx skills add ngvoicu/kluris --skill specmint-tdd
Clone the repo
git clone --depth 1 https://github.com/ngvoicu/kluris

Made for: Claude Code, Codex.

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 specmint-tdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/ngvoicu/kluris/specmint-tdd/github.svg)](https://agentmods.dev/skills/ngvoicu/kluris/specmint-tdd)
Your own site
<a href="https://agentmods.dev/skills/ngvoicu/kluris/specmint-tdd"><img src="https://agentmods.dev/badge/skills/ngvoicu/kluris/specmint-tdd/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 specmint-tdd

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngvoicu/kluris/specmint-tdd"><img src="https://agentmods.dev/badge/skills/ngvoicu/kluris/specmint-tdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,577 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.00146 $0.08577
Opus 5 $0.00073 $0.04288
Sonnet 5 $0.00029 $0.01715
Haiku 4.5 $0.00015 $0.00858

Measured 11d ago against content hash 503ab6641e62, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

specmint-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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

src/kluris/vendored/specmint-tdd/SKILL.md · 823 lines

How it starts

The opening of the file, as written. The whole thing — 823 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spec Mint TDD

Turn ephemeral plans into structured, persistent specs built through deep research and iterative interviews — with strict test-driven development at every step. Every task starts with a failing test, production code exists only to make tests pass, and refactoring happens under green. Tests use testcontainers for real services, mock only at boundaries, and make no external network calls. Specs have phases, tasks, acceptance criteria, a registry, resume context, a decision log, a TDD log, and a deviations log. They live in .specs/ at the project root and work with any AI coding tool that can read markdown.

Whether .specs/ is committed is repository policy. Respect .gitignore and the user's preference for tracked vs local-only spec state.

Critical Invariants

  1. Single-file policy: Keep this workflow in one SKILL.md file.
  2. Canonical paths:
    • Registry: .specs/registry.md
    • Per-spec files: .specs/<id>/SPEC.md, .specs/<id>/research-*.md, .specs/<id>/interview-*.md
  3. Authority rule: SPEC.md frontmatter is authoritative. Registry is a denormalized index for quick lookup.
  4. Active-spec rule: Target exactly one active spec at a time.
  5. Parser policy: Use best-effort parsing with clear warnings and repair guidance instead of hard failure on malformed rows.
  6. TDD invariant: No production code without a failing test. The implement workflow enforces red-green-refactor at every task. Tests are executed via the actual test runner, not assumed to pass. This is sacred — see "Tests Are Sacred" and "Blocking Rule" in the implement section.
  7. Progress tracking is sacred: After completing any task, immediately update SPEC.md (checkbox, ← current marker, phase marker, TDD log) AND registry.md (progress count, date). Then re-read both files to verify the edits landed correctly. Never move to the next task without updating both files. Never end a session with the registry out of sync with SPEC.md. This is non-negotiable — if you do nothing else, do this.

Read the full file on GitHub · 823 lines

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. 11d ago First seen · 823 lines · 146 tokens per session scan A 503ab6641e62

Subscribe to this mod's changes

specmint-tdd is a skill published in the GitHub repository ngvoicu/kluris (7 stars, last pushed 2mo ago), licensed MIT. It adds 146 tokens to every session and 8,577 once invoked, about $0.0007 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

pdlc-feature

An automated workflow for taking a new software feature from a description or requirements document through requirements, design, testing, implementation, review, and release preparation. It keeps one feature ID across the documents and requires tests before implementation.

kanfu-panda/pdlc-skills · 30 tokens

pdlc-implement

A guarded coding workflow that implements a feature from its design document and existing tests, then checks the result. It requires tests to be written first, following TDD (test-driven development).

kanfu-panda/pdlc-skills · 29 tokens

pdlc-tdd

A test-first development workflow guided by existing design documents. TDD means writing tests before the code they check; PDLC is a staged product-development process with required preparation steps.

kanfu-panda/pdlc-skills · 25 tokens

pdlc-loop-run

An automated loop that moves a feature through TDD, implementation, and review. TDD, or test-driven development, means writing tests as part of defining and checking the code’s expected behavior.

kanfu-panda/pdlc-skills · 28 tokens

aidex-bugfix

Use when fixing a bug, resolving a reported issue, or when something is broken and needs a test-driven fix — investigate root cause, write a failing regression test (RED), implement the minimum fix, confirm the test passes (GREEN), then commit test and fix together. Fires on "fix this bug", "this is broken", "it's not…

yacb2/aidex · 144 tokens

tdd

Use before writing any implementation code — enforces RED-GREEN-REFACTOR cycle.

yimwoo/hotl-plugin · 21 tokens