chromatic-setup-ci
Installation
SKILL.md
Chromatic CI Setup
Set up Chromatic visual testing automation in CI/CD pipelines.
This skill is the single source of truth for:
- detecting which CI provider the project uses
- fetching the current Chromatic docs for that provider
- generating CI configuration files for Chromatic
- setting up the project token secret
Quick start
- Read
reference/ci-detection.mdto identify the CI provider from existing config files. - If no CI config is found, ask the user which CI provider they use.
- Read
reference/package-manager.mdand detect the package manager from lockfiles. - Look up the provider's docs URL in
reference/docs-map.mdand fetch it with WebFetch. - For non-GitHub-Actions providers: check
package.jsonfor achromaticdevDependency and script — add them if missing. Skip this step for GitHub Actions. - Generate or update the CI configuration using the fetched docs and the detected package manager.
- Render the setup checklist using
reference/output-contract.md.