Storybook 应用开发构建
agentic-storybook-development
在 macOS、Windows 或 Win32 上开发、打包、构建或排查 apps/storybook 中的 agentic-components Storybook 应用,包括应用目录(catalog)配置、Metro、CocoaPods、原生项目和渲染器构建。不适用于配置或运行桌面测试,也不适用于更改桌面包源码。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.4k
- Forks
- 179
01 前言 Front Matter
- name
- agentic-storybook-development
- license
- MIT
- description
- Develop, bundle, build, or troubleshoot the agentic-components Storybook app in apps/storybook on macOS, Windows, or Win32, including app catalog configuration, Metro, CocoaPods, native projects, and renderer builds. Not for configuring or running desktop tests or changing desktop package source.
03 SKILL.md 正文
Agentic Storybook app development
This workflow covers the apps/storybook consumer and its native toolchain.
For the shared Storybook integration API and CLI use
storybook-desktop references;
for app identity, discovery, and diagnostics use the app's
agent-map.yaml and
AGENTS.md.
- Inspect
desktop.config.mtsand the app's declared scripts; do not invent aliases or direct native runner commands. - Use the package's platform recipes for prep, bundle, build, smoke, and diagnostics. Treat Pods, workspaces, generated solutions, build directories, and DerivedData as disposable. Fix the owning hand-authored source.
- Reinstall/regenerate affected native dependency sources and use a clean build after dependency or workaround changes.
- Validate the JavaScript bundle and affected native build. Run the app's format/lint and root validation when shared manifests or references change.
- Finish code/configuration changes with
yarn clean-lage-cachethenyarn lage buildci(R-VALID-003).
For test configuration, helper provisioning, test runs, smoke reports, or CI
lanes, use desktop-testing. For package source changes, use
maintain-desktop-testing. Component API and assertion work stays with
agentic-component-authoring.
The Storybook desktop CLI supports shared --reporter modes; see its
command reference
when choosing between a bounded JSON result and streamed NDJSON progress.
04 同仓库更多 Skills
组件代码审查
review-component
审查任意代际(v0、v1、智能体、基础组件或原生支持)的组件代码或变更,但不编辑文件。对每处变更进行分类,应用相应的检查清单和原生覆盖层,并报告带验证状态且有证据支撑的发现。
v0/v1 组件维护
maintain-v0-v1-component
修复或维护现有的 v0(foundation-compose)或 v1(framework compose/compressible)组件,包括其平台变体。先对所属代际进行分类,再仅加载对应的配方。不适用于新组件、agentic 组件、只读审查或纯原生更改。
桌面测试工具链维护
maintain-desktop-testing
更改、审查或规划对 desktop-driver、desktop-test、storybook-desktop 或 storybook-desktop-runtime(包括原生辅助函数)的源代码更改。应用包不变量、文档规范、原生与消费者验证,以及 changesets。
原生组件实现
implement-native-component
实现或更改原生组件、TurboModules、原生服务、codegen specs,或原生支撑的平台包装器(Swift、Objective-C、C++/WinRT、podspecs、Windows 项目)。同时提供适用于 v0、v1 和 agentic 工作的原生覆盖清单。不适用于 Storybook 工具链故障。
依赖安全漏洞修复
fix-security-issues
审计并修复依赖安全公告(漏洞),同时遵守包年龄策略、移除未使用的易受攻击能力、对 Yarn resolutions 去重,并验证受影响的工具链。
桌面测试配置与运行
desktop-testing
使用 desktop-test、desktop-driver 和 storybook-desktop 配置、运行或排查原生桌面测试,涵盖应用目标与测试套件、辅助函数、权限、WDIO 套件、Storybook 故事测试与冒烟运行、报告以及 CI。不适用于包源代码更改或 Storybook 应用构建工具链。