nizos/tdd-guard/setup
- community
Checking that the SKILL.md file is still in the repository.
Set up or update TDD Guard for the current project. Detects the test framework, installs or updates the matching reporter, and configures or migrates its configuration to match the current specification.
Install
npx vskill@latest install nizos/tdd-guard/setupSKILL.md
TDD Guard Setup
Set up TDD Guard for the current project. Your goal is to:
- Identify the test framework(s) used in this project
- Install the matching TDD Guard reporter, or update it if already present
- 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.
Jest — Add reporter entry to the reporters array with projectRoot option.
Storybook — Construct StorybookReporter in .storybook/test-runner.ts and wire it into the postVisit hook.
pytest — Set tdd_guard_project_root in pytest config (pyproject.toml, pytest.ini, or setup.cfg).
PHPUnit — Add extension (PHPUnit 10+) or listener (PHPUnit 9.x) to phpunit.xml with project root path.
Go — Add a test target using the piped command below. Update an existing Makefile, Taskfile, or similar build system if one exists.
Rust — Add a test target using the piped command below. Update an existing Makefile, Taskfile, or similar build system if one exists.
RSpec — Add the formatter to .rspec and set TDD_GUARD_PROJECT_ROOT environment variable to the absolute project root path.
Minitest — Require tdd_guard_minitest/autorun from test/test_helper.rb (or pass -rtdd_guard_minitest/autorun via Rake::TestTask ruby_opts) and set TDD_GUARD_PROJECT_ROOT to the absolute project root path.
Guidelines
Your scope is limited to installing, updating, configuring, and migrating a TDD Guard reporter. Do not make changes beyond that.
- Always use absolute paths when configuring the project root in reporters.
- Do not install, update, or modify test frameworks, build tools, or any other project dependencies. Only install or update the TDD Guard reporter itself.
- Do not modify existing test configuration beyond the TDD Guard reporter entry. Migrate any drifted reporter configuration to match the current specification, preserving the user's project root value and leaving unrelated entries untouched. If the existing configuration cannot be migrated without guessing — for example, because it is wrapped in user-defined code or intermingled with custom logic — inform the user and let them decide.
- If a TDD Guard reporter is already installed and its configuration matches this skill's specification, inform the user that everything is up to date and stop.
- If multiple frameworks are detected, ask the user which to configure.
- If something goes wrong or is unclear, inform the user rather than attempting to fix it. Do not install additional packages or make extra changes to resolve issues.
After setup
Once complete, inform the user of what was done and that:
- TDD Guard validates changes against TDD principles
- They can type
tdd-guard off/tdd-guard onto toggle it mid-session - They can customize validation rules by editing
.claude/tdd-guard/data/instructions.md - More help and configuration options are available at https://github.com/nizos/tdd-guard
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugin/skills/setup/SKILL.md
Popularity
- Repository stars
- 2,353
- Repository forks
- 188
- 7-day trend score
- 39
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nizos/tdd-guard/setup)