/harness-claude:js-dynamic-importfrom harness-claude
Loads ES modules on demand using dynamic import() to reduce bundle size and enable code splitting. Useful for route-based splitting, feature flags, and lazy-loading heavy libraries.
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:js-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 ES modules on demand with import() to reduce initial bundle size and enable code splitting
import('./module.js') to load a module at runtime — it returns a Promise.await in async functions or .then() for cleaner syntax.// Route-based code splitting
async function loadPage(route) {
const module = await import(`./pages/${route}.js`);
module.render();
}
// Feature-flag gating
if (user.hasFeature('charts')) {
const { renderChart } = await import('./charts.js');
renderChart(data);
}
import() can fail (network error, missing module)./* webpackChunkName: "name" */ comments for readable chunk names in webpack.Dynamic import() is a function-like syntax (not a function — it is a language feature) that returns a Promise resolving to the module's namespace object. Unlike static import, it can be used anywhere: inside functions, conditionals, loops, and event handlers.
Trade-offs:
When NOT to use:
https://patterns.dev/javascript/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