rozenite-agent
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRozenite Skill
Rozenite Skill
Ground Truths
基础准则
- Agent work is session-scoped. Reuse one active session across related commands.
- Always check for an existing session first:
rozenite agent session list - Create a session only when needed:
rozenite agent session create - Pin to a specific device only when explicitly requested:
rozenite agent targetsrozenite agent session create --deviceId <id>
- Pass on every domain command.
--session <id> - Always list domains before acting so you have the up-to-date view for the current session:
rozenite agent domains --session <id> - Prefer and cursor pagination for list commands.
--limit 20
- Agent的工作基于会话范围。在相关命令间复用一个活跃会话。
- 始终先检查现有会话:
rozenite agent session list - 仅在需要时创建会话:
rozenite agent session create - 仅在明确要求时绑定到特定设备:
rozenite agent targetsrozenite agent session create --deviceId <id>
- 在每个领域命令中传递参数。
--session <id> - 执行操作前始终先列出领域,以便获取当前会话的最新视图:
rozenite agent domains --session <id> - 对于列表类命令,优先使用和游标分页。
--limit 20
Workflow
工作流程
- Ensure there is an Agent session.
- Run .
rozenite agent domains --session <id> - Pick the domain that matches the task.
- Read the relevant reference below.
- Execute ,
tools, andschemafor that domain.call
- 确保存在一个Agent会话。
- 运行。
rozenite agent domains --session <id> - 选择与任务匹配的领域。
- 阅读下方相关参考文档。
- 针对该领域执行、
tools和schema命令。call
Commands
命令
rozenite agent session createrozenite agent <domain> tools --session <id>rozenite agent <domain> schema -t <name> --session <id>rozenite agent <domain> call -t <name> -a '<json>' --session <id>
rozenite agent session createrozenite agent <domain> tools --session <id>rozenite agent <domain> schema -t <name> --session <id>rozenite agent <domain> call -t <name> -a '<json>' --session <id>
Built-in Domains
内置领域
- : Read, filter, paginate console messages; clear log buffer.
console - : Record HTTP/HTTPS traffic; list requests, inspect details/bodies, analyze timing.
network - : Search and traverse component tree; read props, state, hooks; record render timelines (profiling).
react - : Start/stop trace, export to file (file-backed).
performance - : Heap snapshots and allocation sampling; file-backed exports.
memory
- :读取、过滤、分页控制台消息;清除日志缓冲区。
console - :记录HTTP/HTTPS流量;列出请求、查看详情/请求体、分析时序。
network - :搜索和遍历组件树;读取props、state、hooks;记录渲染时间线(性能分析)。
react - :启动/停止追踪,导出到文件(基于文件存储)。
performance - :堆快照和分配采样;基于文件存储的导出。
memory
Dynamic Domains
动态领域
- Additional domains can appear at runtime when Rozenite plugins are installed in the app.
- These domains are not fixed ahead of time, so always trust over memory.
rozenite agent domains --session <id> - Domain entries include metadata such as ,
id,kind,pluginId, andslug.description - Treat entries with as dynamic plugin/app domains.
"kind":"plugin"
- 在应用中安装Rozenite插件后,运行时可能会出现额外的领域。
- 这些领域并非预先固定,因此始终以的结果为准,而非记忆内容。
rozenite agent domains --session <id> - 领域条目包含、
id、kind、pluginId和slug等元数据。description - 将的条目视为动态插件/应用领域。
"kind":"plugin"
Learning About Plugins
了解插件
When you encounter a domain with (or any domain you need to use):
"kind":"plugin"- Check References below — If this skill lists a (or similar) reference that matches the domain (by slug, pluginId, or obvious name), read that file and follow it for tools, semantics, and workflow.
domains/<name>.md - No reference file — If there is no matching reference for that plugin:
- Run to get the live tool list.
rozenite agent <domain> tools --session <id> - For each tool you plan to call, run to learn arguments and return shape.
rozenite agent <domain> schema -t <toolName> --session <id> - Then run as needed.
rozenite agent <domain> call -t <toolName> -a '<json>' --session <id>
- Run
Always start from to see , , and ; use those to match against the reference filenames or to drive discovery when no reference exists.
rozenite agent domains --session <id>descriptionpluginIdslug当你遇到的领域(或任何你需要使用的领域)时:
"kind":"plugin"- 查看下方参考文档 — 如果本Skill列出了与该领域(通过slug、pluginId或明确名称匹配)对应的(或类似)参考文档,请阅读该文件并遵循其中的工具、语义和工作流程说明。
domains/<name>.md - 无参考文件 — 如果该插件没有匹配的参考文档:
- 运行获取实时工具列表。
rozenite agent <domain> tools --session <id> - 对于你计划调用的每个工具,运行了解参数和返回结构。
rozenite agent <domain> schema -t <toolName> --session <id> - 然后根据需要运行。
rozenite agent <domain> call -t <toolName> -a '<json>' --session <id>
- 运行
始终从开始,查看、和;使用这些信息匹配参考文件名,或在无参考文档时进行探索。
rozenite agent domains --session <id>descriptionpluginIdslugReferences
参考文档
domains/console.mddomains/network.mddomains/react.mddomains/memory.mddomains/performance.mddomains/react-navigation.mddomains/mmkv.md
domains/console.mddomains/network.mddomains/react.mddomains/memory.mddomains/performance.mddomains/react-navigation.mddomains/mmkv.md