agentleFS
nicholyxnicholyx/ai-skills/.agents/skills/extension-dev-skill/SKILL.md

extension-dev-skill

Skill6 starsChanged 7 months agoApache-2.0View on GitHub

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设计"

  • Installs packages

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When user intent matches a scenario below, read the corresponding recipe first — it contains the complete call chain, step-by-step …

    line 55
  2. Very specific:

    This is the authoritative mapping: Use eda.<property> to access the corresponding class.

    line 137
  3. Very specific:

    When extension.json does not exist:

    line 469
  4. Very specific:

    Always prefix with plugin name: [MyPlugin]

    line 505
  5. Very specific:

    Only console.warn and console.error are allowed — console.log is strictly forbidden

    line 506
  6. Very specific:

    Every eda.* API call must be wrapped in try/catch

    line 510
  7. Distinctive:

    After generating plugin code, always create or update README.md:

    line 551
  8. Distinctive:

    Follow Keep a Changelog format:

    line 563
  9. Distinctive:

    Update on every code generation or modification session

    line 574

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 corresponding recipe first — it contains the complete call chain, step-by-step instructions, common errors, and code examples.

Plugin Scaffolding & Document Info

recipescenario
recipes/create_menu_plugin.mdCreate a new plugin with menu registration and basic structure
recipes/get_current_document.mdGet current document info (type, UUID, project) — the most common starting point

Document Tree Management (DMT)

recipescenario
recipes/dmt_board_management.mdBoard management — create/delete/copy boards, get board info
recipes/dmt_editor_control.mdEditor control — open/close/activate documents, split screen, zoom, markers
recipes/dmt_project_management.mdProject/team/folder/workspace management
recipes/dmt_schematic_pcb_management.mdSchematic pages, PCB docs, panels — create/delete/copy/rename

Schematic Operations (SCH)

recipescenario
recipes/get_sch_components.mdGet all schematic components (designator, value, package)
recipes/modify_sch_component.mdModify schematic component properties (designator, position, custom props)
recipes/export_sch_bom.mdExport BOM from schematic (all components with attributes)
recipes/sch_wire_bus_operations.mdWire and bus operations — create/get/modify wires, get net info
recipes/sch_pin_operations.mdGet component pins — key pitfall: getAllPinsByPrimitiveId vs sch_PrimitivePin
recipes/sch_primitives_bindraw.mdDrawing primitives — arcs, circles, rectangles, polygons, text
recipes/sch_document_operations.mdSave, import changes from PCB, auto-layout, auto-routing
recipes/sch_netlist_operations.mdNetlist operations — get/update netlist
recipes/sch_drc_check.mdSchematic DRC (Design Rule Check)
recipes/sch_event_bindraw.mdRegister schematic event callbacks (primitive/mouse events)
recipes/sch_select_control.mdSelection control — get/set selected, cross probe
recipes/sch_manufacture_data.mdManufacturing data export — BOM file, netlist, PDF, component ordering
recipes/sch_simulation_engine.mdSimulation engine control and SCH utilities

PCB Operations (PCB)

recipescenario
recipes/get_pcb_components.mdGet all PCB components (designator, position, layer, rotation)
recipes/modify_pcb_primitive.mdModify PCB primitives — modify() and setState_*().done() chain
recipes/pcb_net_query.mdQuery PCB nets and net classes
recipes/pcb_primitives_bindraw.mdPCB drawing primitives — lines, arcs, vias, pads, fills, text, pour, etc.
recipes/pcb_document_operations.mdSave (needs UUID!), import changes, coordinate conversion, zoom
recipes/pcb_layer_operations.mdLayer operations — visibility, color, lock, copper layer count
recipes/pcb_select_control.mdPCB selection control — get/set selected, cross probe
recipes/pcb_drc_check.mdPCB DRC, net class, differential pair, equal-length group management
recipes/pcb_event_bindraw.mdRegister PCB event callbacks (primitive/mouse/net/cross-probe events)
recipes/pcb_manufacture_data.mdManufacturing data — Gerber, BOM, pick-and-place, PCB/SMT ordering
recipes/pcb_math_polygon.mdPolygon math — boolean operations, area, image-to-polygon

