EE

easyeda/easyeda-api-skill

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

1 тыс. stars Качество 61 Тренд 54

easyeda/easyeda-api-skill — это кандидат на навык агента, импортированный из https://github.com/easyeda/easyeda-api-skill.

Обзор

easyeda/easyeda-api-skill — это кандидат на навык агента, импортированный из https://github.com/easyeda/easyeda-api-skill.

Обзор (машинный перевод)

Английский | 简体中文

Навык EasyEDA API

Пакет навыков API EasyEDA Pro для инструментов для программирования ИИ, таких как Claude Code, OpenCode, QwenCode и любых других инструментов, поддерживающих стандарт Agent Skills.

Этот навык поддерживает как онлайн-отладку EasyEDA Pro с помощью ИИ, так и разработку расширений для EasyEDA Pro. При разработке расширений EasyEDA ИИ может использовать документацию по разработке расширений, ссылки на API, информацию о типах, примеры использования и возможности мостовой отладки, предоставляемые этим навыком, для помощи в поиске API, генерации кода и отладке интеграции. Если вы хотите анализировать или изменять исходные файлы EasyEDA напрямую, а не работать через API, этот проект также предоставляет документацию по форматам исходных файлов.

  • 📚 Структурированная документация API — Автоматически строит иерархические индексы из справочной документации для быстрого поиска ИИ
  • 🧾 Спецификации исходного формата документа — Объясняет проектные, схемные и печатные платы для прямого анализа и модификации исходных кодов
  • 🔌 WebSocket Bridge — Node.js-сервер, объединяющий инструменты ИИ и клиент EasyEDA
  • 🤖 SKILL.md — Полный файл инструкций по навыку

Быстрый старт

1.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

English | 简体中文

EasyEDA API Skill

An EasyEDA Pro API skill package for AI coding tools such as Claude Code, OpenCode, QwenCode, and any other tool that supports the Agent Skills standard.

This skill supports both online debugging of EasyEDA Pro through AI and extension development for EasyEDA Pro. When developing EasyEDA extensions, AI can use the extension-development documentation, API references, type information, usage examples, and bridge debugging capabilities provided by this skill to help with API lookup, code generation, and integration debugging. If you want to analyze or modify EasyEDA document source files directly instead of operating through the API, this project also provides documentation for the source file formats.

  • 📚 Structured API documentation — Automatically builds hierarchical indexes from reference docs for fast AI lookup
  • 🧾 Document source format specifications — Explains project, schematic, and PCB source formats for direct source analysis and modification
  • 🔌 WebSocket Bridge — A Node.js server that bridges AI tools and the EasyEDA client
  • 🤖 SKILL.md — A complete skill instruction file

Quick Start

1. Install dependencies

npm install

2. Build API documentation

npm run build:docs

This reads the raw API documentation from the reference/ directory and generates structured docs into the docs/ directory.

3. Start the WebSocket Bridge server

npm run server

The server automatically chooses an available port in the 49620-49629 range and waits for the EasyEDA client to connect.

4. Connect from EasyEDA

Install the run-api-gateway.eext extension in EasyEDA. Download:

After the extension is loaded, it connects to the Bridge server automatically by scanning the port range and verifying the handshake.

5. Use from an AI coding tool

AI coding tools such as Claude Code, OpenCode, and QwenCode automatically read SKILL.md for instructions, then use the HTTP API to send code to EasyEDA:

# Check EasyEDA connection status (assuming the service is on port 49620)
curl http://localhost:49620/health

# Execute EasyEDA code
curl -X POST http://localhost:49620/execute \
  -H "Content-Type: application/json" \
  -d '{"code": "return await eda.dmt_Project.getCurrentProjectInfo();"}'

One-Command Packaging

npm run pack

This performs the following steps:

  1. Build API documentation (docs/)
  2. Package SKILL.md, documentation, and the server into dist/easyeda-api/
  3. Generate dist/easyeda-api.zip for upload

If the documentation has already been built, you can skip that step:

npm run pack:fast

Publish to ClawHub

npx clawhub@latest publish dist/easyeda-api/

Or upload the zip file at https://clawhub.ai/upload

Architecture

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add easyeda/easyeda-api-skill
Новичок в MCP? Начните с руководства на mcpskill.org →