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 thedotmackv1.2.2MITIn 1 marketplace
Validates that Storybook stories build and render and helps write CSF3 stories, play tests and docs. A Stop hook runs a Storybook build after every Claude response. It is a fork of TheBushidoCollective/han.
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 jutsu provides comprehensive Storybook expertise across five key areas:
Install via the Han marketplace:
npx @thebushidocollective/han plugin install jutsu-storybook
Or install manually:
claude plugin marketplace add thebushidocollective/han
claude plugin install jutsu-storybook@han
Once installed, this jutsu 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 jutsu 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:
jutsu-storybook:
hooks:
storybook-build-validation:
command: "npm run custom-storybook-build"
In a monorepo, disable validation for specific packages:
plugins:
jutsu-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} />;
},
};
npx claudepluginhub thedotmack/han --plugin jutsu-storybookPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.