swift-storybook-visual-check
Skill by eure
Launches and visually checks one exact StorybookKit page in a host iOS app on an iOS Simulator, then captures screenshot evidence. It is for developers verifying UI changes, SwiftUI previews, and BookPage views.
Install swift-storybook-visual-check
Built from the published package, never by AI.
git clone --depth 1 https://github.com/eure/swift-storybook /tmp/swift-storybook && mkdir -p ~/.claude/skills && cp -r /tmp/swift-storybook/.agents/skills/swift-storybook-visual-check ~/.claude/skills/swift-storybook-visual-checkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install swift-storybook-visual-check in Claude Code
git clone --depth 1 https://github.com/eure/swift-storybook /tmp/swift-storybook && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/swift-storybook/.agents/skills/swift-storybook-visual-check ~/.gemini/antigravity-cli/skills/swift-storybook-visual-checkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install swift-storybook-visual-check in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill opens one StorybookKit page in a host iOS app running on an iOS Simulator. It selects the page by name, and by source file and line when names are duplicated, so a page with the same name is not opened by mistake. After launch, the assistant checks the page identifier and the rendered UI for the requested change, including clipping, overlap, missing content, and loading states.
The skill can capture evidence as a viewport export with image.png and manifest.json when the host supports it, or as a clean Simulator screenshot otherwise. It requires the host app to handle Storybook launch arguments and to include StorybookKit in a debug build. It is meant for developers who want to check a SwiftUI preview or BookPage after UI changes.
Written from the project's SKILL.md and checked against it.
What it can do
- Exact page launchOpens one StorybookKit page by name, source file, and line using launch arguments.
- Duplicate page handlingRetries with source-file and line qualifiers when Storybook reports a duplicate or not-found page.
- Page identifier checkVerifies the opened page's source-qualified identifier to confirm the correct page loaded.
- Rendered UI inspectionChecks the simulator view or accessibility hierarchy for clipping, overlap, missing content, and loading states.
- Viewport exportCaptures image.png and manifest.json from the host's viewport export when supported.
- Simulator screenshotSaves a clean simulator screenshot to a stable path when a viewport export is not available.
- Honest failure reportingReports the failed stage and diagnostic instead of falling back to another page or a build-only result.
What you need
- A host iOS app with a Storybook launch adapter
- StorybookKit included in a simulator-compatible debug build
- An iOS Simulator
Try asking
- Open the Storybook page for ProfileCard and check it on the simulator
- Verify the duplicate BookPage named Settings using its file and line
- Capture a screenshot of the SwiftUI preview after my latest UI change
Good to know
- Requires the host app to connect Storybook launch arguments to its startup lifecycle.
- Does not work with an app that lacks the host adapter; the skill stops and reports the prerequisite.
- For controller presentations, the Simulator screenshot is diagnostic only.
- Clipboard and photo-library transport are not used for evidence.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/swift-storybook-visual-check/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
agents/openai.yaml265 B
Alternatives to swift-storybook-visual-check
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
swift-storybook-visual-check: common questions
Does this work with any iOS app?
No. The host app must handle Storybook arguments at startup and include StorybookKit in the selected build configuration. Without that adapter, the skill stops and reports the missing prerequisite.
What happens when two Storybook pages have the same name?
The skill does not guess or pick the first match. It uses the source file and line qualifiers and then checks the page identifier after launch.
What evidence does the skill produce?
It produces a viewport export with image.png and manifest.json when the host supports it, or a clean simulator screenshot otherwise. If no trustworthy screenshot is produced, it says so.
How do I install swift-storybook-visual-check?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is swift-storybook-visual-check free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is swift-storybook-visual-check safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to swift-storybook-visual-check?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