Library Operations (LIB)

recipescenario
recipes/lib_device_search.mdSearch devices, get device info — canvas UUID ≠ library UUID pitfall
recipes/lib_symbol_footprint.mdSymbol and footprint search/get/preview
recipes/lib_libraries_management.mdLibrary list, classification, 3D models, CBB modules

System Operations (SYS)

recipescenario
recipes/iframe_custom_ui.mdCreate custom UI with iframe (data exchange)
recipes/user_dialog_input.mdGet user input via built-in dialogs (input, select, confirm)
recipes/sys_storage_operations.mdData storage — extension user config (key required!)
recipes/sys_http_request.mdExternal HTTP requests (cURL)
recipes/sys_file_operations.mdFile system — save/read files
recipes/sys_menu_shortcut.mdHeader menu and shortcut key management
recipes/sys_notification_message.mdToast messages, message box, loading/progress bar
recipes/sys_environment_info.mdRuntime environment info — version, theme, language
recipes/sys_i18n_localization.mdInternationalization (i18n) — multi-language support
recipes/sys_window_operations.mdWindow, right-click menu, panel control, message bus
recipes/sys_timer_websocket.mdTimer and WebSocket operations
recipes/sys_format_conversion.mdFormat conversion — Altium Designer, KiCad import/export
recipes/sys_font_unit_tool.mdFont management, unit conversion (mil), utility tools, logging

eda Property Mapping Table

This is the authoritative mapping. Use eda.<property> to access the corresponding class.

DMT (Document Tree)

eda propertyClassDescription
eda.dmt_BoardDMT_BoardBoard management
eda.dmt_EditorControlDMT_EditorControlEditor tab/split-screen control
eda.dmt_FolderDMT_FolderFolder management
eda.dmt_PanelDMT_PanelPanel management
eda.dmt_PcbDMT_PcbPCB document management
eda.dmt_ProjectDMT_ProjectProject management
eda.dmt_SchematicDMT_SchematicSchematic document management
eda.dmt_SelectControlDMT_SelectControlCurrent document info (getCurrentDocumentInfo())
eda.dmt_TeamDMT_TeamTeam management
eda.dmt_WorkspaceDMT_WorkspaceWorkspace management

SCH (Schematic & Symbol)

eda propertyClassDescription
eda.sch_DocumentSCH_DocumentSave, import changes, auto-layout
eda.sch_DrcSCH_DrcSchematic DRC
eda.sch_EventSCH_EventSchematic events
eda.sch_ManufactureDataSCH_ManufactureDataManufacturing data export
eda.sch_NetlistSCH_NetlistNetlist operations
eda.sch_PrimitiveSCH_PrimitiveUnified primitive operations (abstract)
eda.sch_PrimitiveArcSCH_PrimitiveArcArc primitives
eda.sch_PrimitiveAttributeSCH_PrimitiveAttributeAttribute primitives
eda.sch_PrimitiveBusSCH_PrimitiveBusBus primitives
eda.sch_PrimitiveCircleSCH_PrimitiveCircleCircle primitives
eda.sch_PrimitiveComponentSCH_PrimitiveComponentComponent primitives (get/create/modify/delete)
eda.sch_PrimitivePinSCH_PrimitivePinPin primitives (symbol editor only)
eda.sch_PrimitivePolygonSCH_PrimitivePolygonPolygon primitives
eda.sch_PrimitiveRectangleSCH_PrimitiveRectangleRectangle primitives
eda.sch_PrimitiveTextSCH_PrimitiveTextText primitives
eda.sch_PrimitiveWireSCH_PrimitiveWireWire primitives
eda.sch_SelectControlSCH_SelectControlSelection control
eda.sch_SimulationEngineSCH_SimulationEngineSimulation engine
eda.sch_UtilsSCH_UtilsUtilities

PCB (PCB & Footprint)

