/harness-claude:react-dynamic-importfrom harness-claude
Loads React components on demand using React.lazy and Suspense to reduce initial bundle size and improve startup performance.
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /harness-claude:react-dynamic-import still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
Load modules on demand to reduce initial bundle size and improve startup performance
React.lazy with a dynamic import() for component splitting:
const Modal = React.lazy(() => import('./Modal'));
<Suspense> with a fallback.import() directly:
const { heavyComputation } = await import('./heavy-utils');
const Chart = React.lazy(() => import(/* webpackChunkName: "chart" */ './Chart'));
const preload = () => import('./Modal');
<button onMouseEnter={preload} onClick={openModal}>Open</button>
Dynamic import is a JavaScript language feature (Stage 4). Bundlers create separate "chunks" for dynamically imported modules, loaded via <script> tags at runtime.
Chunk naming strategy:
Preloading: <link rel="preload"> or import() on hover/route-change triggers network fetch before the user needs it, hiding latency. Framework routers (Next.js, React Router) do this automatically for adjacent routes.
Measurement: Analyze bundle with vite build --report or webpack-bundle-analyzer before and after splitting.
https://patterns.dev/react/dynamic-import
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub intense-visions/harness-engineering --plugin harness-claudeRead when SKILL.md points to them.
793 skills in this plugin
/a11y-aria-patternsARIA Patterns> Apply ARIA roles, states, and properties correctly to enhance assistive technology support for custom widgets/a11y-color-contrastColor Contrast and Color Independence> Ensure sufficient color contrast ratios and never use color as the sole means of conveying information/a11y-form-patternsAccessible Form Patterns> Build accessible forms with proper labeling, grouped controls, inline validation, and clear error communicationOther plugins' skills for the same job