About docs-electron
A documentation lookup skill for IMG.LY CreativeEditor SDK in Electron. It directs agents to the versioned documentation, API references, and local rules, and requires answers to rely on fetched documentation rather than prior knowledge.
Key features
- 01Find relevant Electron documentation pages
- 02Fetch documentation as Markdown
- 03Look up TypeScript API references
- 04Consult local implementation rules
- 05Answer from cited documentation
Use cases
- 01Look up CE.SDK Electron APIs
- 02Check setup and usage guidance
- 03Verify method signatures and types
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ imgly/ agent-skills --skill docs-electronAfter installing, type/docs-electronin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/electron.mdupdate-check.mdrules/asset-handling.mdcommon-pitfalls.mdcontent-fill-mode.mdsilent-init-errors.mdverify-properties-before-use.mdDetails
From the project READMEVersion Notice
CE.SDK
1.83.0· generated2026-09-30· plugincesdk· canonical update sourceimgly/agent-skills.If this bundle is over six weeks old, or the user asks about updates, follow
references/update-check.mdonce per task and reuse the result for all CE.SDK skills. Keep the check read-only. Never install, update, overwrite, or delete anything without explicit user approval. Continue with this bundle unless an update is approved.
CE.SDK Electron Documentation
Look up documentation for IMG.LY CreativeEditor SDK (Electron).
Query: $ARGUMENTS
Remote Documentation
This skill reads the CE.SDK docs on https://img.ly/docs/cesdk/electron/.
The website serves only the latest stable CE.SDK release. It has no older versions.
This bundle targets CE.SDK 1.83.0. If the project uses a different CE.SDK version,
read the changelog and upgrade pages, and check the type definitions of the
installed package.
How to Use
- Read the index: Read
references/electron.md. It lists all Electron pages with their titles and links. - Select pages: Pick the pages that match the query.
- Fetch each page as Markdown: Remove the trailing
/from the link and add.md. For example,https://img.ly/docs/cesdk/electron/export-save-publish/export/to-png-f87eaf/becomeshttps://img.ly/docs/cesdk/electron/export-save-publish/export/to-png-f87eaf.md. Use WebFetch. If WebFetch is not available (for example in Codex), usecurl -sL <url>. - Answer from the fetched pages only: Give the relevant section and code examples, and cite the page URLs. If no page covers the request, say so. Do not fill the gap with pre-trained knowledge.
- Check rules: Before setup, initialization, or common operations, read the local
rules/*.mdfiles. They list agent pitfalls that the website does not cover.
API Lookup
For TypeScript API queries (method signatures, types, parameters):
- Editor API (
@cesdk/cesdk-js):https://img.ly/docs/cesdk/electron/api/cesdk-js.md - Engine API (
@cesdk/engine):https://img.ly/docs/cesdk/electron/api/engine.md
Class and type pages follow the same .md rule. For example:
https://img.ly/docs/cesdk/electron/api/engine/classes/blockapi.md.
Tip: Verify types against the TypeScript definitions — CE.SDK evolves rapidly and type shapes may differ from pre-trained knowledge.
Full Text
https://img.ly/docs/cesdk/electron/llms-full.txt holds all Electron pages in one file
(several MB). Use it only as a last resort, when the index and the pages do not
answer the query. Search it with curl -sL <url> | grep -n "<keyword>". Do not read
it in full.
Local Rules
rules/asset-handling.md: Image format recommendations, URI resolutionrules/common-pitfalls.md: Critical gotchas (invisible fills, SVG rendering issues)rules/content-fill-mode.md:contentFillModebelongs on the block, not the fillrules/silent-init-errors.md: CreativeEditor init callback swallows errors silentlyrules/verify-properties-before-use.md: Callengine.block.findAllProperties()before you get or set a property
Additional Triggers
This skill also covers queries about CE.SDK block types, asset sources, and feature capabilities. It handles API method lookups — BlockAPI, SceneAPI, EditorAPI, AssetAPI, method signatures, return types, and "engine.block" style queries.
Related Skills
- Use `/imgly-sdk:build` when the user needs implementation help, not just docs
- Use `/imgly-sdk:explain` for conceptual explanations beyond what docs cover