Initialize workspace TDD Guardian config and enable strict hooks for test/coverage enforcement.
From tdd-guardiannpx claudepluginhub xiaolai/claude-plugin-marketplace --plugin tdd-guardianThis skill uses the workspace's default tool permissions.
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.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
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.