Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By drumfiend21
Drop-in plugin that elevates any codebase to Google's published engineering standards (eng-practices, JS/TS style, Python style). /analyze produces a citable compliance report; /remediate executes a small-CL plan that ratchets the codebase toward the bar; every greenfield prompt is gated by the same RUBRIC.yaml. Hardened against prompt-injection, secret-leakage, and protected-branch commits. Auto-disclosure via Assisted-by: trailer.
npx claudepluginhub drumfiend21/claude-tdd-proWrite a Markdown specification for a non-trivial feature BEFORE any code. Loads the spec-first skill explicitly.
Write an Architecture Decision Record (MADR format) in the project's adr/ directory. Loads adr-writer skill.
Cold-start audit of the current codebase against Google's published engineering standards (eng-practices, JS/TS style, Python style). Produces COMPLIANCE-REPORT.md (ranked findings with citations) and LANDMINES.md (high-risk files to refactor with care). Read-only — no edits.
Verify claude-tdd-pro is wired up correctly on this machine and against this project. Smoke-tests every hook, runs the rubric runner against a known-bad fixture, runs the eval suite. Reports green / yellow / red per primitive. Read-only — no edits.
Extract a component / module from a god-file using the strict 9-step test-first refactor pattern.
Example customer-facing agent template demonstrating the §2.26 v1.11 safety contract. Operators copy this file and replace fields. The agent answers product-catalog questions grounded in the operator's RAG store; it refuses ungrounded queries and routes its output through the safety classifier.
Architecture elicitor subagent for W-1. Decomposes a feature description into decision points, enumerates grounded options per S/L/C source, asks the operator per decision, declines un-grounded options.
Independent-verifier subagent for changes touching paths listed in `.claude-tdd-pro/critical-paths.txt`. Reads the candidate diff on stdin and emits `verdict: agree` or `verdict: disagree <reason>` so the F-3 `/agent-verify` command can gate the commit. Runs as a separate Claude instance with no shared context with the editing instance, per the Karpathy/Cursor independent-verifier discipline.
Use as a final-pass reviewer with NO prior conversation context. Catches drift the active session is blind to (assumptions accumulated, scope creep, naming inconsistencies invisible from inside the work). Pattern from 2389-research/claude-plugins. Read-only; returns a punch list to the parent.
W-11 coordinator subagent that fans out work to multiple §2.3 subagents within a single CL, serializing on §2.7 overlapping lock sections, deduplicating findings by rule_id+file+line, and reporting per-subagent token cost with subagent_id preserved for H-12 telemetry. Refuses parallel execution when total estimated tokens exceed `userConfig.parallel_budget_tokens`.
Use when the user explicitly invokes /adr or asks to "record an architecture decision" / "write an ADR." Produces an MADR-format Architecture Decision Record. Pattern from adr.github.io and the AgDR (Agent Decision Record) extension at me2resh/agent-decision-record. Lightweight, in-repo, future-engineer-readable.
H-13 long-running agent harness continuity per §26 v1.11. When a CL exceeds a single agent context window, the initializer agent writes a continuation artifact at `.claude-tdd-pro/agent-continuations/<session_id>.json` and the incremental successor agent reads it at startup to resume from `next_action` without losing the §2.15 workflow state envelope.
Interactive architecture elicitation. Decomposes a feature description into decision points, enumerates grounded options per S/L/C source, prompts the operator per decision, and writes ADRs.
Use when the user reports a BUG (existing behavior is wrong) — phrases like "X breaks when Y", "this used to work", "got an error/exception/500", "regression", "this is a bug". NOT for new features (use tdd-feature-build). Enforces bug-as-failing-test — capture the broken behavior FIRST, confirm red, fix, confirm green. The fix never lands without the test that would have caught it.
Opt-in concurrent-CL execution (W-10 / §2.23). Reads active session envelopes from `.claude-tdd-pro/active-sessions/<session_id>.json` and gates `/spec` / `/feature` / `/architect` invocations against the §2.23 five-dimension disjointness contract (phase set, workflow-state subsections, lock sections, source-folder ownership, commit branch). Default is sequential per §20; activated via `userConfig.allow_concurrent_cls: true` or per-invocation `--concurrent`.
Output style that biases prose toward citing Google-style rule IDs (RUBRIC.yaml) and upstream Google anchors. Use when working in code review, /analyze, /remediate, and /pr flows. Suppresses purple prose; favors terse, citation-anchored statements.
Output style for opening a PR. Test-Plan-first prose voice. Strips marketing language, requires concrete commands and observed output, and cites rule IDs the diff closes.
Output style for the red-green-refactor cycle. Each step is announced as RED, GREEN, or REFACTOR with the test or behavior it covers. Suppresses anything that breaks the cadence — no exposition between cycles.
Modifies files
Hook triggers on file write and edit operations
Requires secrets
Needs API keys or credentials to function
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
lint_commandCommand to run linters (e.g. 'npm run lint', 'ruff check .'). Used by pre-flight checks.
${user_config.lint_command}test_commandCommand to run the full test suite (e.g. 'npm test', 'pytest', 'go test ./...'). Used by pre-flight checks.
${user_config.test_command}build_commandProduction build (e.g. 'npm run build'). Empty string to skip.
${user_config.build_command}package_managerWhich package manager the /pr and /init-guardrails commands should use.
${user_config.package_manager}default_reviewerOptional GitHub handle to assign by default on /pr (e.g. 'octocat'). Empty = no auto-assign.
${user_config.default_reviewer}attribution_styleTrailer to append to commits and PR bodies. 'assisted-by' is the 2026 convention (Linux kernel, Anthropic). 'co-authored-by' is the legacy GitHub-stat-inflating convention. 'none' suppresses the trailer entirely.
${user_config.attribution_style}tdd_guard_defaultTDD-Guard is now ON by default (matches Google eng-practices tests-with-change). Set this to false to revert to opt-in behavior; per-project override is .claude-tdd-pro/tdd-guard.disabled.
${user_config.tdd_guard_default}typecheck_commandType checker (e.g. 'npm run typecheck', 'mypy .'). Empty string to skip.
${user_config.typecheck_command}format_check_commandRead-only format check (e.g. 'npm run format:check', 'black --check .').
${user_config.format_check_command}ai_disclosure_requiredWhen true, /pr will refuse to draft a PR without an explicit 'AI involvement' section.
${user_config.ai_disclosure_required}rubric_severity_thresholdP0-only blocks Stop on correctness/security violations only. P0+P1 also blocks on style violations. P0+P1+P2 also blocks on doc/comment gaps. Recommended: P0 for legacy elevation, P0+P1 for greenfield.
${user_config.rubric_severity_threshold}Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research
v9.44.0 — Patch release for cursor-agent smoke checks in untrusted workspaces. Run /octo:setup.
Permanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications
Uses power tools
Uses Bash, Write, or Edit tools
Uses power tools
Uses Bash, Write, or Edit tools
No model invocation
Executes directly as bash, bypassing the AI model
No model invocation
Executes directly as bash, bypassing the AI model
Share bugs, ideas, or general feedback.
curl -fsSL https://raw.githubusercontent.com/drumfiend21/claude-tdd-pro/main/scripts/install.sh | bash
Interactive prompts walk you through profile, harness, and LSP wiring. Background rubric verification runs while you start coding. See QUICKSTART.md for the full walk-through, subcommands (init / upgrade / doctor / uninstall), conflict handling, and lockfile semantics.
# Scripted / CI (npm init -y pattern):
curl -fsSL .../install.sh | bash -s -- init --yes
# Full kit with Grok harness:
curl -fsSL .../install.sh | bash -s -- init --yes --profile strict --with-grok --with-lsp
A Claude Code plugin that elevates any codebase to Google's
published engineering standards (eng-practices, JS/TS style, Python
style) and keeps it there. Drop the plugin into any Claude install,
point it at any repo, run /analyze for a citable compliance report,
run /remediate for a small-CL elevation pass. For greenfield code,
every prompt is gated through the same RUBRIC.yaml so output is
born-compliant.
Current version: 0.4.0 — see CHANGELOG.md.
Existing repo: install → cd repo → /analyze → review the
generated COMPLIANCE-REPORT.md and LANDMINES.md → /remediate
(token-confirmed) → land the small-CL chain → /pr.
Greenfield code: install → start a session → every code-emitting
prompt fires through paths-scoped Google-style skills (google-style-ts,
google-style-py), TDD-Guard (default-on), the rubric runner, and
the Stop hook (on side-effecting flows). Output is compliant before
it lands.
When installed, this plugin:
nizos/tdd-guard; turns advisory skills
into hard enforcement..env, id_rsa, AWS/GitHub/OpenAI/JWT patterns), RCE-
hardened lint hook (no npx, no symlinked-ancestor following,
workspace-bounded paths), exact-token PR confirmation (resists
prompt injection), gh auth status check before push.CONVENTIONS.md →
auto-generates Cursor / Copilot / Aider / Windsurf / AGENTS.md
sister files via /sync-rules.evals/ runs the security hooks against
known-bad inputs. Run with bash evals/runner.sh.gh, node, ruff, etc. instead of silent fail.mkdir -p ~/.claude/plugins
git clone https://github.com/YOUR_USER/claude-tdd-pro ~/.claude/plugins/claude-tdd-pro
Restart Claude Code. The Setup hook fires on first session and verifies dependencies. See INSTALL.md for verification steps and troubleshooting.