Skip to content
Back to skills

Interface Design

ASecurity

Use for any HTML/CSS/JS-driven visual design or rendered product

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 3, 2026
designrustgobashreactnodetestinggitfrontend

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add TobeMagic/aimagician-skills --skill interface-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Interface Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Interface Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tobemagic-interface-design/badge)](https://www.skillsdirectory.com/skills/tobemagic-interface-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: interface-design
description: Use for any HTML/CSS/JS-driven visual design or rendered product
  asset, including README covers and autoplay GIF heroes, GitHub project
  branding, posters, banners, infographics, product showcases, narrated demo
  videos, creative coding, SVG or canvas visuals, product and app prototypes,
  live variants and device frames, web UI, dashboards, design systems, landing
  or campaign pages, interactive reports, data visualization, HTML
  presentations, HTML-first PDF or PPTX conversion, motion, audio, visual
  audits, redesigns, accessibility, responsive behavior, and brand DESIGN.md
  routing. Route ordinary native PowerPoint delivery to the PPT skill unless the
  user explicitly requests an HTML-first presentation pipeline.
category: design
subcategory: interface
tags:
  - ui
  - frontend
  - brand
  - design-md
  - accessibility
  - polish
  - repository-branding
  - poster
  - motion-media
  - creative-coding
metadata:
  capability_modules:
    - references/capabilities/delivery-routing.md
    - references/capabilities/context-and-direction.md
    - references/capabilities/information-architecture.md
    - references/capabilities/visual-system.md
    - references/capabilities/components-and-interaction.md
    - references/capabilities/react-browser-setup.md
    - references/capabilities/prototypes-and-data.md
    - references/capabilities/motion-and-html-presentations.md
    - references/capabilities/html-first-presentations.md
    - references/capabilities/brand-and-product-assets.md
    - references/capabilities/repository-branding-and-marketing.md
    - references/capabilities/creative-coding-and-motion-media.md
    - references/capabilities/motion-rendering-safety.md
    - references/capabilities/audio-and-narration.md
    - references/capabilities/implementation-and-verification.md
  decision_assets:
    - assets/patterns/layout-patterns.json
    - assets/patterns/component-patterns.json
    - assets/patterns/decision-rules.json
    - assets/patterns/quality-checks.json
    - assets/patterns/visual-direction-patterns.json
    - assets/patterns/anti-template-rules.json
    - assets/patterns/motion-scene-recipes.json
    - assets/patterns/taste-anchor-patterns.json
    - assets/patterns/output-contract-patterns.json
compatibility:
  tools:
    - bash
    - browser
    - playwright
  requires: Existing app, visual source material, or a concrete design brief
---

# HTML Based Universal Design

Use this skill as a design, prototype, implementation, and visual-quality system for browser-native work. The output may be a production interface, an interactive prototype, a marketing experience, a data product, a component, or an HTML presentation. Design decisions must come from content, users, workflow, and evidence rather than a generic visual template.

## Delivery Boundary

Route by the required final artifact before designing:

| Deliverable | Owner | Rule |
|---|---|---|
| HTML/CSS/JS page, app, prototype, dashboard, report, visualization, or browser presentation | `interface-design` | This skill owns design and implementation. |
| README cover, repository banner, poster, product showcase, social image, or other rendered still | `interface-design` | This skill owns product understanding, art direction, source composition, rendering, and visual QA. Image generation may supply a truthful ingredient, but it does not replace the design workflow. |
| Product demo, motion hero, GIF loop, narrated launch film, or other browser-rendered media | `interface-design` | This skill owns storyboard, deterministic HTML/canvas source, poster fallback, rendering, audio cues, encoding, and frame QA. |
| HTML-first presentation exported to PDF or PPTX | `interface-design` | Use only when the user explicitly requires HTML as the presentation source. Choose editable or fidelity PPTX before implementation. |
| Native editable `.pptx`, PowerPoint template, slide master, or Office-compatible deck | `pptx-studio` | The PPT skill owns generation, editing, rendering, and Office QA. |
| HTML visual exploration followed by native PowerPoint | `interface-design`, then PPT owner | Produce a design brief and handoff contract; rebuild natively. Do not present an HTML conversion as equivalent to native PowerPoint. |

When “presentation” is ambiguous and the final format changes the architecture, confirm browser HTML, explicit HTML-first PDF/PPTX, or native `.pptx`. Explicit HTML-first PPTX requires a second decision between editable objects and full visual fidelity. Read `references/capabilities/delivery-routing.md` for the full contract.

## Operating Modes

- **Build:** create a new browser-native experience from an accepted brief.
- **Prototype:** test product structure, interaction, or visual direction at deliberate fidelity.
- **Study:** extract reusable design decisions from supplied interfaces or references without copying protected identity or content.
- **Audit:** inspect an existing implementation and report evidence-backed defects before changing code.
- **Redesign:** preserve required behavior and content while correcting information, interaction, and visual structure.
- **Asset:** design a repository, brand, campaign, product-proof, or motion deliverable from verified product facts and reproducible source.

## Capability Routing

Load only the modules needed for the current stage.

| Need | Module |
|---|---|
| Artifact ownership, HTML/PPT boundary, hybrid handoff | `references/capabilities/delivery-routing.md` |
| Existing-system scan, audience, intent, references, direction exploration | `references/capabilities/context-and-direction.md` |
| User flow, content model, hierarchy, page plan, copy and states | `references/capabilities/information-architecture.md` |
| Art direction, typography, color, spacing, grids, imagery, design tokens | `references/capabilities/visual-system.md` |
| Controls, navigation, forms, tables, cards, state matrix, accessibility | `references/capabilities/components-and-interaction.md` |
| Standalone React setup, pinning, offline fallback, JSX and failure diagnosis | `references/capabilities/react-browser-setup.md` |
| App prototypes, dashboards, reports, charts, data and fidelity decisions | `references/capabilities/prototypes-and-data.md` |
| Motion grammar and browser-native slide narratives | `references/capabilities/motion-and-html-presentations.md` |
| Standard single-file HTML slide player, Deck source, PDF export, editable DOM-to-PPTX, and fidelity image-slide PPTX | `references/capabilities/html-first-presentations.md` |
| Covers, banners, posters, infographics, product showcases, brand assets, licensed asset acquisition, and still rendering | `references/capabilities/brand-and-product-assets.md` |
| README and repository branding, developer-product proof, and marketing integration | `references/capabilities/repository-branding-and-marketing.md` |
| SVG, canvas, deterministic animation, poster/GIF/video/alpha outputs, semantic review packages, and render adapters | `references/capabilities/creative-coding-and-motion-media.md` |
| Seek safety, capture-state defects, GSAP adaptation, file delivery, media follow-ups | `references/capabilities/motion-rendering-safety.md` |
| Voiceover, provider-neutral TTS, measured timing, music, effects, ducking, and mixing | `references/capabilities/audio-and-narration.md` |
| Framework fit, responsive implementation, browser testing and critique | `references/capabilities/implementation-and-verification.md` |

Decision rules, output contracts, taste anchors, motion recipes, anti-template checks, and reusable patterns live under `assets/patterns/`. Durable brief, system, prototype, repository-visual, motion-storyboard, QA, and presentation-handoff templates live under `assets/templates/`. Reusable source scaffolds live under `assets/starter/`.

## Canonical Design Loop

### 1. Route The Deliverable

Name the final artifact, runtime, editability requirement, target devices or frame geometry, distribution surface, static fallback, and acceptance method. Do not start HTML when the accepted deliverable is ordinary native PowerPoint. When the user explicitly requires HTML-first PPTX, keep HTML as source of truth and select `editable` or `fidelity` before the first slide is built.

**CHECKPOINT:** lock artifact ownership, geometry, HTML/PPTX editability, and acceptance evidence before implementation when any answer changes the architecture.

### 2. Recover Design Context

Read the existing product, routes, tokens, components, fonts, icons, assets, content, screenshots, tests, and project `DESIGN.md`. For repository branding, read the code-backed product entry point, current version, real commands, capability boundaries, README, and existing media. Inspect the first viewport and representative dense, empty, loading, error, and mobile states. Preserve established interaction behavior unless the request changes it.

### 3. Understand Users And Content

Define the primary user, job, environment, critical action, content priority, trust requirements, and success signal. Build information architecture and a state inventory before styling. For a visual asset, create a claim-to-evidence ledger and identify the one product proof that must remain legible at final display size. Never invent metrics, testimonials, customer names, product behavior, terminal output, or product facts to fill a layout.

### 4. Choose Structure Before Decoration

Use `assets/patterns/decision-rules.json` and the relevant output/taste contract to map content signals to a macrostructure. Select the page, screen, still-frame, or timed-sequence shape and component roles before choosing visual effects. An operational tool should optimize scanning and repeated action; a marketing or repository asset should reveal the actual product and audience immediately; a presentation or demo sequence should carry one argument per frame or scene.

### 5. Establish Direction And System

For a high-impact or visually open task, produce exactly three materially different, real direction previews at the target geometry. Vary composition, type, color behavior, imagery, interaction, or motion and obtain a user decision before full build. Record the selection and rationale. A previously accepted direction, a small correction, or a mechanical export may bypass this gate only when the reason is written into the direction decision record.

**CHECKPOINT:** record the accepted direction or documented exemption before expanding beyond the showcase slice.

Lock semantic tokens for surfaces, text, borders, accents, state, spacing, type, radius, shadow, and motion. Use `oklch()` when the project supports it, with fallbacks when compatibility requires them. Color and typography must support hierarchy, not replace it.

### 6. Build A Real Slice

Implement the primary workflow or product story end to end with real or structurally honest content. Reuse the local framework and components. Build feature-complete controls and their default, hover, focus-visible, active, disabled, loading, empty, error, success, and selected states as applicable. For still or motion assets, preserve editable HTML/CSS/JS source and expose a deterministic time setter before rendering.

For a browser presentation, use a complete player rather than disconnected HTML frames. A single-file deck must support arrow, Page, and Space navigation; wheel and touch; `Escape` or `O` overview cards; `F` full screen; progress; URL hash; persisted position; and print behavior. Use `assets/starter/deck-stage.js` for up to ten tightly coupled slides, or preserve an existing equivalent player when it passes the same contract. Single-file interactive decks export to fidelity PPTX through `scripts/export-html-stage-pptx.mjs`; editable PPTX requires independent slide HTML and `scripts/export-html-deck-pptx.mjs`.

### 7. Expand Deliberately

Add secondary paths, responsive transformations, data states, and motion only after the primary slice works. For design exploration, provide side-by-side variants or no more than six meaningful live tweaks with persisted state. For app prototypes, use the target device frame and run the connected click path. Keep content density appropriate to the task. Use visual assets that reveal the real product, object, place, data, or state when inspection matters.

### 8. Verify In A Browser

Run functional checks and inspect screenshots at the actual target sizes. For responsive web work, include 320, 375, 414, 768, and a representative desktop width unless the product contract specifies different devices. For fixed media, inspect the exact output geometry plus a downscaled distribution preview. Check console and network errors, keyboard flow, focus, contrast, overflow, text fit, touch targets, reduced motion, loading stability, image/font completion, nonblank canvas pixels, poster fallback, GIF loop, frame continuity, duration, codec, audio loudness, and file size as applicable. For PPTX, verify page count, geometry, openability, notes, and the promised editability mode.

### 9. Critique And Refine

Score concept fit, hierarchy, craft, functionality, specificity, restraint, responsiveness, and accessibility. Fix the highest-impact structural problem before polishing details. Compare the final result with the brief and existing system, not with the agent’s own intent.

### 10. Deliver Evidence

Report the user flow or story, selected direction, changed files, target viewports or media geometry, interactions exercised, screenshots or tests, accessibility result, media validation, known tradeoffs, source path, and final artifact path. For a hybrid presentation, emit `assets/templates/ppt-handoff.md` and route native production to the PPT owner.

**CHECKPOINT:** Before declaring a browser-native artifact complete, reconcile the accepted deliverable route, real content and claims, target geometry, representative functional path, visual evidence, accessibility findings, fallback behavior, and every derivative marked `NOT_RUN`.

## Weak-Model Decision Discipline

When judgment is limited, follow these rules in order:

1. Preserve the existing design system and real content.
2. Choose a known macrostructure from the pattern library based on content signals.
3. Use one display face, one body face, and optional mono only when data or code needs it.
4. Use semantic tokens; do not improvise colors, spacing, shadows, or radii component by component.
5. Prefer one strong visual idea and one accent behavior over many decorations.
6. Implement the complete primary workflow and state matrix before adding novelty.
7. For motion, storyboard first, use deterministic time, and require a static poster fallback.
8. Run the quality checklist and browser evidence loop; do not claim visual quality from code inspection.

If context is constrained, load in this order: delivery route, context and content, chosen pattern, visual system, relevant component module, verification. Never drop artifact routing, content truth, accessibility, responsive behavior, or final verification.

## Failure Handling

| Trigger | First response | Fallback |
|---|---|---|
| Final presentation format or editability is ambiguous | Ask one concise ownership question and stop production | Deliver a route recommendation and comparison without creating slides |
| Browser, media encoder, or export dependency is unavailable | Finish and verify the browser source at the highest available level | Provide the exact missing derivative command and mark PDF/PPTX/GIF/video `NOT_RUN` |
| `file://` blocks local scripts, fonts, or modules | Serve the artifact from a loopback-only local static server | Inline permitted local assets or report the blocked dependency without hiding the failure |
| Existing HTML cannot satisfy editable PPTX constraints | Stop lossy conversion and expose incompatible elements | Select fidelity PPTX with explicit approval or rebuild independent slides for native objects |
| Browser console, network, font, image, canvas, or frame checks fail | Fix the first structural cause and rerun the same evidence | Deliver verified source plus a blocked derivative report; do not ship partial media |
| Motion, canvas, WebGL, audio, or interaction is unsupported | Preserve semantic content, stable geometry, controls, and reduced-motion behavior | Produce a static poster or non-interactive fallback and disclose the removed behavior |
| Product evidence or licensed assets are unavailable | Use a labeled structural placeholder and keep the claim ledger honest | Pause public-facing rendering when the missing proof would make the artifact misleading |

## Runtime Degradation Ladder

Degrade tooling, never truth or acceptance:

1. **Full production runtime:** browser automation, screenshots, ffmpeg, package exporters, and deterministic verification are available. Produce and verify the complete artifact.
2. **Browser without media/export tools:** finish and verify the HTML source plus static captures; report the exact missing derivative command instead of fabricating GIF, video, PDF, or PPTX evidence.
3. **Static HTML runtime:** preserve semantic layout, target geometry, content, tokens, and reduced-motion fallback; defer interaction or encoding with an explicit handoff.
4. **No browser runtime:** produce the brief, information architecture, three real source previews when rendering is still possible, pattern selection, and acceptance plan. Do not claim visual QA from code reading.
5. **Context-constrained model:** load only the route, accepted facts, chosen output contract, one relevant pattern, and verification checklist. Reuse starters and templates; do not invent a design system from memory.

At every level, retain source truth, artifact ownership, accessibility, factual claims, and honest disclosure of unverified output.

## Brand DESIGN.md Routing

Built-in brand references live at:

- `references/brand-design-md/brands.json`
- `references/brand-design-md/design-md/*.DESIGN.md`

Match a named brand against the index and read the selected file before designing. Treat it as alignment input, not permission to copy identity into unrelated user-facing content or overwrite a working product system. If no built-in reference exists, derive a compact brand brief from official user-provided or verified assets, then record tokens and usage constraints in the project design system template.

When blending directions, name which decision comes from which direction and prevent conflicting type, spacing, icon, or motion systems. Accessibility and product usability outrank mimicry.

## Non-Negotiable Quality Rules

- Do not substitute a landing page for an app, tool, dashboard, or prototype.
- Do not default to a centered full-viewport hero, three identical feature cards, nested cards, gradient headline, purple-blue glow, decorative orbs, generic browser chrome, or filler copy.
- Do not make every section share the same alignment, spacing, surface, and visual weight.
- Do not use cards where a table, list, timeline, chart, comparison, or unframed section communicates better.
- Do not invent product evidence or hide missing content behind polish.
- Do not treat “make a cover” as an image-generation prompt. Understand the product, audience, proof, distribution surface, and fallback before creating media.
- Do not use hover-only affordances, `transition: all`, autoplay sound, unpausable motion, or animation that shifts layout.
- Do not render MP4 or GIF from wall-clock animation, omit required fallback, or accept black, duplicated, clipped, stalled, or unreadable frames.
- Do not claim an image-backed PPTX is editable. Do not start editable HTML-first PPTX from visually unrestricted HTML and attempt lossy repair after the deck is complete.
- Do not autoplay sound in browser artifacts. Narrated deliveries require explicit cues, licensed sources, transcript or captions, and a verified mixed output.
- Do not allow clickable labels, controls, metrics, or headings to overflow or collide at any target width.
- Do not create an SVG illustration when a real or generated bitmap, actual product view, chart, or code-native visual better communicates the subject.
- Do not add a new component library or visual framework unless the accepted design and repository justify it.

## Runtime Assistance

From the installed skill directory:

```bash
node scripts/design-router.mjs --task dashboard --deliverable html --signals trends,comparison --format json
node scripts/design-router.mjs --task html-presentation --deliverable hybrid --platform windows
node scripts/design-router.mjs --task html-presentation --deliverable pptx --pipeline html-first --pptx-mode editable --format json
node scripts/design-router.mjs --task readme-cover --deliverable image --signals developer-tool,terminal --format json
node scripts/design-router.mjs --task infographic --deliverable image --signals comparison,process --format json
node scripts/design-router.mjs --task product-demo --deliverable gif --signals workflow,product-proof
NODE_PATH=<playwright-node-modules> node scripts/render-motion-media.mjs --input <source.html> --output-dir <assets-dir> --name product-loop --formats poster,mp4,gif
WIKIMEDIA_USER_AGENT=<descriptive-id> node scripts/fetch-wikimedia-assets.mjs --query <subject> --output-dir <assets-dir>
NODE_PATH=<playwright-node-modules> node scripts/render-deck-thumbnails.mjs --slides <slides-dir> --output-dir <thumbs-dir>
NODE_PATH=<playwright-and-pptxgenjs-node-modules> node scripts/export-html-stage-pptx.mjs --html <deck.html> --out <deck.pptx> --mode fidelity
node scripts/compile-narration-timeline.mjs --script <script.md> --manifest <narration.json>
node scripts/export-html-deck-pptx.mjs --slides <slides-dir> --out <deck.pptx> --mode editable
node scripts/verify-motion-media.mjs --input <loop.gif> --require-loop --max-mb 2 --json
node scripts/prepare-motion-review.mjs --input <video.mp4> --output-dir <review-dir> --context <director-notes.md>
node scripts/render-with-adapter.mjs --manifest <render.json> --adapter <project-adapter.mjs> --output-dir <assets-dir>
```

The router returns artifact ownership, operating mode, suggested macrostructures, components, and required quality gates. It is advisory and read-only; repository evidence and accepted user decisions remain authoritative.

Files in this skill

  • SKILL.md21.9 KB
  • assets/patterns/anti-template-rules.json2.7 KB
  • assets/patterns/component-patterns.json6.5 KB
  • assets/patterns/decision-rules.json5 KB
  • assets/patterns/layout-patterns.json9.1 KB
  • assets/patterns/motion-scene-recipes.json1.6 KB
  • assets/patterns/output-contract-patterns.json2.4 KB
  • assets/patterns/quality-checks.json10.5 KB
  • assets/patterns/taste-anchor-patterns.json2.1 KB
  • assets/patterns/visual-direction-patterns.json18.4 KB
  • assets/starter/android-frame.jsx4.4 KB
  • assets/starter/browser-window.jsx3.9 KB
  • assets/starter/deck-index.html20.7 KB
  • assets/starter/deck-stage.js22.6 KB
  • assets/starter/design-comparison.jsx5.1 KB
  • assets/starter/gallery-wall-stage.js1.5 KB
  • assets/starter/gsap-deterministic-stage.js1.8 KB
  • assets/starter/ios-frame.jsx4.6 KB
  • assets/starter/macos-window.jsx2.5 KB
  • assets/starter/motion-stage.js3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.