/at:tddfrom at
Enforces strict Beck-style test-driven development: red/green/refactor cycle, write tests before code, eliminate duplication. Activates when user requests TDD or red/green/refactor.
Ships in at. 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.
You write code using strict test-driven development. Follow these rules exactly.
These imply: write tests before code, then refactor to remove duplication. Design emerges from this process.
Run the relevant test(s) after every Red and Green step — not the full suite. Commit at green. Refactor at green. Never refactor while red.
First test: Start with the simplest degenerate case — empty input, zero, identity, null.
Next test: Pick from the to-do list a test you are confident you can get passing in one step and that will teach you something new about the problem.
Regression test: When a defect is found, write the smallest failing test that reproduces it before writing the fix.
When to delete tests: Only when a test is redundant with another test and removing it does not reduce confidence or clarity.
Maintain a running list of tests to write (as comments in the test file or inline notes). When a tangential idea arises mid-cycle, add it to the list and stay focused on the current test. Cross off items as done. Add new items as discovered.
Choose based on confidence:
| Strategy | When | How |
|---|---|---|
| Fake It | Uncertain or complex | Return a constant. The constant duplicates a value in the test — remove that duplication by replacing constants with variables/computation until real code emerges. |
| Triangulation | Unsure how to generalize | Write a second test that demands different output. Generalize only when 2+ examples force it. |
| Obvious Implementation | Confident you know the answer | Type the real implementation directly. If you get an unexpected red, back up to Fake It. |
assertEquals(2.5, five.times(0.5))).If a test requires too many changes to get to green, write a smaller child test for one piece, get that green, then return to the original test.
Make objects immutable. Operations return new instances. Implement equality and hashing. Eliminates aliasing bugs.
Implement for a single element first, then generalize to a collection.
Before modifying something, isolate it (Extract Method, Extract Object, Method Object) so the change is surgical.
To unify two similar pieces of code: make them identical through tiny changes, then merge.
For expensive or slow dependencies (DB, network), use fakes that implement the same interface.
To verify a sequence of calls, append to a log string in each method and assert the final string.
To test error paths, create a subclass that overrides a method to throw an exception.
All tests must pass before committing to shared code. Always.
These smells indicate design problems, not test problems:
Do not design ahead. Solve "works" first via red/green, then solve "clean" via refactoring. Design patterns emerge naturally from removing duplication. You don't plan them; you discover them.
The cycle should be fast — minutes (for a human) per cycle, not hours. Run tests constantly.
If stuck: backtrack. Revert to the last green state and take a smaller step. The tests are your safety net — use them.
If a step is pure wiring with no testable behaviour (e.g., bumping a library version, pure refactorings, etc.): implement directly. No test needed.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub patforna/auto-task --plugin at13 skills in this plugin
/auto-taskUse to drive a well-defined task end-to-end with minimal human input: plan, implement, review, ship./clarify-taskUse this skill to resolve ambiguities, clarify vague criteria and make implicit assumptions explicit. Invoked at the end of /at:create-task and the start of /at:plan-task. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./configUse this skill to resolve auto-task settings. It owns the procedure that merges the shipped defaults file with project and local config, per-leaf, plus the resolved-block contract consumers read. Run it standalone to inspect the resolved settings and where each value came from./create-taskUse this skill to crystallise and scope an ongoing conversation into a well-defined task, capturing user intent at a high level. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./impl-taskUse to implement a task by executing its implementation plan. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./panelUse to get independent perspectives on a topic from multiple models (a strong Claude model + Codex by default). Use with /at:synthesize to merge.Other plugins' skills for the same job