maintain-desktop-testing
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.
- 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
Review component code or changes of any generation (v0, v1, agentic, primitive, or native-backed) without editing files. Classifies each changed surface, applies the matching checklists and native overlay, and reports evidence-backed findings with validation status.
maintain-v0-v1-component
Fix or maintain existing v0 (foundation-compose) or v1 (framework compose/compressible) components, including their platform variants. Classifies the generation first and loads only its recipe. Not for new components, agentic components, read-only reviews, or native-only changes.
implement-native-component
Implement or change native components, TurboModules, native services, codegen specs, or native-backed platform wrappers (Swift, Objective-C, C++/WinRT, podspecs, Windows projects). Also supplies the native overlay checklist for v0, v1, and agentic work. Not for Storybook toolchain failures.
fix-security-issues
Audit and remediate dependency security advisories while respecting package age policy, removing unused vulnerable capabilities, deduplicating Yarn resolutions, and validating affected tooling.
desktop-testing
Configure, run, or troubleshoot native desktop tests using desktop-test, desktop-driver, and storybook-desktop, including app targets and suites, helpers, permissions, WDIO suites, Storybook story tests and smoke runs, reports, and CI. Not for package source changes or the Storybook app build toolchain.
agentic-storybook-development
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.