Limio storybook
Sets up and launches the Limio Storybook component playground with mocked SDK, Claude Prompt addon, and interactive development workflow. Use when user asks to "set up storybook", "launch storybook", "start storybook", "run storybook", "open storybook", "configure storybook playground", or discusses the component-playground environment. Do NOT use for creating components (use limio-component) or creating stories (use limio-story).From its SKILL.md
npx -y skills add innovate42/limio-skills --skill limio-storybookAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.1 KB, as published. Nobody here has run it
Limio Storybook Playground
The component-playground provides a Storybook environment with mocked Limio SDK hooks, a Claude Prompt addon for interactive development, and deployment capabilities.
Setup Workflow
When setting up Storybook from scratch (no component-playground/.storybook/main.js exists):
- Credential safety check: Verify
.limio.jsonis in the root.gitignore - Create the full playground structure — see
references/storybook-configs.mdfor all file templates - Create SDK mocks — see
references/sdk-mocks.mdfor mock implementations - Create Claude Overlay — see
references/claude-overlay.mdfor the overlay component - Create Claude Prompt Addon — see
references/addon-prompt.mdfor manager.js, preset.js, middleware.js - Create tool stories — see
references/tool-stories.mdfor LimioSetup and NewComponent stories - Create prompt watcher — see
references/watch-prompts.mdfor the watcher script - Install dependencies:
cd component-playground && npm install - Start Storybook:
cd component-playground && npx storybook dev -p 6006(background) - Start prompt watcher:
node component-playground/scripts/watch-prompts.js(background)
Launch Workflow
When Storybook already exists (quick-launch):
- Credential safety check: Verify
.limio.jsonis in root.gitignore - Check addon is up to date — see "Addon Version Checking" below
- Install dependencies if needed:
cd component-playground && npm install - Start Storybook:
cd component-playground && npx storybook dev -p 6006(background) - Start prompt watcher:
node component-playground/scripts/watch-prompts.js(background) - Tell the user: "Storybook is running at http://localhost:6006"
Directory Structure
component-playground/
├── .storybook/
│ ├── main.js # Webpack config with SDK aliases
│ ├── preview.js # Decorators with ClaudeOverlay
│ ├── middleware.js # Express API endpoints
│ ├── claude-overlay.js # Loading/deploy overlay components
│ └── addon-prompt/
│ ├── manager.js # Claude Prompt + Settings panels
│ └── preset.js # Addon registration
├── packages/limio/ # Mocked SDK packages
│ ├── sdk/
│ ├── shop/
│ └── internal-checkout-sdk/
├── scripts/
│ └── watch-prompts.js # File watcher for prompt loop
├── src/stories/ # Story files
│ ├── LimioSetup.stories.js
│ └── NewComponent.stories.js
└── package.json
Addon Version Checking
When the addon already exists, check these markers to determine if it needs updating:
| Feature | File | Marker |
|---|---|---|
| Settings panel | manager.js | SETTINGS_PANEL_ID |
| Deploy endpoint | middleware.js | /api/deploy |
| Limio config | middleware.js | readLimioConfig |
| Build status | middleware.js | /api/build-status |
| Loading overlay | claude-overlay.js | ClaudeOverlay |
| New component tool | NewComponent.stories.js | Tools/New Component |
| Overlay decorator | preview.js | ClaudeOverlay |
| Deploy overlay | claude-overlay.js | DeployOverlay |
| Deploy status | middleware.js | /api/deploy-overlay |
| Smart deploy | middleware.js | smart-deploy |
| Credential safety | root .gitignore | .limio.json |
If any marker is missing, replace both manager.js and middleware.js with current templates.
Prompt Feedback Loop
After starting Storybook and the watcher:
- User types prompt in Storybook's "Claude Prompt" panel → clicks "Send to Claude"
- Express middleware writes to
.prompt.json - Watcher script detects change → exits
- Claude Code reads prompt, applies changes
- Update status:
node component-playground/scripts/update-prompt-status.js working "Applying changes..." - Apply changes to component
- Update status:
node component-playground/scripts/update-prompt-status.js completed "Changes applied" - Restart watcher for next prompt
Status States
| State | Meaning |
|---|---|
listening | Ready for prompts |
queued | Prompt saved, waiting |
received | Watcher picked up prompt |
working | Claude making changes |
completed | Changes applied |
error | Something went wrong |
.gitignore Updates
Root .gitignore — add: .limio.json
component-playground/.gitignore — add: .prompt.json, .prompt-status.json, .deploy-status.json
Related Skills
limio-component— Create componentslimio-story— Create storieslimio-setup— Credentials and deployment