zakariaf/flutter-skills/run-goldens-rebaseline
Runs the golden re-baselining ritual — the one sanctioned way committed reference images are overwritten. Enforces the order: land and green the non-golden geometry, contrast and a11y tests FIRST, re-baseline only in the pinned blessing environment that produced the committed images, with loadAppFonts() so nothing renders in Ahem, via `flutter test --update-goldens --tags golden` (never in CI, never to make a red pipeline green), then inspect every changed PNG by eye, delete the orphans left by
Agent skill · version 1.0.0 · from zakariaf/Flutter-Skills
Install
npx yarkr-cli add skill:zakariaf/flutter-skills/run-goldens-rebaselineWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/run-goldens-rebaseline
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/run-goldens-rebaselineOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:zakariaf/flutter-skills/run-goldens-rebaselineWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.