Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By TheBushidoCollectivev1.4.0Apache-2.0In 1 marketplace
Catches Storybook build failures and broken stories after each Claude response, and provides skills for writing stories, controls, docs and play-function tests. Build validation runs asynchronously on the Stop and SubagentStop hooks, so it fires after every response.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Validation and quality enforcement for Storybook projects, ensuring stories always build and render correctly.
npm run build-storybook to ensure all stories build successfully without errorsThis plugin provides comprehensive Storybook expertise across five key areas:
han plugin install storybook
Once installed, this plugin automatically validates your Storybook build:
The plugin runs npm run build-storybook in directories containing a .storybook folder. This ensures:
Ensure your project has a build-storybook script:
{
"scripts": {
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
}
}
.storybook/main.ts configuration.storybook directory in your projectThis plugin works with all Storybook-supported frameworks:
Error: npm ERR! missing script: build-storybook
Solution: Add the script to your package.json:
{
"scripts": {
"build-storybook": "storybook build"
}
}
Error: Type errors in story files
Solution: Ensure proper types are imported and used:
import type { Meta, StoryObj } from '@storybook/react';
const meta = {
component: Button,
} satisfies Meta<typeof Button>;
type Story = StoryObj<typeof meta>;
Error: Module not found during build
Solution: Install missing dependencies:
npm install @storybook/addon-essentials --save-dev
If you use a custom build script, create a han-config.yml in your project root:
plugins:
storybook:
hooks:
storybook-build-validation:
command: "npm run custom-storybook-build"
In a monorepo, disable validation for specific packages:
plugins:
storybook:
hooks:
storybook-build-validation:
enabled: false
Before relying on the hook, test your build locally:
npm run build-storybook
Don't ignore build warnings—they often indicate real issues:
Warning: Component 'Button' is missing a display name
Complex logic in stories can break builds. Move complexity to components:
// ❌ Bad - Complex logic in story
export const Complex: Story = {
render: (args) => {
const [state, setState] = useState();
// Complex logic...
return <Component {...args} />;
},
};
// ✅ Good - Logic in component
export const Complex: Story = {
args: {
// Simple args only
},
};
TypeScript catches errors before build time:
7-day copy clicks
npx claudepluginhub thebushidocollective/han --plugin storybookBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground