aj-bartocciaj-bartocciCommunityยท1 Agent Skills Included

Storybook-SwiftUI

Visual SwiftUI component previews, tagging, and rapid verification

Renders SwiftUI and UIKit components in an organized, browsable preview catalog without building the full app. Organizes views with folders and tags, adds interactive controls like dark mode, font sizing, and screen size toggles. Enables instant visual verification by launching directly to a tagged view, eliminating slow manual navigation during UI development.
npx skills add aj-bartocci/Storybook-SwiftUI --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install Storybook-SwiftUI?โ–ผ

Run `npx skills add aj-bartocci/Storybook-SwiftUI --all -g -y` in your terminal to install the verification skill globally.

How to preview SwiftUI components without building the app?โ–ผ

Add @objc static StorybookPage extensions to your component files and render StorybookCollection in a PreviewProvider to browse all views instantly.

How to visually verify a SwiftUI view during development?โ–ผ

Tag the view with a unique identifier, launch the app with the --storybook argument, and search the tag to auto-open the exact view for inspection.

Does Storybook-SwiftUI work with UIKit apps?โ–ผ

Yes. UIKit apps can use it through the companion SwiftUIPreviewHelpers library, and it supports iOS 10+ and macOS 11+.

Can I test dark mode and font sizes in previews?โ–ผ

Yes. Built-in controls let you toggle dark mode, dynamic type sizes, and screen dimensions, and you can add custom controls to any view.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’