rab-rn-debug SKILL.md skillA
rab-rn-debug from ximing/rab is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ximing/rab/rab-rn-debug@v0.1.0Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ximing/rab
- Path
skills/rab-rn-debug/SKILL.md- Versions recorded
- 2
- Latest version
- v0.1.0, committed Aug 25, 2026
- First version recorded
- Aug 16, 2026
- Size
- 7,485 bytes
- Repository stars
- 12
- License
- MIT
用于指导 Agent 通过本地调试服务(rab-rn-debug)以 HTTP 指令调试 React Native 真机/模拟器上的 @rabjs 应用。当用户提到 RN Service 逻辑验证、调试移动端 rab 应用、真机/模拟器 Service 状态检查、设备指令调试 时,应优先使用这个 skill。适用场景包括:向 RN 设备发送结构化指令、枚举/读取/调用 Service、执行 rab.expect 断言、拉取设备 console 日志。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# rab-rn-debug 调试指南(React Native)
本 skill 告知 Agent 如何通过 **rab-rn-debug 本地服务**(默认 `localhost:9229`)向集成 `@rabjs/rn-debug` 的 React Native 应用发送 HTTP 指令,对 Service 层进行功能验证与状态检查。请求会**同步挂起**直到设备执行完毕返回结果。
---
## 前置条件
1. 电脑上启动调试服务(bin 名 `rab-rn-debug`,来自 `@rabjs/rn-debug-server`):
```bash
npx rab-rn-debug # 默认端口 9229,启动时会打印局域网 IP(setupRNDebug 的 host)
```
2. RN 应用已集成 SDK(App 入口,仅 `__DEV__` 生效):
```ts
import { setupRNDebug } from '@rabjs/rn-debug';
setupRNDebug({ host: '<电脑局域网IP>', port: 9229, appName: 'MyApp' });
```
3. 确认设备在线:
```bash
curl -s http://localhost:9229/api/devices
# 期望: [{"deviceId":"rn-ios-xxxx","appName":"MyApp","platform":"ios","osVersion":"18.0","sdkVersion":"0.1.0","connectedAt":...,"lastSeen":...}]
```
如果目标 App 尚未接入,先引导用户完成上述步骤再调试。多设备在线时,请求需带 `deviceId`(见下)。
---
## 指令调用方式
```bash
curl -X POST http://localhost:9229/api/commands \
-H 'Content-Type: application/json' \
-d '{"type":"<指令type>","payload":{...},"timeout":30000}'
```
- 唯一设备在线时自动路由;多设备返回 409(body 为 `{"error":"multiple devices, specify deviceId","devices":["rn-ios-xxx","rn-android-yyy"]}`),改用 `POST /api/devices/<deviceId>/commands`;无设备返回 404;指定的 `deviceId` 不存在同样返回 404。
…Read the whole file at its exact version.
How to install
mdr add ximing/rab/rab-rn-debug@sha256:604b61e66907bdb1The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ynvbuyf3caqgej76)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 16, 2026 and Aug 25, 2026, about one every 9 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.1.0 latest | 2026-08-25 | d8c722b | 7,485 B | A | view · diff |
| v0.1.0 | 2026-08-16 | aaa3e40 | 7,374 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7485 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ximing/rab · 12 stars · license MIT · pushed 2026-11-02 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_ynvbuyf3caqgej76 GET https://markdownregistry.com/api/v1/resolve?ref=ximing/rab/rab-rn-debug GET https://markdownregistry.com/api/v1/blob/604b61e66907bdb1349575a22ff023e1a8ff22012e26bd51096b245f72c901ef
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.