/dxd-skills:data-oriented-designfrom dxd-skills
Redesign performance-critical data structures around how they are accessed: flat arrays with index handles instead of hash maps and pointers, struct-of-arrays layouts, bit-packed indices, inline-capacity lists, and bitsets, instead of adding caches. Use when asked to apply data-oriented design, or to make a profiled hot loop or data structure faster in systems code.
Ships in dxd-skills. 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.
Lay data out for the loops that read it. These are redesigns, not quick fixes: each changes a type that many call sites use. For cheap app-level wins such as sequential awaits or whole-row reads, use hot-path-audit.
SmallVec, llvm::SmallVector, or
fixed-capacity containers like std::inplace_vector / ArrayVec when a hard
bound exists) when most lists are small. Choose the capacity from measured sizes,
keep the spill or overflow path working, and check that the larger parent struct
does not slow its own moves and copies.std::bitset, fixedbitset, std.bit_set, a u64
array). It is 8x smaller and scans with popcount and count-trailing-zeros. It
loses per-element references, and concurrent writes to neighboring bits need
atomics.Caching is a patch over a slow design. Do not add caches. Delete existing ones and make the underlying path fast instead. A cache in front of the network, disk, or a third-party API hides I/O that no layout change removes: report it rather than deleting it. Give before and after numbers for every removed cache.
For each structure, give the old and new layout, the loops that motivated it, benchmark numbers, caches removed or kept, and what was left alone and why.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub designxdevelop/agent-skills --plugin dxd-skills19 skills in this plugin
/adversarial-reviewSend a diff to Opus 5.5, GPT-6.1 Sol, and Gemini 4 Carbon (all at medium effort) for an adversarial bug review, then triage every finding. Use when the user asks for an adversarial review, a second model, or a cross-lab bug hunt./ci-verify-setupSet up one reliable project verification command and run it in CI. Use when local checks are scattered or missing, CI is absent or broken, or agents cannot consistently verify their changes./company-profileResearch and write a reusable company profile with accurate descriptions, bios, and page copy. Use when a user needs to explain what a company does across an About page, website sections, social profiles, directories, press materials, or partner listings.