Help us improve
Share bugs, ideas, or general feedback.
From tdd-guardian
Initialize workspace TDD Guardian config and enable strict hooks for test/coverage enforcement.
npx claudepluginhub xiaolai/claude-plugin-marketplace --plugin tdd-guardianHow this skill is triggered — by the user, by Claude, or both
Slash command
/tdd-guardian:initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create `.claude/tdd-guardian/config.json` using project-appropriate commands.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Share bugs, ideas, or general feedback.
Create .claude/tdd-guardian/config.json using project-appropriate commands.
testCommandcoverageCommandmutationCommand (optional)enforceOnTaskCompleted — run gates automatically on task completionblockCommitWithoutFreshGate — block commit/push/publish without fresh gatesfalse (non-blocking). Skills, agents, and slash commands still work — only automatic blocking is opt-in.Default config template:
{
"enabled": true,
"enforceOnTaskCompleted": false,
"blockCommitWithoutFreshGate": false,
"gateFreshnessMinutes": 120,
"bypassEnv": "TDD_GUARD_BYPASS",
"preflightCommand": "",
"testCommand": "pnpm test",
"coverageCommand": "pnpm test -- --coverage",
"coverageSummaryPath": "coverage/coverage-summary.json",
"coverageThresholds": {
"lines": 100,
"functions": 100,
"branches": 100,
"statements": 100
},
"coverageMode": "absolute",
"smartStaleness": true,
"requireMutation": false,
"mutationCommand": ""
}
"absolute" (default): must meet configured thresholds"no-decrease": blocks only if coverage decreased from recorded baseline (useful for projects with pre-existing coverage gaps)When smartStaleness: true (default), stale gate timestamps are allowed if no source files have changed since the last gate pass. This prevents unnecessary re-runs when stepping away from the project.
If project is not Node-based, replace commands with project-native equivalents.