/code:test-speedfrom code
Keeps test suites fast by preferring fewer, fuller tests, pushing logic tests down the pyramid, and cutting setup, imports, and real waits without losing coverage. Use when asked to speed up, consolidate, or rebalance tests, or after a large run that added many tests.
Ships in code. 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.
Agents add a test or two with every change and rarely add assertions to an existing test, so after a long run of tasks a suite grows by hundreds of tests, each paying its own setup, and drifts toward slow end-to-end tests. Every extra second is paid on every commit gate and every CI run. Even 1% growth deserves attention because it compounds.
Load the code:test-assertions skill alongside this one. Folding tests together almost always means replacing scattered checks with one strict whole-value assertion, and that alone often nudges coverage up.
Extend an existing test before adding a new one. Look for a test that already builds the same setup (the same fixture, database, server, render, command invocation) or exercises the same subject, and add the new case there: a new field in its expected value, another row in its table of cases, another step in its scenario.
Red/green still applies. The red step is the extended test failing on its new expectation, then the implementation turns it green.
Add a new test only when no existing test fits, and write it at the lowest level of the pyramid that proves the behavior. Pure logic gets a unit test over the function, not a browser run or a full command invocation. If logic is tangled into a component or handler, extract the pure function and test that.
Run the pass directly when invoked. The user queues it as a task themselves when they want one.
Running the suite once just to measure doubles the cost of the thing being fixed. Take timings from runs that happen anyway:
build:test-setup skill is the place to make git-test gates keep these logs.Record the baseline: total duration, test file count, test count, and the slowest files.
Compare before and after with the same command under the same conditions. A recorded number is only a baseline if it came from that command; a suite timed inside a gate that also runs type-checking and builds runs much slower than the suite alone. When the recorded number is not comparable, one extra baseline run is worth it.
Run coverage twice for the whole pass, once on the starting commit and once at the end. Never rank or time files from a coverage run: instrumentation inflates some files by more than ten times and distorts the ranking. When the project has no coverage provider, add one temporarily and revert the dependency and lockfile changes before committing. Limit the coverage include pattern to source code files, since some coverage tools crash on stylesheets or JSON under the source tree.
The suite's wall time is usually bounded by total work across workers, not by its slowest file, so a small cost paid by every file can outweigh the slowest test.
--experimental.importDurations.print) shows which imports dominate.Fewer, fuller tests:
Load less in shared setup:
Push down the pyramid:
Build expensive fixtures once:
beforeEach or test.Remove real waits:
Runner config levers:
isolate: false), keeping files that need isolation in a separate isolated project.Make one commit if possible, splitting only when the diff is huge and each commit stays green. The commit message says the suite was sped up, with at most a ballpark such as "about 20% faster", since exact timings are machine-specific.
Report in the terminal: total duration, test file count, test count, and line coverage before and after; the slowest files before and after; and slow tests left unchanged, with the reason.
When a branch or multi-task run added many tests or made the suite measurably slower, a speed pass is worth considering. Weigh it against how much the suite grew and suggest it, or queue it, when the growth is meaningful.
What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/build-warningsMake a build quiet by fixing the causes of the warnings it prints, one class at a time, with before and after counts from the same command as evidence. Covers compiler, linter and deprecation warnings, runtime warnings printed during tests, slow-test reports, and stray noise such as debug prints and unsilenced logs. Use when the user asks to clean up build or test warnings, deprecations, or noisy output, or when a caller such as burn runs it unattended./cliCLI guidelines. Use whenever using the Bash tool, which is almost always. Also use when you see "command not found: __zoxide_z" errors./code-generationFormatting rules for Java code generators that build source code via string concatenation. Use when the user asks to "fix formatter-off", "fix code generation formatting", "fix auto-formatted string concatenation", or "add formatter off", and proactively when writing, reviewing, or modifying a code generation method.npx claudepluginhub motlin/claude-code-plugins --plugin codeOther plugins' skills for the same job