About docs-js
A documentation lookup skill for IMG.LY CreativeEditor SDK in Vanilla JavaScript. It directs agents to version-aware documentation, API references, and local rules, and limits answers to fetched sources.
Key features
- 01Locate relevant SDK documentation
- 02Fetch documentation as Markdown
- 03Look up TypeScript API details
- 04Consult local implementation rules
- 05Check SDK version guidance
Use cases
- 01Finding Vanilla JavaScript SDK instructions
- 02Checking API signatures and types
- 03Answering feature capability questions
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ imgly/ agent-skills --skill docs-jsAfter installing, type/docs-jsin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/js.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 Vanilla JavaScript Documentation
Look up documentation for IMG.LY CreativeEditor SDK (Vanilla JavaScript).
Query: $ARGUMENTS
Remote Documentation
This skill reads the CE.SDK docs on https://img.ly/docs/cesdk/js/.
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/js.md. It lists all Vanilla JavaScript 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/js/export-save-publish/export/to-png-f87eaf/becomeshttps://img.ly/docs/cesdk/js/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/js/api/cesdk-js.md - Engine API (
@cesdk/engine):https://img.ly/docs/cesdk/js/api/engine.md
Class and type pages follow the same .md rule. For example:
https://img.ly/docs/cesdk/js/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/js/llms-full.txt holds all Vanilla JavaScript 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