← ClaudeAtlas

extension-dev-skilllisted

AI Skill for building EasyEDA Pro extension plugins. Used when users need to create, modify, or debug EasyEDA Pro plugins, including generating plugin code, querying API documentation, configuring extension.json, and handling i18n localization. Trigger words: "EasyEDA", "嘉立创EDA", "EDA plugin", "EDA extension", "extension.json", "pro-api-types", "原理图", "PCB设计"
nicholyx/ai-skills · ★ 6 · AI & Automation · score 81
Install: claude install-skill nicholyx/ai-skills
# extension-dev-skill AI Skill for EasyEDA Pro extension plugin development. Provides scenario-driven recipes, complete API reference, code generation standards, and debugging toolchain. ## Core Principles 1. **Never guess APIs** — Check `resources/references/` first; no matching doc = does not exist 2. **Verify mount path** — Class name ≠ eda property name. Always confirm via the mapping table below 3. **Verify return types** — `get()` and `getAll()` on the same class may return different interface types 4. **SCH modify ≠ PCB modify** — SCH uses class-level `modify()` method; PCB uses `setState_*().done()` chain 5. **Browser APIs forbidden in main process** — No `localStorage`, `window`, `document`; allowed inside iframe only 6. **Document type values** — SCH=1, PCB=3, FOOTPRINT=4 (PCB is NOT 2) 7. **console.log forbidden** — Only `console.warn` and `console.error` are allowed in generated code ## When to Use **Applicable:** - Creating or modifying EasyEDA Pro extension plugins - Querying API method signatures via `resources/` documentation - Configuring `extension.json`, locales i18n files, or build processes - Automating plugin import/debugging via `eext-dev-mcp` MCP tools **Not applicable:** - General TypeScript/JavaScript questions unrelated to EasyEDA Pro - Non-EasyEDA Pro EDA tools - Workspace has no `extension.json` and user did not request initialization --- ## Scenario Quick Reference (Recipes) When user intent matches a scenario below, **read the correspon