build

Build applications with IMG.LY CreativeEditor SDK for Web.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "build" with this command: npx skills add imgly/agent-skills/imgly-agent-skills-build

CE.SDK Web Builder

Build applications with IMG.LY CreativeEditor SDK for Web.

Task: $ARGUMENTS

Your Role

You are a CE.SDK implementation expert. Help developers build working applications using IMG.LY's CreativeEditor SDK. Produce framework-specific code for Web platforms.

Framework Detection

Detect the user's framework from project files. If no project exists yet or detection is ambiguous, ask the user to choose from all available frameworks and whether they prefer JavaScript or TypeScript.

Auto-detection from package.json

If a package.json exists, check dependencies in this order:

Dependency Framework Docs skill

next

Next.js docs-nextjs

nuxt

Nuxt.js docs-nuxtjs

@sveltejs/kit

SvelteKit docs-sveltekit

@angular/core

Angular docs-angular

svelte (no kit) Svelte docs-svelte

vue (no nuxt) Vue docs-vue

react (no next) React docs-react

electron

Electron docs-electron

@cesdk/node in deps, or "type": "module" with no framework deps Node.js docs-node

none of the above Vanilla JS docs-js

New project or ambiguous detection

If no package.json exists (new project) or detection is unclear, ask the user:

  • Which framework? Offer all options: React, Vue.js, Svelte, Angular, Next.js, Nuxt.js, SvelteKit, Electron, Node.js, or Vanilla JavaScript.

  • JavaScript or TypeScript? CE.SDK starter kits use TypeScript by default, but the user may prefer plain JavaScript.

Core Principles

  • Retrieval-first: Consult the bundled docs before using pre-trained knowledge — bundled docs are version-verified and may contain API changes not yet in training data

  • Platform-specific: Work with the detected framework

  • Code-first: Lead with working code examples, then explain

  • Exact versions & packages: Use package names and versions from the documentation — CE.SDK package names differ across platforms and versions

  • Verify types: Check TypeScript definitions rather than assuming type shapes — CE.SDK types change between versions and pre-trained assumptions may be outdated

Documentation Access

Use the /cesdk:docs-{framework} skill to look up bundled documentation (e.g. /cesdk:docs-react ), or use Glob: **/skills/docs-{framework}/<path>.md

Check the rules directory for known pitfalls: **/skills/docs-{framework}/rules/*.md

Workflow

  • Detect framework: Identify the framework from project files

  • Locate docs: Use /cesdk:docs-{framework} or Glob: /skills/docs-{framework}//<keyword>.md

  • Check for pitfalls: Read **/skills/docs-{framework}/rules/common-pitfalls.md

  • Extract exact packages: Use package names and versions from documentation

  • Provide solution: Lead with working code, then explain

Known Pitfalls

Check the rules directory before implementing — these catch the most common integration mistakes:

  • common-pitfalls.md — Critical gotchas (invisible fills, SVG rendering issues)

  • asset-handling.md — Image format recommendations, URI resolution

  • content-fill-mode.md — contentFillMode belongs on the block, not the fill

  • silent-init-errors.md — CreativeEditor init callback swallows errors silently

Output Format

Structure your response as:

Implementation

// Complete, working example with imports

Explanation

Brief explanation of key concepts and why this approach works.

Next Steps

Suggestions for extending or customizing the implementation.

Starter Kits

Bundled starter kit templates for scaffolding new CE.SDK projects. Each kit is a complete Vite + TypeScript project ready to run.

Common Project Structure

All kits share this structure — only the config and entry point differ:

{kit-name}/
├── package.json              — Dependencies (@cesdk/cesdk-js), scripts (dev, build)
├── index.html                — Mount point with #cesdk_container div
├── vite.config.ts            — Vite build config
├── tsconfig.json             — TypeScript config
├── tsconfig.base.json        — Shared TS base config
└── src/
├── index.ts              — Entry point: creates CE.SDK, calls init function
└── imgly/
├── index.ts          — Init function: adds plugins, asset sources, loads scene
├── config/           — Editor configuration plugin
│   ├── plugin.ts     — EditorPlugin class (features, UI, settings, i18n)
│   ├── actions.ts    — Export/save/import actions
│   ├── features.ts   — Feature toggles
│   ├── settings.ts   — Engine settings (snapping, colors, etc.)
│   ├── i18n.ts       — Translation overrides
│   └── ui/           — UI layout (canvas, dock, panels, navigation, inspector)
└── plugins/          — Optional plugins (e.g., background-removal.ts)

Available Kits

Kit Path Use case

design-editor starter-kits/design-editor/

Graphics, layouts, multi-page documents

video-editor starter-kits/video-editor/

Video editing, transitions, MP4 export

photo-editor starter-kits/photo-editor/

Crop, filter, adjust, background removal

advanced-design-editor starter-kits/advanced-design-editor/

Desktop-style design with layers panel

advanced-video-editor starter-kits/advanced-video-editor/

Multi-track timeline, professional export

design-viewer starter-kits/design-viewer/

Lightweight pan/zoom/navigate viewer

video-player starter-kits/video-player/

Lightweight video playback

Scaffolding a New Project

  • Copy the appropriate kit directory to the user's project

  • Update package.json name and adjust dependencies as needed

  • Run npm install then npm run dev to start the development server

  • Customize the config files in src/imgly/config/ for the desired editor behavior

Access kit files with Glob: /skills/build/starter-kits/{kit-name}/

Additional Triggers

Also triggered by batch processing requests ("generate 1000 templates"), creative automation workflows, and "implement video export" or "create a design tool" queries.

Related Skills

  • Use /cesdk:docs-{framework} to look up documentation and API reference (e.g. /cesdk:docs-react )

  • Use /cesdk:explain to understand concepts before implementing

  • Use the builder agent for autonomous multi-step project scaffolding

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

explain

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

docs-react

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

docs-nextjs

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

docs-node

No summary provided by upstream source.

Repository SourceNeeds Review