content/skills/visual-media-design/design-artifact/SKILL.md
Create HTML-first design artifacts. Use this skill whenever the user wants a browser-openable product prototype, clickable flow demo, landing or storytelling page, HTML slide deck or storyboard, motion concept, or a few design directions in one artifact, even if they never say 'HTML'. Prefer this skill for net-new design exploration and standalone front-end artifacts. Do not use it for brand-style transfer, pure retheming, architecture diagrams, poster or card outputs, or raster image generation.
npx skillsauth add bahayonghang/my-claude-code-settings design-artifactInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to turn a brief, flow, screenshot, or code context into a browser-openable HTML design artifact.
This is the HTML-first design control surface for standalone artifacts. It covers product prototypes, launch or narrative pages, HTML decks or storyboards, motion demos, and multi-direction explorations. It should stay focused on artifact creation rather than brand transfer or media generation.
Use this skill for:
Do not use this skill for:
brand-design-mdtheme-factorycardgemini-imageStart by reading references/artifact-modes.md and selecting one primary mode.
| Request shape | Primary mode | Load next | Optional template |
| --- | --- | --- | --- |
| App surface, flow, workspace, onboarding | Product Prototype | workflow.md, anti-slop.md | browser_window.jsx, ios_frame.jsx |
| Launch page, narrative page, feature story | Landing or Narrative Page | workflow.md, anti-slop.md | browser_window.jsx |
| Slides, storyboard, talk flow, sequence | HTML Deck or Storyboard | workflow.md, verification.md | deck_stage.js |
| Motion study, animated concept, timed reveal | Motion Demo | workflow.md, verification.md | animations.jsx |
| Compare directions in one artifact | Comparative Exploration | workflow.md, anti-slop.md | design_canvas.jsx |
Read references/starter-components.md only when one of the shipped templates materially reduces work or improves quality. Read references/verification.md before delivery.
{descriptive-slug}.html in the working directoryreferences/verification.md.If the user references an existing app or codebase:
Do not silently convert "explore this feature" into production React or Vue edits.
Always return:
Do not paste full HTML into chat unless the user explicitly asks for inline code.
brand-design-md.theme-factory.development
Implement safe, behavior-preserving code refactors after inspecting the existing project. Use when the user asks to refactor code, split large files or modules, extract functions or methods, reduce duplicated logic, rename confusing classes/functions/variables, improve code comments, remove unused or dead code, or says 重构代码, 拆分模块, 提取方法, 减少重复代码, 优化命名, 优化注释, 删除未调用代码. For broad refactor requests, plan safe slices and wait for approval; for narrow scoped requests, directly implement the smallest verifiable slice.
development
Use only when the user explicitly asks for swarm, subagents, parallel agents, dynamic workflow, multi-agent orchestration, 多智能体编排, or when the task truly needs coordinated research plus implementation plus review plus verification packets. Do not use for ordinary code review, planning-only work, single-line bugfixes, routine audits, or migrations unless orchestration is requested or at least two independent workflow dimensions are present.
development
Run a code quality review focused on maintainability, structure, abstraction quality, file growth, branching complexity, boundary cleanliness, and refactoring opportunities. Use when the user asks for code quality review, code review, maintainability review, architecture quality review, PR code quality feedback, 代码质量审查, 代码质量 review, 可维护性审查, 架构质量审查, or review comments about code structure. Do not use for pure security review, formatting-only review, performance profiling, or implementation tasks unless the user also asks for a code quality review.
development
Plan-first brainstorming workflow that turns an idea into an approved Markdown implementation plan by default. Use when the user wants to brainstorm, design, scope, or plan a feature/spec before implementation. Spark explores project context, asks only blocking questions, writes the plan under the project root's .plannings/YYYY-MM-DD-feature-slug.md path, self-reviews it, and waits for user approval. Create an HTML or visual plan/spec only when the user explicitly asks for HTML, browser-viewable, or visual output; save the paired .html beside the Markdown plan.