specmint-tdd-html

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

A test-first workflow for turning feature requests into structured HTML specifications. Each specification records the requirements, progress, tests, implementation tasks, and decisions in a file under `.specs/`.

In plain words
What is it for?
Use it to plan features, define acceptance criteria, pair tests with implementation tasks, record research and decisions, and continue an unfinished specification.
Why use it?
It keeps plans and implementation status in one place, so an AI coding agent can resume work and track whether requirements are covered. TDD means writing a failing test, making it pass, then improving the code.

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 plan features, define acceptance criteria, pair tests with implementation tasks, record research and decisions, and continue an unfinished specification.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngvoicu/kluris/specmint-tdd-html"><img src="https://agentmods.dev/badge/skills/ngvoicu/kluris/specmint-tdd-html.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,185 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.00147 $0.11185
Opus 5.5 $0.00059 $0.04474
Sonnet 5.5 $0.00029 $0.02237
Haiku 4.5 $0.00015 $0.01119

Measured 3d ago against content hash fb21d4bbfd6f, 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-html 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.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/spec-runtime.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

vendored/specmint-tdd-html/SKILL.md · 922 lines

How it starts

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

Spec Mint TDD HTML

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 render as professional HTML documents (Mermaid diagrams, syntax-highlighted code diffs, optional wireframe or hi-fi UI mockups, RGR swimlane TDD log, derived progress + current TDD phase scorecard) and live in .specs/ at the project root. They work with any AI coding tool that can read and edit HTML files.

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 (markdown, denormalized index)
    • Shared assets: .specs/assets/spec-styles.css + .specs/assets/spec-runtime.js
    • Per-spec files: .specs/<id>/SPEC.html, .specs/<id>/research-*.md, .specs/<id>/interview-*.md
    • Optional scratch: .specs/<id>/artifacts/ — any AI-tool transient files (test-run logs, attempt dumps, debug traces). Never authoritative. Don't write scratch files anywhere else under .specs/<id>/.
  3. Authority rule: The <script id="spec-meta"> JSON inside SPEC.html is authoritative for identity. data-status attributes on tasks / phases / acceptance criteria are authoritative for lifecycle. The data-tdd-phase attribute on an IMPL task carries RGR state. The 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.html (swap data-status, update phase pill if transitioning, append TDD log entry on cycle close) AND registry.md (progress count, date). Run the validate recipe (see references/validate.md) to confirm the file still parses. Re-read both files to verify the edits landed. Never move to the next task without updating both files. Never end a session with the registry out of sync with the derived progress in SPEC.html. This is non-negotiable.

Read the full file on GitHub · 922 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. 3d ago Changed · +668 lines · +73 tokens per session fb21d4bbfd6f
  2. 1mo ago First seen · 254 lines · 74 tokens per session scan A 901854e19124

Subscribe to this mod's changes

specmint-tdd-html is a skill published in the GitHub repository ngvoicu/kluris (6 stars, last pushed today), licensed MIT. It adds 147 tokens to every session and 11,185 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.