npx skills add ...
npx skills add nexu-io/open-design --skill ecommerce-image-workflow
Reference-product ecommerce image workflow for generating a compact set of product-faithful main, feature, and lifestyle images from real product reference photos. V1 requires uploaded product imagery and intentionally defers brief-only concept generation and platform-specific batch exports.
npx skills add nexu-io/open-design --skill ecommerce-image-workflow
Create a compact ecommerce image set from real product reference imagery. This V1 skill is intentionally narrow: it supports reference-product mode only. If the user only describes a product and does not provide a product photo, ask for one and stop. Do not create a brief-only concept product in this version.
By default, generate three ecommerce-ready image assets for one product:
Also create:
image-manifest.json describing reference inputs, slots, prompts, outputs,
aspect ratios, and fidelity notes.ecommerce-gallery.html as a small preview gallery linking the generated
files and summarizing the image roles.Required:
Ask only for missing essentials:
Do not ask broad discovery questions. Keep the workflow moving.
Before planning, verify that the current project includes a real product reference image.
If no product image is available, reply:
Please upload at least one product reference image first. This V1 workflow preserves a real product from reference photos; brief-only concept generation is deferred to a later version.
Then stop.
Inspect the reference image and write a short internal identity lock:
Use these anchors in every generation prompt.
Create a compact shot plan before dispatch:
| Slot | Default aspect | Goal |
|---|---|---|
| main | 1:1 | Product-first marketplace image on white or soft neutral background |
| feature | 4:5 | One clear selling point with close-up detail or simple callout space |
| lifestyle | 4:5 | Realistic use context with the product still visually faithful |
If the project metadata provides imageAspect, use it when the user expects a
single aspect across the set. Otherwise use the slot defaults above.
Every prompt must include this product fidelity instruction near the top:
Then add slot-specific instructions:
Use the unified OpenDesign media dispatcher. Do not call provider APIs or custom model commands directly.
For each slot, run the standard generate/wait loop:
The final line must be JSON with {"file": {"name": "...", ...}}.
Record each final returned filename in image-manifest.json.
If the active image model or provider cannot use --image, stop and tell the
user that this workflow needs a reference-capable image generation path for
product fidelity.
image-manifest.jsonAfter generation, create a project file named image-manifest.json:
Keep the manifest honest. If a detail is unknown, write null or a short note
instead of inventing claims.
ecommerce-gallery.htmlCreate a simple single-file HTML gallery that:
image-manifest.json.Reply with:
Do not emit an <artifact> tag.
"$OD_NODE_BIN" "$OD_BIN" media generate; do not call provider APIs
directly.image-manifest.json after generation.references/checklist.md before handoff.