eda propertyClassDescription
eda.pcb_DocumentPCB_DocumentSave, import changes, coordinate conversion
eda.pcb_DrcPCB_DrcPCB DRC
eda.pcb_EventPCB_EventPCB events
eda.pcb_LayerPCB_LayerLayer operations
eda.pcb_ManufactureDataPCB_ManufactureDataManufacturing data / Gerber export
eda.pcb_MathPolygonPCB_MathPolygonPolygon math utilities
eda.pcb_NetPCB_NetNet operations
eda.pcb_PrimitivePCB_PrimitiveUnified primitive operations (abstract)
eda.pcb_PrimitiveArcPCB_PrimitiveArcArc primitives
eda.pcb_PrimitiveAttributePCB_PrimitiveAttributeAttribute primitives
eda.pcb_PrimitiveComponentPCB_PrimitiveComponentComponent primitives (get/create/modify/delete)
eda.pcb_PrimitiveDimensionPCB_PrimitiveDimensionDimension primitives
eda.pcb_PrimitiveFillPCB_PrimitiveFillFill primitives
eda.pcb_PrimitiveImagePCB_PrimitiveImageImage primitives
eda.pcb_PrimitiveLinePCB_PrimitiveLineLine primitives
eda.pcb_PrimitiveObjectPCB_PrimitiveObjectBinary embedded objects
eda.pcb_PrimitivePadPCB_PrimitivePadPad primitives
eda.pcb_PrimitivePolylinePCB_PrimitivePolylinePolyline primitives
eda.pcb_PrimitivePourPCB_PrimitivePourPour border primitives
eda.pcb_PrimitivePouredPCB_PrimitivePouredPour fill primitives
eda.pcb_PrimitiveRegionPCB_PrimitiveRegionRegion primitives
eda.pcb_PrimitiveStringPCB_PrimitiveStringText primitives
eda.pcb_PrimitiveViaPCB_PrimitiveViaVia primitives
eda.pcb_SelectControlPCB_SelectControlSelection control

LIB (Library)

eda propertyClassDescription
eda.lib_3DModelLIB_3DModel3D model library
eda.lib_CbbLIB_CbbReuse module library
eda.lib_ClassificationLIB_ClassificationLibrary classification index
eda.lib_DeviceLIB_DeviceDevice library (search/get devices)
eda.lib_FootprintLIB_FootprintFootprint library
eda.lib_LibrariesListLIB_LibrariesListLibrary list
eda.lib_PanelLibraryLIB_PanelLibraryPanel library
eda.lib_SelectControlLIB_SelectControlLibrary selection control
eda.lib_SymbolLIB_SymbolSymbol library

SYS (System)

eda propertyClassDescription
eda.sys_ClientUrlSYS_ClientUrlExternal HTTP requests (cURL)
eda.sys_DialogSYS_DialogDialogs (message, input, select, confirm)
eda.sys_EnvironmentSYS_EnvironmentRuntime environment info
eda.sys_FileManagerSYS_FileManagerFile manager
eda.sys_FileSystemSYS_FileSystemFile system interaction
eda.sys_FontManagerSYS_FontManagerFont management
eda.sys_FormatConversionSYS_FormatConversionFormat conversion (Altium/KiCad)
eda.sys_HeaderMenuSYS_HeaderMenuHeader menu control
eda.sys_I18nSYS_I18nInternationalization
eda.sys_IFrameSYS_IFrameIFrame windows (custom UI)
eda.sys_LoadingAndProgressBarSYS_LoadingAndProgressBarLoading / progress bar
eda.sys_LogSYS_LogLogging
eda.sys_MessageSYS_MessageNon-intrusive notifications
eda.sys_MessageBoxSYS_MessageBoxMessage box
eda.sys_MessageBusSYS_MessageBusMessage bus
eda.sys_PanelControlSYS_PanelControlPanel control
eda.sys_RightClickMenuSYS_RightClickMenuRight-click menu
eda.sys_SettingSYS_SettingSettings
eda.sys_ShortcutKeySYS_ShortcutKeyShortcut key registration
eda.sys_StorageSYS_StorageStorage (extension user config)
eda.sys_TimerSYS_TimerTimer
eda.sys_ToastMessageSYS_ToastMessageToast notifications
eda.sys_ToolSYS_ToolUtility tools
eda.sys_UnitSYS_UnitUnit conversion (mil-based)
eda.sys_WebSocketSYS_WebSocketWebSocket
eda.sys_WindowSYS_WindowWindow operations

