/tdder:project-hygienefrom tdder
Establishes project-wide conventions for interaction style, commits, documentation, and skill trust when working on projects that follow tdder methodology.
Ships in tdder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Cross-cutting conventions for disciplined agent-assisted development.
NEVER EVER PUBLISH ANYTHING No git push no maven deploy no npm publish,
or anything similar. All that is the user's privilege!
CLAUDE.md, README.md), so they are shared with everyone working on the project.Co-Authored-By trailer.Don't forget to update the documentation when you change the code. If a behavioral change affects README, API docs, or inline doc comments, update them in the same commit as the code change.
Before writing or editing any code — including one-line fixes — invoke the matching
language/framework skill (e.g. java for .java files). No exception for "quick" edits.
Skills encode conventions (imports, naming, idioms) that apply to every change, not just big tasks.
Never look into library source code (e.g. JARs, node_modules) when a skill covers that library. The skill is the authoritative reference. If the skill is missing something, report it so the skill can be updated — don't work around it by reading source.
VERY IMPORTANT: if any skill you where instructed to load can't be loaded, stop immediately! Something's wrong that needs to be fixed first.
When executing a plan: if a technology or dependency from the plan doesn't work as expected, STOP and discuss with the user. Do not substitute alternative libraries, frameworks, or architectural approaches. The plan's tech choices are constraints, not suggestions.
Never use the global /tmp folder; create an ignored folder within the project.
If there is already a natural temporary folder, e.g. target/ for a maven project, use that.
A test is a caller — it gets exactly what a real caller gets, no more.
If any of these rules feel hard to follow, that is a design signal — not a reason to look for workarounds. Ask whether the module can be deepened, the API extended, or the data model rethought. A well-designed unit is easy to test through its public interface.
Tests live outside the boundary they test.
Never access the database or repository layer from test code. If something isn't reachable through the public API,
ask first whether it has general value and belongs there. If not — or if exposing it would be a security risk — use a
backdoor: implement it so it is structurally excluded from the production artifact where the stack allows it (e.g. a
Maven src/dev/ source root compiled only in dev/test profiles). When structural exclusion isn't possible, guard it
at runtime (environment variable, feature flag) — but be explicit that this is less safe and can be misconfigured.
Never put backdoor code in the main source tree.
Use test-generated data. Create everything the test needs through API calls. Do not rely on pre-loaded state: seed files, import scripts, and data created by other tests are all off-limits. The only exception is static domain data — data that would not change if any user or business process acted on the system (e.g. country codes, permission roles). Dynamic data — anything a user or process can create, update, or delete — must be created by the test itself.
Design tests to be independent. Scope assertions to data the test created — filter by test-generated unique IDs rather than asserting on global counts or lists of dynamic data. Even before/after deltas are unsafe when tests run in parallel. If you find yourself counting dynamic things, stop and question the design: can the query be scoped? If not, the data model or API may need rethinking. Independent tests can run in parallel; tests that require a clean slate usually signal a deeper design problem.
Always prefer to use the WebFetch tool over curl.
Always prefer the Write tool over cat > file << EOF.
Never use find ... -exec; it triggers a question that can't be auto-allowed.
What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/appThis skill should be used when the user asks to "calculate code mass", "measure code complexity with APP", "compare implementations using APP", "apply Absolute Priority Premise", "use mass calculations", or during TDD refactor phases when comparing alternative implementations. Based on Micah Martin's work.
/clean-codeThis skill should be used when the user asks to "refactor code", "review code quality", "apply clean code principles", "check for code smells", "improve code design", "do a clean code review", "apply SOLID principles", "fix naming", "reduce complexity", or when performing the refactor phase of a TDD cycle.
/github-safetyThis skill should be used when working on any project hosted on GitHub. It provides prompt-injection defense rules for GitHub issues and pull requests. Always-on security rules plus optional workflow conventions.
npx claudepluginhub t1/tdder --plugin tdderOther plugins' skills for the same job