chromaui/chromatic-cli/local-dev
Claude Code and agent skill by chromaui/chromatic-cli
- community
Checking that the SKILL.md file is still in the repository.
How to bring chromaui/chromatic-cli to a working local dev environment (validated onboarding recipe)
Install
npx vskill@latest install chromaui/chromatic-cli/local-devSKILL.md
Local dev — chromaui/chromatic-cli
Recorded by the autobuild onboarding run on 2026-10-13. Everything below was executed successfully in the sandbox; it is the validated path, not a guess.
Runtime provisioning
- Repo requires Node >= 22 (
engines), pinned 22.22.3 in.tool-versions.
Sandboxes ship node v20 — too old. Fix: ``bash curl -fsSL -o /tmp/node22.tar.xz https://nodejs.org/dist/v22.22.3/node-v22.22.3-linux-x64.tar.xz mkdir -p ~/node22 && tar -xJf /tmp/node22.tar.xz -C ~/node22 --strip-components=1 export PATH=~/node22/bin:$PATH ``
- Yarn is not preinstalled;
corepack enable(corepack ships with node 22)
provides Yarn 4.18.0 per the packageManager field. First yarn call downloads the Yarn CLI from repo.yarnpkg.com (needs network).
Gotchas (hit during onboarding — do not skip)
- Root-owned build leftovers:
node_modules/,dist/,action/arrive
root-owned from the image build. yarn install then fails in the link step (EACCES: unlink node_modules/.bin/...) or prepare (EPERM: chmod dist/bin.cjs). Fix once, before first install: sudo rm -rf node_modules dist action bin coverage .cache
- Stray lockfiles from other package managers: an untracked lockfile not
from Yarn (bun.lock, pnpm-lock.yaml, package-lock.json) may appear if another tool ran in the environment. The repo itself uses Yarn 4 (yarn.lock), and smoke-tests/ deliberately commits no lockfile. Delete strays; never commit them.
yarn install --immutableruns a few seconds warm;preparetriggers the
tsdown build automatically.
Validated verification sequence
| Step | Command | Result on 2026-10-13 | |
|---|---|---|---|
| Install | yarn install --immutable | exit 0 | |
| Build | yarn build | exit 0 (~6s; EMPTY_IMPORT_META warnings are benign) | |
| CLI smoke | node dist/bin.cjs --help | exit 0, usage output | |
| Lint | yarn lint | exit 0 | |
| Typecheck | yarn typescript:check | exit 0 | |
| Tests | yarn test | 1534 passed / 2 skipped, 122 files | |
| Storybook build | yarn build-storybook | exit 0; stats at storybook-static/preview-stats.json | |
| CLI subcommand | node dist/bin.cjs trim-stats-file storybook-static/preview-stats.json | exit 0 | |
| Storybook dev | yarn storybook | ready ~30s; HTTP 200 on :9009 |
Notes
- No Postgres/Redis/Compose exists in this repo; nothing to bring up besides
the Node toolchain. service_unreachable never applies.
- A full
yarn chromatic -t <token>run needs a real Chromatic project token
and the production (or staging/dev) backend — out of scope for local onboarding; do not request a token to complete onboarding.
trim-stats-filewrites its output next to the input (.trimmed.json),
not to a second positional arg target as older help text suggests.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.obvious/skills/local-dev/SKILL.md
Popularity
- Repository stars
- 340
- Repository forks
- 91
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chromaui/chromatic-cli/local-dev)