agentsclimarketplace

Limio storybook

Skill innovate42/limio-skills/skills/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

Install
npx -y skills add innovate42/limio-skills --skill limio-storybook

Assembled 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):

  1. Credential safety check: Verify .limio.json is in the root .gitignore
  2. Create the full playground structure — see references/storybook-configs.md for all file templates
  3. Create SDK mocks — see references/sdk-mocks.md for mock implementations
  4. Create Claude Overlay — see references/claude-overlay.md for the overlay component
  5. Create Claude Prompt Addon — see references/addon-prompt.md for manager.js, preset.js, middleware.js
  6. Create tool stories — see references/tool-stories.md for LimioSetup and NewComponent stories
  7. Create prompt watcher — see references/watch-prompts.md for the watcher script
  8. Install dependencies: cd component-playground && npm install
  9. Start Storybook: cd component-playground && npx storybook dev -p 6006 (background)
  10. Start prompt watcher: node component-playground/scripts/watch-prompts.js (background)

Launch Workflow

When Storybook already exists (quick-launch):

  1. Credential safety check: Verify .limio.json is in root .gitignore
  2. Check addon is up to date — see "Addon Version Checking" below
  3. Install dependencies if needed: cd component-playground && npm install
  4. Start Storybook: cd component-playground && npx storybook dev -p 6006 (background)
  5. Start prompt watcher: node component-playground/scripts/watch-prompts.js (background)
  6. 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:

FeatureFileMarker
Settings panelmanager.jsSETTINGS_PANEL_ID
Deploy endpointmiddleware.js/api/deploy
Limio configmiddleware.jsreadLimioConfig
Build statusmiddleware.js/api/build-status
Loading overlayclaude-overlay.jsClaudeOverlay
New component toolNewComponent.stories.jsTools/New Component
Overlay decoratorpreview.jsClaudeOverlay
Deploy overlayclaude-overlay.jsDeployOverlay
Deploy statusmiddleware.js/api/deploy-overlay
Smart deploymiddleware.jssmart-deploy
Credential safetyroot .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:

  1. User types prompt in Storybook's "Claude Prompt" panel → clicks "Send to Claude"
  2. Express middleware writes to .prompt.json
  3. Watcher script detects change → exits
  4. Claude Code reads prompt, applies changes
  5. Update status: node component-playground/scripts/update-prompt-status.js working "Applying changes..."
  6. Apply changes to component
  7. Update status: node component-playground/scripts/update-prompt-status.js completed "Changes applied"
  8. Restart watcher for next prompt

Status States

StateMeaning
listeningReady for prompts
queuedPrompt saved, waiting
receivedWatcher picked up prompt
workingClaude making changes
completedChanges applied
errorSomething 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 components
  • limio-story — Create stories
  • limio-setup — Credentials and deployment

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.