Chuyển đến nội dung
Skillpedia
Lập trình chung58k · #3202

cli-anything-eez-studio

Skill này làm gì

Skill này cho phép agent làm việc với file dự án EEZ Studio, gồm bố cục màn hình và danh sách lệnh thiết bị. Nó dành cho lập trình viên nhúng xây dựng bảng cảm ứng hoặc giao diện thiết bị phòng thí nghiệm.

Khi nào nên dùng

  • ✓Khi bạn muốn thêm nhãn hoặc nút vào một màn hình LVGL trong dự án EEZ Studio.
  • ✓Khi bạn muốn thêm định nghĩa lệnh SCPI cho một thiết bị.
  • ✓Khi bạn muốn xây một simulator LVGL từ dự án EEZ.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/HKUDS/CLI-Anything/blob/main/eez-studio/agent-harness/cli_anything/eez_studio/skills/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thêm một nút Run và một nhãn Ready vào dự án bảng điều khiển EEZ của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chỉnh sửa file .eez-project gốc qua các bước dòng lệnh, nên agent có thể thêm widget và lệnh. Các bước build backend dùng cây mã nguồn EEZ Studio thật.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

Tôi có cần mã nguồn EEZ Studio không?

Chỉ cho các lệnh build backend, vốn cần cây mã nguồn EEZ Studio thật.

SCPI là gì?

SCPI là bộ lệnh văn bản chuẩn dùng để điều khiển thiết bị phòng thí nghiệm.

Nó có cho kết quả dễ đọc không?

Có, dùng tùy chọn JSON cho đầu ra mà agent đọc dễ dàng.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
58k
Vị trí xếp hạng
#3202
Giấy phép
Apache-2.0
Cập nhật
21/9/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự