/adeck:test-driven-developmentfrom adeck
Guides when to write tests vs. implement directly during feature or bugfix work. Enforces red-green testing: bug fixes require a failing repro first; simple changes skip tests; logic, contracts, and refactors require proven-failing tests.
Ships in adeck. 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.
Read when SKILL.md points to them.
Tests are for code that can be wrong in ways reading it won't show. Decide for each change whether it needs one. Simple changes are written directly and checked by running them; the rest get a test that has been seen to fail.
Before the first edit: adeck:using-git-worktrees decides where the work happens, unless adeck:executing-specs already did at its Setup.
A bug fix always starts with a test that reproduces it, however small or obvious the fix: it broke, so it was not obvious. The test fails on the current code for the reported reason before you change that code. A deadline does not change this; the repro is how you know the fix worked.
Otherwise, write it directly when the whole behavior is visible in the diff and a reader would call it right at a glance: copy, styling, config values, renames, wiring that passes data through, or changing which input goes into logic that is already tested (a sort key, a flag, an argument). Don't add a test for it — a test that asserts a string or a constant equals its new value catches nothing. Update existing tests that pin the old value.
Test it when a wrong answer would look plausible:
Unsure? Ask whether a reviewer reading the diff would see it if it were wrong. If they would, write it directly; if it could look right and still be wrong, test it.
A test only ever seen passing proves nothing. For each behavior you test, either:
A test that passes before the behavior exists is a finding: either it does not test what its name says, or the behavior already exists. Find out which before you write production code.
Every change, tested or written directly, is checked by running something:
the tests that exercise the code you touched (the files that import it, its
callers' tests, the end-to-end tests that load it), and the typecheck or
build when there is one. Search for them; a scope statement in your task
bounds the deliverable, not your verification. The full suite runs once,
when the branch lands (adeck:executing-specs landing.md).
Your report says, per behavior, what proves it: the test and how it was proven red, or what you ran for a change written directly. Any failure a run shows — including one you didn't cause — goes in your report by name; a red test you watched scroll past and didn't mention is a report falsified by omission.
Before writing or changing a test, a mock or a test helper, read writing-good-tests.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/artifactsUse for any visual or shareable deliverable — design docs, research or investigation write-ups, technical plans and rewrite proposals, reviews, slides, whiteboards, UI artboards/mockups, interactive HTML pages, data reports/dashboards, verification reports, or video storyboards — including when the user asks to write findings or a plan up as a document without naming a file path, even if the project keeps markdown docs in a docs/ folder; or when the user asks for an artifact/Artideck page, shares or pastes an Artideck Cloud link (.../a/...), or references artifact comments, even during brainstorming or when the harness has its own artifact tool./brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation)./npx claudepluginhub innei/artideck --plugin adeckOther plugins' skills for the same job