sb-explore
Skill37 starsChanged 6 months agoMITView on GitHub
Iterate on a new or redesigned component in a sandboxed Explore story outside src/components/ (+ Figma), checked against a graduation gate. Use for 'prototype this', 'try a v2', 'explore from Figma', or net-new UI not ready to ship.
In this repository10 other files it gives its agents.
- sb-auditSkill
- sb-figmaSkill
- sb-flowsSkill
- sb-healthSkill
- sb-hubSkill
- sb-inventorySkill
- sb-setupSkill
- sb-shipSkill
- sb-storiesSkill
- sb-wrappersSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
If the user pasted a Figma URL, ALSO load references/figma-to-storybook.md.
- Very specific: line 32
Figma URL pasted?: If yes — set parameters.design = { type: 'figma', url } immediately and iterate against the frame (see …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
sb-explore — sandboxed iteration (Build mode: Explore)
The component is new or being redesigned. It lives outside src/components/ so production
code can't depend on it. Load references/labs-workflow.md before scaffolding.
If the user pasted a Figma URL, ALSO load references/figma-to-storybook.md. Do NOT
load composition-patterns.md (that's Compare → sb-wrappers).
Naming:
Exploreis the canonical term used throughout this skill (titles, disk paths, tags).references/labs-workflow.mdpredates the rename and saysLabs/src/stories/labs/— read it as the same track (Explore = Labs). Author withExplore; treatLabsonly as a legacy alias you may meet in an existing repo.
Before scaffolding (ask yourself)
- Iterating on a shipping component, or net-new? Determines Path A vs Path B at Ship time.
- Figma URL pasted? If yes — set
parameters.design = { type: 'figma', url }immediately and iterate against the frame (see figma-to-storybook.md). - API stable enough to graduate? See the 4 criteria in labs-workflow.md. If not — stay in Explore.
Scaffold
- Disk path — honor the recorded
storiesLocation(.storybook/audit/status.md): when stories are isolated (the audit/client default), scaffold the experiment under.storybook/explore/<topic>/— don't scatter into asrc/you don't own. Only usesrc/explore/<topic>/when the user opted into co-located for a project they own. Vite excludes either from the production bundle. - Title —
Explore/<topic>/<name>— last instorySort.order, bottom of sidebar. - Tags —
['explore', '!autodocs', '!test']. Optional:'motion','figma-sync','v2-preview'.
Graduation gate (Explore → Component)
Four criteria in labs-workflow.md: stable API · ≥3 callsites planned · designer-reviewed ·
tokens not magic numbers. When all met → trigger sb-ship (it preserves the experiment,
never git mv). Until then, keep iterating here.
Next
Iterate; when the gate is met, hand off to sb-ship. Append progress to .storybook/audit/status.md
so an interrupted session resumes cleanly (CONTEXT.md resume protocol).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

