/storybook-assistant:performance-analysisfrom storybook-assistant
Analyzes Storybook component performance: bundle size, render efficiency, and optimization opportunities. Detects heavy dependencies, unused imports, unnecessary re-renders, and suggests fixes like tree-shaking, memoization, and code splitting.
Ships in storybook-assistant. 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.
Automatically analyze component performance, bundle size, and render efficiency with AI-powered optimization suggestions.
⚡ Performance Analysis: Button.tsx
Bundle Impact: 45.2KB (gzipped: 12.1KB)
❌ lodash: 71KB (using only 'debounce')
Fix: import debounce from 'lodash/debounce' // Saves 69KB
⚠️ moment.js: 72KB (date formatting only)
Alternatives:
[1] date-fns (13KB) ⭐ RECOMMENDED
[2] Intl API (0KB - native)
[3] Day.js (2KB)
Render Performance:
⚠️ Inline function in render (Line 42)
onClick={() => handleClick(id)}
Fix: Use useCallback or extract to stable reference
✅ Component properly memoized
✅ No expensive computations detected
Apply fixes? [All] [Select] [Skip]
// ❌ Before: 71KB
import _ from 'lodash';
const debouncedSearch = _.debounce(handleSearch, 300);
// ✅ After: 2KB
import debounce from 'lodash/debounce';
const debouncedSearch = debounce(handleSearch, 300);
// ❌ Before: New function every render
<button onClick={() => handleClick(id)}>Click</button>
// ✅ After: Stable reference
const handleButtonClick = useCallback(() => handleClick(id), [id]);
<button onClick={handleButtonClick}>Click</button>
// ❌ Before: Expensive calculation every render
const filtered = items.filter(item => item.active);
// ✅ After: Memoized
const filtered = useMemo(
() => items.filter(item => item.active),
[items]
);
AI-powered performance analysis:
Result: 30-40% bundle size reduction, faster renders.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/accessibility-remediationUse this skill when the user writes/edits components, asks to "fix accessibility issues", "add ARIA labels", "improve accessibility", "check WCAG compliance", "remediate a11y violations", mentions "screen reader support", "keyboard navigation", or wants AI-powered accessibility fixes with one-click application. Automatically analyzes components for a11y issues and suggests context-aware fixes. Trigger on PostToolUse hook or explicit request./ci-cd-generatorUse this skill when the user asks to "setup CI/CD", "configure GitHub Actions", "deploy Storybook", "setup Chromatic", "add visual regression to CI", "create deployment pipeline", or wants to generate complete CI/CD workflows for Storybook deployment and testing./Generated from the plugin's indexed repository (flight505/storybook-assistant) — no native marketplace selected
npx claudepluginhub p/flight505-storybook-assistantOther plugins' skills for the same job