Index of every page on this site: llms.txt
All skills
superdesigndev avatar

/superdesign

@f9f05cd
Run it yourself

Design or redesign frontend UI, presentations, and graphics on the Superdesign canvas with a choice of leading AI models. Use whenever the user wants to design a page, feature, flow, slide deck, or brand-new product; improve or reproduce existing UI; compare design results across top models; explore visual variants; set or extract a design system; build reusable components or multi-page flows; create presentations; or create posters and marketing graphics, even if they never say the word 'design tool'. Also supports generating supporting image or video assets when a design needs them.

Use this Skill: https://skilld.dev/gh/superdesigndev/superdesign-skill/superdesign

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesASSET_GENERATION.md

≈1.6k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Image & Video Asset Generation

Read this when a design needs a new image or video asset. Decide what visual role the asset serves before choosing a generator. CLI flags and model capabilities change; discover the current surface with list-models and <command> --help rather than carrying a static parameter manual here.

Decide whether to generate

Use an existing asset when the user or product already has the right logo, product image, illustration, screenshot, brand artwork, or footage. Do not regenerate identity assets or replace deliberate product content with synthetic substitutes.

Generate an image when the design needs original pixels that cannot be produced well by HTML/CSS alone, such as:

  • a hero or campaign key visual
  • a product/lifestyle scene or editorial still life
  • an illustration, atmospheric background, texture, or empty-state artwork
  • a poster, cover, social creative, or ad visual that will be composed with text separately

Do not generate ordinary UI controls, icons, logos, readable interface screenshots, or text-heavy artwork. Build UI and typography in the design draft; generated images should normally contain no text. For posters and marketing graphics, follow GRAPHIC.md: generate only the key visual, leave deliberate negative space for copy, and compose all text in the HTML layer.

Generate video when motion itself is the asset, such as:

  • a short hero/background loop
  • a product or environment reveal
  • image-to-video animation of a selected still or first frame
  • a social clip, campaign motion asset, or cinematic transition

Do not generate video when a static image, CSS animation, or normal UI motion communicates the same thing more clearly and cheaply.

Choose the generation path

Image: prefer the host's native generator

If the host agent already has image generation (for example, the Codex harness), use it for ordinary image assets. It is the shortest path, avoids Superdesign generation credits, and gives the agent direct control over iteration. Import the selected result as project content:

npx --yes @superdesign/cli@latest upload-asset <file> \
  --project-id <project-id> --purpose content \
  --key "<stable-key>" --description "<visual role>"

Use --purpose reference instead when the generated image is only inspiration and must not appear in the final design. Reuse the returned public URL and canvas node id; do not re-upload unchanged bytes.

Image: use Superdesign for a deliberate reason

Use generate-image when one or more of these apply:

  • the user requests a specific Superdesign model
  • the user wants to compare outputs from different models
  • the desired model is better suited to the task than the host-native generator
  • the generation should be tracked in the Superdesign asset ledger
  • the host has no native image-generation capability

Inspect the live catalog before choosing. Tell the user which model you picked and the task-specific reason, such as stronger reference following, better textural detail, faster ideation, or higher output resolution:

npx --yes @superdesign/cli@latest list-models --type image
npx --yes @superdesign/cli@latest list-models <model-id>
npx --yes @superdesign/cli@latest generate-image --help

Then quote with generate-image. Shape the prompt around the asset's role in the design: subject and composition first, intended crop/aspect, location of negative space, lighting/material/style, and any supplied visual reference. Avoid asking the image model to solve page layout or render final UI copy.

Video: use Superdesign

Superdesign is the generation path for video in this skill:

npx --yes @superdesign/cli@latest list-models --type video
npx --yes @superdesign/cli@latest list-models <model-id>
npx --yes @superdesign/cli@latest generate-video --help

Choose text-to-video when the scene can be described from scratch. Choose image-to-video when composition, subject identity, product appearance, or the opening frame must be controlled; use the selected canvas node, Brand Asset key, or public image URL as the source image. The source image determines the frame ratio, so an explicit aspect ratio belongs only to text-to-video.

In the prompt, describe the action over time: subject motion, camera behavior, environmental movement, pacing, and what must remain stable. Prefer short, focused clips over several unrelated actions in one generation. Inspect the selected model's schema for its actual duration, resolution, source-image, camera, seed, and prompt-optimizer support.

Quote and confirm

generate-image and generate-video create a free quote and print the exact confirmation command. Relay the model, important output settings, quoted credits, and balance to the user. Run confirm-generation only after the user explicitly confirms that quoted price in this conversation; its --credits value must match the quote exactly.

Use the CLI response as the procedural guide instead of restating every flag here:

npx --yes @superdesign/cli@latest confirm-generation --help
npx --yes @superdesign/cli@latest get-generation --help
npx --yes @superdesign/cli@latest list-generations --help

One recovery rule is load-bearing: image/video confirmation is idempotent. If a host timeout interrupts confirm-generation, re-run the exact same command or continue with get-generation <id> --wait. Never request a replacement quote after confirmation has started; the original generation may still be running and retrying the same id will not double-charge.

Put the result into the design

Keep the successful result's public asset URL and canvas node id. Use the URL in the design prompt or final HTML when the asset must visibly render, and pass the node id so the design model sees the actual pixels:

npx --yes @superdesign/cli@latest create-design-draft \
  --project-id <project-id> --title "<title>" \
  --reference-id <generated-node-id> \
  -p "Use the supplied image as <specific visual role>."

The same reference id can guide an iteration or flow generation where those commands accept --reference-id. A generated image intended for the final design is project content, not a Brand Asset merely because it appears prominently. Preserve logos, fonts, and reusable identity under the normal Brand Asset workflow.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

3 warnings2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is generally safe and implements robust internal security controls to reject secret files and sanitize remote network requests. It possesses an inherent indirect prompt injection risk surface due to fetching data from external websites and repositories, which is mitigated by clear prompt-level behavioral guidelines.

  • Socket2mo

    1 alert: gptAnomaly

  • Snyk2mo

    Risk: MEDIUM · 2 issues

  • Runlayer8mo

    2/3 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at f9f05cd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 3 months ago

README badge

README badge for superdesigndev/superdesign-skill