/d-robotics-skills:rdk-docs-referencefrom d-robotics-skills
Searches official D-Robotics RDK docs (rdk_x_doc, rdk_s_doc, tros_doc) and answers with cited sources for pin definitions, interface specs, FAQ errors, and TROS nodes.
Ships in d-robotics-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
RDK 通用知识检索技能:任何不属于其他工作流技能的 RDK 问题(引脚定义、接口规格、 FAQ 报错、版本说明、文档原文出处),都先检索官方文档仓库再回答,输出必须带出处。
把"Agent 凭记忆回答 RDK 问题"降级为"Agent 查官方文档后带出处回答",保证一切结论 可追溯到 rdk_x_doc / rdk_s_doc / tros_doc 的具体文件。
当用户提出以下类型的问题时激活:
不要在有专用工作流技能的场景使用本技能替代实操(例如内存审计应交给 rdk-memory-audit 实测,而不是引用文档理论值)。
.refs/rdk_x_doc、.refs/rdk_s_doc 与
.refs/tros_doc,
可用环境变量 RDK_DOCS_ROOT 指向其他位置。git clone --depth 1 https://github.com/D-Robotics/rdk_x_doc.git
(rdk_s_doc、tros_doc 同理)。| Script | Purpose | Arguments |
|---|---|---|
scripts/search_docs.sh | 在官方文档仓库中全文检索关键词,输出 文件路径:行号:命中行。 | --query <kw>(可多次)、--repo x|s|tros|all、--limit N、--summary(按章节分组统计)、--toc [--query <kw>](按关键词过滤目录) |
scripts/search_docs.sh --query <关键词>(多关键词做交集缩小范围)。rdk_x_doc/docs/03_Basic_Application/01_40pin_user_sample/40pin_define.md)。<DocScope products=...> 标记,
只引用与用户板卡匹配的段落。--toc 可列出文档章节树,用于"官方文档里有没有讲过 X"类问题。以下是检索方法协议(与具体板卡无关,适用于任何主题):
--repo x 或 --repo s 限定仓库,
再看 DocScope;TROS 节点/应用文档用 --repo tros。禁止用 A 板的命中回答 B 板的问题。05_mcu_development vs
02_linux_development)决定该命中属于哪个子系统。用 --summary 看命中的章节
分布;若某术语只出现在另一个子系统的章节里,不要把它当作 Linux 用户态可用的证据。--toc --query <功能词> 按章节名发现目标文档。--repo all 或换关键词重试
一次;仍无结果则明确告知,不得编造。git pull。rdk_x_doc/docs/03_Basic_Application/01_40pin_user_sample/gpio.md:10:开发板预置了 GPIO Python 库 `Hobot.GPIO`...
rdk_x_doc/docs/03_Basic_Application/01_40pin_user_sample/gpio.md:16:>>> import Hobot.GPIO as GPIO
纯只读检索,不修改任何文件。
| 文档仓库 | 覆盖板卡 | --repo 取值 |
|---|---|---|
| rdk_x_doc | X3 / X3 Module / X5 / X5 Module / Ultra | x |
| rdk_s_doc | S100 / S100P / S600 | s |
| tros_doc | TROS 安装、环境、节点与应用文档 | tros |
| 三者 | 全系与 TROS 文档 | all(默认) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub d-robotics/rdk-skills --plugin d-robotics-skills3 skills in this plugin
/rdk-pack-installerInstall or upgrade a D-Robotics workspace-integrated Skill Pack (such as OE-Skills-X5 or OE-Skills-S) in a local development project — check out the Hub catalog (rdk-skills), run the pack's mirrored setup.sh with a confirmed project root, and verify the installed workspace (.drobotics-x5/ or .drobotics-s/). Compares the installed version anchor (INSTALLED_REF/VERSION) with the pinned release ref before re-running. Use when the user asks to install, initialize, set up, upgrade or update a D-Robotics pack/toolchain for a project ("install D-Robotics OE-Skills-X5", "装一下 OE 工具链", "upgrade this repo's .drobotics-x5 workspace", "setup this repo for RDK X5 tool chain work"). 触发词:install OE-Skills、装 OE、upgrade OE、更新/升级 OE 工具链、setup X5 workspace、初始化 .drobotics-x5、安装 D-Robotics pack、OE 工具链环境搭建. Do not use for installing a single flat skill (npx skills add / pack install.sh) or for editing skill content — those follow the flat-pack flow./rdk-skill-finderFind the real D-Robotics RDK Skill or workspace pack for a task, board platform, or installation type, then return its deterministic install or handoff action. Use for requests such as "which skill handles X5 model quantization?", "find an RDK skill for diagnostics", "what RDK toolchain pack should I use?", or "帮我找 X5 模型量化/编译对应的 Skill". Do not use to install or modify anything directly; use rdk-pack-installer for confirmed workspace-pack installation.Other plugins' skills for the same job