chromatic-troubleshoot-config
Installation
SKILL.md
Troubleshoot Config
Diagnose Storybook configuration problems that block Chromatic or local Storybook and identify the narrowest fix.
Required workflow
- Start with the current evidence: exact error text,
.storybook/main.*,.storybook/preview.*, Storybook scripts and dependencies inpackage.json, framework or builder, one representative story path, and whether local Storybook already fails. - Choose one primary diagnosis from
reference/diagnosis-taxonomy.md. Usereference/workflow-playbook.mdwhen the branch is unclear. Prioritize local Storybook failures before Chromatic follow-on symptoms, framework or builder mismatches before addon speculation, and story discovery issues before version cleanup. - Separate local Storybook failure from Chromatic follow-through. If Storybook fails locally, fix that surface first. If Storybook runs locally but Chromatic cannot verify it, inspect build scripts, output expectations, and config shape next.
- Inspect the repo before asking for more evidence. Use
reference/command-catalog.mdto check.storybook/main.*,.storybook/preview.*, the Storybook section ofpackage.json, and one representative story path. Do not invent scripts or migration paths. - If one artifact is still missing, request exactly one next item using
reference/evidence-ladder.md. - Return the diagnosis card from
reference/output-contract.md. If confidence is low, name the most likely diagnosis, explain the gap, and ask for the single artifact that resolves it.