桌面测试工具链维护
maintain-desktop-testing
更改、审查或规划对 desktop-driver、desktop-test、storybook-desktop 或 storybook-desktop-runtime(包括原生辅助函数)的源代码更改。应用包不变量、文档规范、原生与消费者验证,以及 changesets。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.4k
- Forks
- 179
01 前言 Front Matter
- name
- maintain-desktop-testing
- license
- MIT
- description
- Change, review, or plan source changes to desktop-driver, desktop-test, storybook-desktop, or storybook-desktop-runtime, including native helpers. Applies package invariants, documentation, native and consumer validation, and changesets.
03 SKILL.md 正文
Maintain desktop testing packages
| Owner | Entry |
|---|---|
| WebDriver service, clients, helpers | desktop-driver |
| App/suite config, lifecycle, WDIO, reporting | desktop-test |
| Storybook integration, CLI, extraction, tests | storybook-desktop |
| On-device bridge, Metro, theme, chrome | runtime |
Read the owning package's AGENTS.md, then its contributing reference from the package index. The runtime has no
contributing reference; use its AGENTS.md validation section and its runtime contract reference instead.
Mode first
- Review/plan: read-only. Do not implement, run write-mode formatting, build, create changesets, launch apps, or run native contracts. Report validation not run.
- Implementation: continue below.
Implementation
- Change the lowest package that owns the behavior; update dependent references when needed. Preserve exact identity, fail-closed behavior, cancellation, ownership-safe cleanup, and explicit unsupported/skip status. Keep CLI presentation at the owning collector; use desktop-driver's shared reporter primitives rather than duplicating mode resolution or framing. Contract fixtures that spawn Node or generate specs pass values through arguments, not spliced source (R-SCAN-002).
- For standalone Swift/C++ helpers, read the provider README and
native/PROTOCOL.md; keep protocol schema and docs in sync. Applyimplement-native-componentas a native overlay. React-module and Office bridging-header steps do not apply to these standalone helpers. - Update owning references and affected README/AGENTS files in the same change.
- Iterate with
yarn test <name>for the files you change (R-VALID-004), then run package format, lint, build, and test. Native changes also need the matching-OS helper contract and affected consumer lane; JS tests do not qualify native behavior. - Add a patch changeset for each changed published package. Finish with
yarn clean-lage-cachethenyarn lage buildci.
When delegating, pass the package AGENTS.md and selected reference paths; subagents do not inherit them automatically.
04 同仓库更多 Skills
组件代码审查
review-component
审查任意代际(v0、v1、智能体、基础组件或原生支持)的组件代码或变更,但不编辑文件。对每处变更进行分类,应用相应的检查清单和原生覆盖层,并报告带验证状态且有证据支撑的发现。
v0/v1 组件维护
maintain-v0-v1-component
修复或维护现有的 v0(foundation-compose)或 v1(framework compose/compressible)组件,包括其平台变体。先对所属代际进行分类,再仅加载对应的配方。不适用于新组件、agentic 组件、只读审查或纯原生更改。
原生组件实现
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 应用构建工具链。
Storybook 应用开发构建
agentic-storybook-development
在 macOS、Windows 或 Win32 上开发、打包、构建或排查 apps/storybook 中的 agentic-components Storybook 应用,包括应用目录(catalog)配置、Metro、CocoaPods、原生项目和渲染器构建。不适用于配置或运行桌面测试,也不适用于更改桌面包源码。