PNL (Panel)

eda propertyClassDescription
eda.pnl_DocumentPNL_DocumentPanel document operations

Critical Pitfalls (Must Read)

These are the most common errors. Violating any of these will produce broken code.

1. getCurrentDocumentInfo is on dmt_SelectControl, NOT sch_Document

// ❌ WRONG — does not exist
eda.sch_Document.getCurrentDocumentInfo();

// ✅ CORRECT
const docInfo = await eda.dmt_SelectControl.getCurrentDocumentInfo();

2. SCH modify() vs PCB setState_*().done()

// ❌ SCH: setState_* does NOT commit changes
component.setState_Designator("B2"); // no effect

// ✅ SCH: use class-level modify()
await eda.sch_PrimitiveComponent.modify(primitiveId, { designator: "B2" });

// ✅ PCB: setState_* chain + done() commits
line.setState_StartX(100).setState_StartY(200).done();

3. get() vs getAll() return different interface types

// get() returns ISCH_PrimitiveComponent — may NOT have getState_Designator()
// getAll() returns ISCH_PrimitiveComponent$1 — HAS getState_Designator()
const components = await eda.sch_PrimitiveComponent.getAll();
components[0].getState_Designator(); // ✓ works

4. SCH_Primitive / PCB_Primitive are abstract — no getAllPrimitiveId

// ❌ WRONG — abstract class, no getAllPrimitiveId
eda.sch_Primitive.getAllPrimitiveId();

// ✅ CORRECT — use concrete class
const ids = await eda.sch_PrimitiveComponent.getAllPrimitiveId();

5. openIFrame — no query parameters allowed

// ❌ WRONG
eda.sys_IFrame.openIFrame('/iframe/index.html?mode=add');

// ✅ CORRECT
eda.sys_IFrame.openIFrame('/iframe/index.html', 400, 500, 'my-id', { title: 'Title' });

6. IFrame data passing — window objects are isolated

// ❌ WRONG — main process and iframe window are isolated
(window as any).__data = data;
window.parent.eda; // unnecessary

// ✅ Option A (recommended): use storage
await eda.sys_Storage.setExtensionUserConfig('myKey', data);
// In iframe: const data = await eda.sys_Storage.getExtensionUserConfig('myKey');

// ✅ Option B: use eda directly in iframe (both contexts have access)
// In iframe: const doc = await eda.dmt_SelectControl.getCurrentDocumentInfo();

7. sys_Storage requires a key parameter

// ❌ WRONG — returns undefined
await eda.sys_Storage.getExtensionUserConfig();

// ✅ CORRECT
await eda.sys_Storage.getExtensionUserConfig('stats');

8. showInformationMessage does NOT render HTML

// ❌ WRONG — HTML tags shown as plain text
eda.sys_Dialog.showInformationMessage('<b>Hello</b>');

// ✅ CORRECT — use iframe for HTML content
eda.sys_IFrame.openIFrame('/iframe/result.html', 600, 400);

9. Pins/Pads do NOT have getState_Net

// ❌ WRONG — no getState_Net on pins
pin.getState_Net();

// ✅ SCH nets: get from wires
const wires = await eda.sch_PrimitiveWire.getAll();
wires[0].getState_Net();

// ✅ PCB nets: use pcb_Net
const nets = await eda.pcb_Net.getAll();

10. Canvas UUID ≠ Library UUID

// ❌ WRONG — canvas primitiveId is not a library device UUID
const comp = await eda.sch_PrimitiveComponent.get(id);
comp.getState_Component().uuid; // this is a primitiveId, NOT device UUID

// ✅ CORRECT — use lib_Device.search() to get library device UUID
const results = await eda.lib_Device.search({ keyword: 'STM32' });

11. Menu Title i18n Uses locales/extensionJson/, NOT locales/

