skills/vrt-approve/SKILL.md
Approve current VRT captures as new baselines. Can approve all or specific screens selectively. Use after reviewing /swift-assist:vrt results.
npx skillsauth add grantiva/swift-assist vrt-approveInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Approve current visual regression captures as the new baselines, either for all screens or selectively.
/swift-assist:vrt-approve
/swift-assist:vrt-approve settings checkout
/swift-assist:vrt-approve login-filled
[SCREEN_NAME ...]: Optional list of specific screen names to approve. If omitted, approves all screens.Before approving, show the user exactly what's changing:
Screens to approve:
settings (8.4% diff from current baseline)
checkout (4.1% diff from current baseline)
This will replace the stored baselines with the current captures.
Proceed? (y/n)
Run the Grantiva approve command:
All screens:
grantiva diff approve
Selective screens:
grantiva diff approve settings checkout
Baselines updated.
settings -> new baseline saved
checkout -> new baseline saved
Future /swift-assist:vrt runs will compare against these new baselines.
/swift-assist:vrt firsttesting
Run visual regression testing using Grantiva's diff pipeline. Capture screenshots, compare against baselines, and report visual differences. Use for catching unintended UI changes.
testing
Run generated test flows against the app in the simulator using Grantiva. Use after /swift-assist:make-tests to execute and validate your user flows.
development
Add the UI_TESTING / .mock services pattern to the app entry point so Grantiva can run tests with deterministic data and no live server. Use before make-tests when the app talks to an API.
testing
Generate a GitHub Actions workflow that runs Grantiva VRT in CI on every pull request. Use to add cloud visual regression testing with GitHub Check integration to your project.