specmint-tdd

specmint-tdd is a skill for Claude Code, Codex from ngvoicu/kluris. It costs 146 tokens per session (8,593 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

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code.

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,593 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.08593
Opus 5.5 $0.00058 $0.03437
Sonnet 5.5 $0.00029 $0.01719
Haiku 4.5 $0.00015 $0.00859

Measured 3d ago against content hash fc7434fa5616, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

vendored/specmint-tdd/SKILL.md · 827 lines

How it starts

The opening of the file, as written. The whole thing — 827 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 · 827 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +4 lines fc7434fa5616
  2. 1mo 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 (6 stars, last pushed today), licensed MIT. It adds 146 tokens to every session and 8,593 once invoked, about $0.0006 per session on Opus 5.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.