// ❌ WRONG — menu titles are NOT translated via locales/en.json
// extension.json: "title": "%myplugin.menu.title%"  ← wrong syntax
// locales/en.json: { "myplugin.menu.title": "My Plugin" }  ← wrong location

// ✅ CORRECT — use plain text title, translate in locales/extensionJson/
// extension.json: "title": "My Plugin"
// locales/extensionJson/en.json: { "My Plugin": "My Plugin" }
// locales/extensionJson/zh-Hans.json: { "My Plugin": "我的插件" }

12. npm Packages Work in iframe, NOT in Main Process

// ❌ WRONG — npm packages that depend on DOM/Node.js APIs won't work in src/
import Chart from 'chart.js'; // fails in EDA sandbox

// ✅ CORRECT — use npm packages in iframe/ code (standard browser context)
// iframe/app.ts: import Chart from 'chart.js'; // works fine

API Documentation Structure

resources/
  experience.md                     # All pitfalls and lessons learned (15 items)
  guide/                            # Developer guide (concepts, best practices)
    index.md                        # What is the Extension API
    how-to-start.md                 # Environment setup and first extension
    invoke-apis.md                  # How to call APIs + debugging methods
    extension-json.md               # extension.json configuration reference
    i18n.md                         # Multi-language support
    inline-frame.md                 # IFrame custom UI windows
    error-handling.md               # Error handling and safety mode
    stability.md                    # API versioning and stability policy
    extensions-marketplace.md       # Extensions marketplace guide
    ancillary-projects.md           # Ancillary projects overview
    ancillary-projects/             # Ancillary project details
  references/                       # Complete API reference
    _index.md                       # Master index of all classes, enums, interfaces, types
    _quick-reference.md             # All method signatures for rapid lookup
    classes/                        # 120 class docs
    enums/                          # 62 enum docs
    interfaces/                     # 70 interface docs
    types/                          # 19 type alias docs

How to Look Up API

Recommended decision path:

  1. User need is a multi-step scenario (e.g., "export BOM", "create plugin with UI") → find the matching recipes/ file
  2. User need is a single API detail (e.g., "what params does modify() take") → read references/classes/<ClassName>.md
  3. Need to find which class has a method → search in references/_quick-reference.md
  4. Need enum values or interface properties → check references/enums/ or references/interfaces/
  5. Need concepts or patterns → read guide/ files

Execution Workflow

  1. Plan — Understand requirements, confirm target editor (home/sch/pcb) and core functionality
  2. Init — If workspace has no extension.json, run project initialization; otherwise skip
  3. Recipe — Check if a matching recipe exists in recipes/; if yes, follow its call chain
  4. Query — For APIs not covered by recipes, query resources/references/ using the four-step method (find class → verify mount path → confirm signature → verify return interface)
  5. Validate — Verify all type signatures are complete with no guesswork; if uncertain, return to Query
  6. Confirm — Always present the implementation plan to the user before writing any code. The plan must include: API list, dependencies, data flow, and file changes. Then explicitly ask the user whether to proceed. Do not start code generation until the user confirms
  7. Execute — After user confirmation, generate code; each API call corresponds to a verified signature, wrapped in try/catch with proper logging
  8. Lint — Run node scripts/lint-eda-api.js src/ to verify EasyEDA Pro API usage; fix any errors before proceeding
  9. Check — Check runtime environment constraints; confirm no forbidden operations; verify all headerMenus IDs in extension.json are globally unique across all editor pages; verify menu title translations are in locales/extensionJson/ (not locales/); if violations found, return to Execute to fix
  10. Doc — Generate or update README.md and CHANGELOG.md
  11. Deploy — Run npm run build; if eext-dev-mcp MCP tools are available, auto-import via dev_plugin; otherwise inform user to manually upload

API Verification Checklist

  • Found class doc in resources/references/classes/; confirmed method exists
  • Read full method signature; confirmed all parameter types and counts
  • Confirmed eda.xxx_YYY property exists (use mapping table above)
  • Verified return interface has required methods (checked in references/interfaces/)
  • If using getAllPrimitiveId, using a concrete class (not abstract SCH_Primitive/PCB_Primitive)
  • Document type checks use correct values: SCH=1, PCB=3, FOOTPRINT=4
  • All headerMenus IDs are globally unique across every editor page
  • Menu title translations are in locales/extensionJson/, code translations in locales/
  • Ran node scripts/lint-eda-api.js src/ with no errors before building

