Skip to content

superdesigndev/superdesign-skill / skills/superdesign

superdesign

Verified

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.

FileKindSize
INIT.mdmarkdown438 B
SKILL.mdskill md16.1 KB
SUPERDESIGN.mdmarkdown459 B
agents/openai.yamlconfig192 B
references/ASSET_GENERATION.mdmarkdown6.2 KB
references/COMPONENTS.mdmarkdown4.6 KB
references/GRAPHIC.mdmarkdown16.1 KB
references/INIT.mdmarkdown8.2 KB
references/PRESENTATION.mdmarkdown13.0 KB
references/RESUME.mdmarkdown21.0 KB
references/SUPERDESIGN.mdmarkdown47.3 KB
references/WEBSITE.mdmarkdown4.5 KB
references/design-with-your-model.mdmarkdown3.1 KB

references/design-with-your-model.md

View on GitHub
# Design with your model

Use this path when the user explicitly asks the current Agent to design, when `create-design-draft` / `iterate-design-draft` still fails after one retry, or when [SUPERDESIGN.md](SUPERDESIGN.md) **CORRECTION METHOD ROUTING** selects a deterministic direct edit. It replaces only the draft generation/correction step; keep the selected SOP, repo init, design-system context, assets, and canvas handoff unchanged.

1. Run `npx --yes @superdesign/cli@latest import-design-draft --help` and follow its HTML contract.
2. Author one complete draft document in `.superdesign/tmp/<name>.html` using the context already gathered for the normal design path. Resolve all JSX/React residue to literal HTML. Every embedded asset must use its uploaded public `https://` URL (or an intentional `data:` URL), never `/logo.svg`, `./image.png`, `file://...`, or another local path.
3. For a new draft, import it with an explicit viewport:

   ```bash
   npx --yes @superdesign/cli@latest import-design-draft \
     --project-id <id> --title "<title>" --device desktop \
     --html-file .superdesign/tmp/<name>.html \
     --generated-by <your-real-model-id> --user-request "<verbatim-user-request>"
   ```

4. To revise an existing draft, fetch it into a temporary working file with `get-design --output`, make only the intended deterministic changes, then import a revertible version:

   ```bash
   npx --yes @superdesign/cli@latest get-design --draft-id <draft-id> \
     --output .superdesign/tmp/<name>.html

   npx --yes @superdesign/cli@latest import-design-draft --into <draft-id> \
     --html-file .superdesign/tmp/<name>.html \
     --generated-by <your-real-model-id> --user-request "<verbatim-user-request>"
   ```

5. If import returns `invalid_html`, correct every reported issue exactly and retry once; never weaken or bypass the contract. Act on every returned `warnings[]` item or disclose any warning that genuinely requires user judgment.
6. Refetch with `get-design --draft-id <draft-id> --json` and verify the same draft id, the advanced current version, and the intended literal HTML/content changes. Do not claim visual verification from source inspection; surface the returned canvas URL for the user's rendered review.
7. For a real-codebase UI target, record the imported draft/version as the active result in `.superdesign/resume.json` per [RESUME.md](RESUME.md). Preserve the already-selected context bundle and fingerprints; graphics do not use this resume state.

Use the real model identifier exposed by the harness. If none is available, omit `--generated-by` instead of inventing one. Use `--width`/`--height` for a custom viewport and add `--kind graphic` for fixed-canvas graphics; read `--help` rather than guessing other flags.

For presentation HTML, read [PRESENTATION.md](PRESENTATION.md) first. A new presentation import uses `--kind presentation` plus the approved `--outline-file`, navigation, transition, and Brand Assets settings. An imported version preserves stored presentation metadata by default; pass `--outline-file` only after an approved structural slide edit, and pass `--navigation-controls` only when that preference changed.
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall