跳到正文
Skillpedia
通用编程58k · #3202

cli-anything-eez-studio

它能做什么

这个技能让你的智能体处理 EEZ Studio 项目文件,包括屏幕布局和仪器命令列表。适合开发触摸面板或实验室仪器界面的嵌入式开发者。

适用场景

  • ✓当你想在 EEZ Studio 项目的 LVGL 屏幕上添加标签或按钮的时候。
  • ✓当你想为仪器添加 SCPI 命令定义的时候。
  • ✓当你想从 EEZ 项目构建 LVGL 模拟器的时候。

技能链接

https://github.com/HKUDS/CLI-Anything/blob/main/eez-studio/agent-harness/cli_anything/eez_studio/skills/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/CLI-Anything/blob/main/eez-studio/agent-harness/cli_anything/eez_studio/skills/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我在 EEZ 面板项目中添加一个运行按钮和一个就绪标签。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能通过命令行步骤编辑原生的 .eez-project 文件,使你的智能体能够添加控件和命令。后端构建步骤使用真实的 EEZ Studio 源代码树。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

cli-anything-eez-studio

Use this skill when you need to automate EEZ Studio projects, LVGL UI scaffolding, SCPI instrument command metadata, or backend LVGL simulator builds.

Install

cd eez-studio/agent-harness
pip install -e .

Backend commands require the real EEZ Studio source tree:

git clone https://github.com/eez-open/studio.git
cd studio
npm install
npm run build
export EEZ_STUDIO_SOURCE=/absolute/path/to/studio

Core Usage

Always use --json for agent-readable output.

cli-anything-eez-studio --json project new -o panel.eez-project --name Panel
cli-anything-eez-studio --json --project panel.eez-project lvgl add-label --text "Ready"
cli-anything-eez-studio --json --project panel.eez-project lvgl add-button --text "Run"
cli-anything-eez-studio --json --project panel.eez-project project widgets

SCPI Commands

cli-anything-eez-studio --json --project panel.eez-project scpi subsystem-add SOURCE
cli-anything-eez-studio --json --project panel.eez-project scpi command-add SOURCE :VOLTage?
cli-anything-eez-studio --json --project panel.eez-project scpi parameter-add SOURCE :VOLTage? channel --type nr1 --optional

Backend Commands

cli-anything-eez-studio --json backend status
cli-anything-eez-studio --json --project panel.eez-project lvgl ensure-destination
cli-anything-eez-studio --json --project panel.eez-project lvgl backend-inspect
cli-anything-eez-studio --json --project panel.eez-project lvgl simulator-build build/sim

lvgl backend-inspect and lvgl simulator-build call EEZ Studio's built Node modules. They should fail loudly if the backend is missing.

State

Use session undo, session redo, and session status during REPL or scripted sessions. One-shot commands with --project auto-save project mutations unless --dry-run is provided.

常见问题

我需要 EEZ Studio 的源代码吗?

只有后端构建命令需要,这些命令要求有真实的 EEZ Studio 源代码树。

什么是 SCPI?

SCPI 是一套用于控制实验室仪器的标准文本命令。

输出结果容易阅读吗?

容易,使用 JSON 选项的输出便于你的智能体读取。

详情

作者的原始描述

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

repo: HKUDS/CLI-Anything

热度

GitHub 星标
58k
排名
#3202
许可证
Apache-2.0
更新时间
2026/9/21

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能