Project Initialization

When extension.json does not exist:

git clone https://github.com/easyeda/pro-api-sdk.git <project-name>
cd <project-name>
npm install
npm run build

Runtime Environment Constraints

Requirement❌ Forbidden✅ Recommended
Get user input-eda.sys_Dialog.showInputDialog()
User selection-eda.sys_Dialog.showSelectDialog()
Show messagealert()eda.sys_Dialog.showInformationMessage()
Confirm actionconfirm()eda.sys_Dialog.showConfirmationMessage()
Toast notificationDOM manipulationeda.sys_Message.showToastMessage()
Store datalocalStorage (main)eda.sys_Storage.setExtensionUserConfig(key, value)
Custom UIManipulate host DOMeda.sys_IFrame.openIFrame()
Show HTMLshowInformationMessage(html)Must use iframe
Open linkwindow.open()eda.sys_Window.open()
IFrame datawindow.__xxx / window.parent.edasys_Storage or use eda directly in iframe

Error Handling and Logging Standards

Logging Rules

LevelAPIUsageAllowed
Warningconsole.warn('[PluginName]', ...)Non-critical: fallback values, empty results, deprecated usage✅ Yes
Errorconsole.error('[PluginName]', ...)Failures: API call failed, data missing, operation aborted✅ Yes
Debugconsole.log(...)—❌ Forbidden
  • Always prefix with plugin name: [MyPlugin]
  • Only console.warn and console.error are allowed — console.log is strictly forbidden

try/catch Rules

  1. Every eda.* API call must be wrapped in try/catch
  2. Catch blocks must log with console.error and include the error object
  3. Group related API calls in a single try/catch when they share a logical operation
  4. Provide user-facing feedback on failure via eda.sys_Dialog.showInformationMessage() or eda.sys_Message.showToastMessage()

Standard Code Pattern

const PLUGIN_TAG = '[MyPlugin]';

export async function myFeature() {
  try {
    const docInfo = await eda.dmt_SelectControl.getCurrentDocumentInfo();
    if (!docInfo) {
      console.warn(PLUGIN_TAG, 'No active document found, aborting');
      return;
    }
    // ... business logic
  } catch (err) {
    console.error(PLUGIN_TAG, 'Failed to execute myFeature:', err);
    await eda.sys_Dialog.showInformationMessage('Operation failed. Check console for details.');
  }
}

Defensive Checks

const components = await eda.sch_PrimitiveComponent.getAll();
if (!components || components.length === 0) {
  console.warn(PLUGIN_TAG, 'No components found in current schematic');
  return;
}

Plugin Documentation Generation

README.md

After generating plugin code, always create or update README.md:

  1. Plugin name and one-line description
  2. Features list
  3. Supported editors (home/sch/pcb/footprint)
  4. Installation — build and import .eext file
  5. Usage — menu access
  6. Configuration — extension.json fields
  7. Dependencies
  8. Known limitations

CHANGELOG.md

Follow Keep a Changelog format:

# Changelog

## [1.0.0] - YYYY-MM-DD
### Added
- Initial release with xxx feature
  • Record every user-visible change (Added / Changed / Fixed / Removed)
  • Update on every code generation or modification session

Failure Strategies

SituationAction
API does not existStop immediately, inform user
Signature uncertainStop generation, return to Query step
Workspace not initializedPrompt user to initialize first
Forbidden DOM API usedAuto-replace with eda.sys_* alternatives
Menu ID conflictAdd plugin-specific prefix; scan all IDs and reject duplicates

References

  • Scenario recipes → recipes/ directory
  • Quick method signatures → resources/references/_quick-reference.md
  • Master API index → resources/references/_index.md
  • Common pitfalls → resources/experience.md
  • Developer guide → resources/guide/
  • Full API reference → resources/references/

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.