/dstack-performance:optimizefrom DStack Performance
Fixes one named performance path or symptom with a single measured change. Requires a resolvable target, baseline measurement, and bottleneck evidence before editing.
Ships in DStack Performance. 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.
This skill fixes one named path or one performance symptom with a single measured change: latency, allocations, bundle weight, query cost, or a frontend performance metric. A supplied benchmark does not turn the job into a campaign. Everything stays local and reversible: the named target, necessary in-scope correctness coverage, one explicitly bounded local measurement instrument, and one authorized regression guard. Nothing remote, no credentials, no deployment, no paid services, no inferred infrastructure changes, and no automatic optimization commit. The work is done when the named bottleneck is measurably improved past noise, required behavior and repository checks pass, a regression guard holds the metric, and every kept or reverted attempt has a ledger entry.
Discover facts from the tree before asking the user for missing information. You need a resolvable target and symptom or metric, representative measurement conditions, and discoverable repository-native verification. If the request is really a full campaign, name optimize-extremely as the owner instead of widening this workflow.
When instrumentation cannot separate a stage's useful work from dispatch overhead, first estimate whether removing that stage entirely could meet the target. If mutation is authorized, disable only that stage in an isolated, temporary experiment under the same workload and measurement protocol. Label the result an attribution bound, never a correct implementation or a shippable speedup, and restore the experiment without overwriting unrelated changes. Before rebuilding a reverted design, measure the dominant operation across input sizes and distinguish write-only staging that can be deleted from state coupled to live behavior. For synchronous regex prescreens, measure adversarial inputs at the supported size limit and check both complexity and match semantics after a rewrite. A timeout on the same blocked execution thread is not an interruption mechanism. Oversized input must follow the documented safety posture. Never truncate away a risky suffix.
This owner does not use five candidates, floor arithmetic, a 5 percent hotspot threshold, a universal 1.05x win rule, cold-list grading, or atomic campaign commits. Those belong to the campaign. Broader read-only hot and cold analysis is fastopt-extreme, hypothesis-only hot-path design is fastopt, and a full measured-floor campaign is optimize-extremely. Naming a peer never executes its procedure.
Reverted code leaves no trace. Kept ledger entries remain so discarded ideas are not re-profiled.
The code change with before and after measurements under identical conditions, plus one ledger entry per attempt stating hypothesis, baseline value, result value, metric name, tool, noise assessment, correctness result, and verdict. On failure, return the exact blocked or reverted state, the measurements obtained, and the precise blocker.
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/cpu-kernel-authoringUse when writing, optimizing, or benchmarking a C++ CPU kernel with AVX2 or AVX512 intrinsics for the Hugging Face kernels ecosystem. Not for CUDA kernels./decoded-memo-retentionUse when a query-scoped decoded-block cache is bounded only by serialized work bytes, or when fallback paths retain many decoded blocks. Not for total-process memory promises: this skill never claims a process-wide bound./fastoptUse when a suspected hot path needs read-only hypotheses and benchmark designs, without waiting for benchmarks and without a code change. Not for a single measured fix: use optimize. Not for estimated hot and cold analysis: use fastopt-extreme. Not for measured-floor campaigns: use optimize-extremely.npx claudepluginhub gosuda/dstack-skills --plugin dstack-performanceOther plugins' skills for the same job