uniform-assets
Installation
SKILL.md
Uniform assets
How to model, render, and author image/media assets in this Uniform.
1. Choose the parameter type deliberately
| Use | When |
|---|---|
asset parameter |
Real content authors will pick/manage the image; you want the Canvas asset picker, DAM library, and image CDN/transforms. Default for authored imagery. |
text parameter (URL) |
Quick/pragmatic cases, throwaway/demo data, or an image URL that's genuinely just a string the author pastes. Simpler, but no picker, no metadata, no CDN transforms. |
Don't reach for text just to avoid the asset plumbing — the plumbing is small
(below). Reach for text only when a bare URL really is the right model and a text input is the right editor experience.
2. Define an asset parameter
In the component definition. Via MCP mutateComponent or uniform-data/component/<type>.json: