setup

setup is a skill for Claude Code from nizos/tdd-guard. It costs 39 tokens per session (1,396 once invoked), scanned A, original, MIT.

A project setup helper for TDD Guard, a tool that reports test results while you develop using test-driven development (writing tests before production code).

In plain words
What is it for?
It helps connect TDD Guard to Vitest, Jest, Storybook, pytest, PHPUnit, Go, Rust, RSpec, or Minitest, including migrating existing configuration.
Why use it?
It removes the need to identify the test framework, find the matching reporter package, and update the reporter configuration by hand.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the tdd-guard plugin — 1 skill, 3 hooks shipped together

Good fit It helps connect TDD Guard to Vitest, Jest, Storybook, pytest, PHPUnit, Go, Rust, RSpec, or Minitest, including migrating existing configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nizos/tdd-guard/setup
About the project

TDD Guard is an automated tool for Claude Code that checks whether coding work follows test-driven development by blocking implementation when required tests are missing or the code exceeds current test needs. It is for developers who want an AI coding agent to write failing tests first, implement minimally, and refactor according to configured lint rules.

nizos/tdd-guard · 2,362 stars · on GitHub

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 nizos/tdd-guard --skill setup
Clone the repo
git clone --depth 1 https://github.com/nizos/tdd-guard

Made for: Claude Code.

Or install tdd-guard, the plugin that ships this one along with the rest of its 1 skill, 3 hooks.

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 setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nizos/tdd-guard/setup"><img src="https://agentmods.dev/badge/skills/nizos/tdd-guard/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,396 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.01396
Opus 5.5 $0.00016 $0.00558
Sonnet 5.5 $0.00008 $0.00279
Haiku 4.5 $0.00004 $0.00140

Measured 1mo ago against content hash 1a5786af139b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup 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 1mo 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.

plugin/skills/setup/SKILL.md · 151 lines

How it starts

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

TDD Guard Setup

Set up TDD Guard for the current project. Your goal is to:

  1. Identify the test framework(s) used in this project
  2. Install the matching TDD Guard reporter, or update it if already present
  3. Configure the reporter, or migrate an existing configuration to match the current specification

Reporter packages

Framework Reporter package Registry
Vitest tdd-guard-vitest npm
Jest tdd-guard-jest npm
Storybook tdd-guard-storybook npm
pytest tdd-guard-pytest PyPI
PHPUnit tdd-guard/phpunit Packagist
Go github.com/nizos/tdd-guard/reporters/go/cmd/tdd-guard-go go install
Rust tdd-guard-rust crates.io
RSpec tdd-guard-rspec RubyGems
Minitest tdd-guard-minitest RubyGems

Reporter configuration

All reporters write test results to .claude/tdd-guard/data/test.json relative to the project root.

Vitest — Add the reporter entry to the reporters array with projectRoot in the options object.

reporters: [
  'default',
  ['tdd-guard-vitest', { projectRoot: '/absolute/path/to/project' }],
]

Jest — Add reporter entry to the reporters array with projectRoot option.

reporters: [
  'default',
  ['tdd-guard-jest', { projectRoot: '/absolute/path/to/project' }],
]

Storybook — Construct StorybookReporter in .storybook/test-runner.ts and wire it into the postVisit hook.

// .storybook/test-runner.ts
import { StorybookReporter } from 'tdd-guard-storybook'

const reporter = new StorybookReporter({
  projectRoot: '/absolute/path/to/project',
})

module.exports = {
  async postVisit(page, context) {
    await reporter.onStoryResult(context)
  },
}

process.on('exit', () => {
  reporter.onComplete()
})

Read the full file on GitHub · 151 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. 1mo ago First seen · 151 lines · 39 tokens per session scan A 1a5786af139b

Subscribe to this mod's changes

setup is a skill published in the GitHub repository nizos/tdd-guard (2,362 stars, last pushed 7d ago), licensed MIT. It adds 39 tokens to every session and 1,396 once invoked, about $0.0002 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-30.