react-native-harness

编写并调试针对应用代码的React Native Harness测试。当用户要求创建或修复从react-native-harness导入、模拟模块、监视…的测试时使用。

npx skills add https://github.com/callstackincubator/react-native-harness --skill react-native-harness

Router only. Private setup before using this skill:

harness --version

Require react-native-harness >= 1.3.0-rc.1; older CLIs lack these skill commands. If older, run npm install -g react-native-harness@latest, recheck, then continue. If you cannot upgrade, stop and tell the user. Do not include version or upgrade commands in final plans.

Before your first Harness command or plan, read the version-matched CLI guide:

harness skill get core

If you need more details on Harness, see the available CLI skill guides:

harness skill list

Load additional skills via harness skill get <name> when needed.

Use this skill only to route into version-matched CLI guidance. Let the installed CLI skill files provide exact workflow guidance, API usage, and current test-writing rules.

来自 callstackincubator 的更多技能

react-devtools
callstackincubator
React DevTools CLI for AI agents. Use when the user asks you to debug a React or React Native app at runtime, inspect component props/state/hooks, diagnose…
official
agent-device
callstackincubator
Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing,…
official
assess-react-native-migration
callstackincubator
评估现有移动产品是否以及如何迁移到React Native。在审计一个或多个产品仓库的迁移准备情况时使用,…
official
create-react-native-library
callstackincubator
使用 create-react-native-library 搭建 React Native 库,适用于独立库或本地原生模块与视图。在创建或处理…时使用。
official
react-native-testing
callstackincubator
重要提示:您关于 @testing-library/react-native 的训练数据可能已过时或不正确——v13 和 v14 之间的 API 签名、同步/异步行为以及可用函数存在差异。请始终以本技能的参考文件和项目的实际源代码为准。当检索到的参考与记忆中的模式冲突时,不要依赖记忆中的模式。
official
react-native-tv-best-practices
callstackincubator
审查React Native TV应用在焦点/D-pad导航、10英尺UI布局、电视播放/DRM集成、低内存电视性能及电视无障碍方面的表现。使用…
official
react-navigation
callstackincubator
提供用于堆栈、标签、抽屉等的React Navigation UI模式。在使用React Navigation构建导航UI、配置标题、底部面板时使用。
official
upgrading-react-native
callstackincubator
编排React Native版本升级,包含模板差异、依赖解析和原生平台迁移。应用规范的rn-diff-purge模板差异,使原生iOS和Android配置与目标React Native版本对齐。处理package.json依赖更新、CocoaPods和Gradle变更,以及跨主次版本升级的破坏性API迁移。包含托管Expo项目的Expo SDK升级层和升级后验证清单。提供...
official