一键导入
design-frontend
ALWAYS invoke this skill when designing or building web components, pages, or dashboards. NEVER design or build web UI without this skill.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ALWAYS invoke this skill when designing or building web components, pages, or dashboards. NEVER design or build web UI without this skill.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | design-frontend |
| description | ALWAYS invoke this skill when designing or building web components, pages, or dashboards. NEVER design or build web UI without this skill. |
<quick_start>
Start with a clear conceptual direction and execute it vigorously. </quick_start>
<design_thinking> Before coding, understand the context and commit to a BOLD aesthetic direction:
CRITICAL: Choose a clear conceptual direction and execute it vigorously. Bold maximalism and refined minimalism both work—the key is intentionality, not intensity.
Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
</design_thinking>
<aesthetics_guidelines> Focus on:
Typography: Typography carries the design's singular voice. Choose fonts with interesting personality. Default fonts signal default thinking: skip Arial, Inter, Roboto, system stacks. Font choices should be inseparable from the aesthetic direction. Display type should be expressive, even risky. Body text should be legible, refined. Pair them like actors in a scene. Work the full typographic range: size, weight, case, spacing to establish hierarchy.
Color & Theme: Commit to a cohesive aesthetic. Palettes should take a clear position: bold and saturated, moody and restrained, or high-contrast and minimal. Lead with a dominant color, punctuate with sharp accents. Avoid timid, non-committal distributions. Use CSS variables for consistency.
Motion: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
Spatial Composition: Unexpected layouts. Asymmetry. Overlap and z-depth. Diagonal flow. Grid-breaking elements. Dramatic scale jumps. Full-bleed moments. Generous negative space OR controlled density.
Backgrounds & Visual Details: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise and grain overlays, geometric patterns, layered transparencies and glassmorphism, dramatic or soft shadows and glows, parallax depth, decorative borders and clip-path shapes, print-inspired textures (halftone, duotone, stipple), knockout typography, and custom cursors.
</aesthetics_guidelines>
<anti_patterns> NEVER use generic AI-generated aesthetics:
INSTEAD: Distinctive fonts. Bold, committed palettes. Layouts that surprise. Bespoke details. Every choice rooted in rich context.
Build creatively on the user's intent, and make unexpected choices that fit the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices across generations. Let the specific context drive choices, NOT familiar defaults. </anti_patterns>
<implementation_guidance> Match implementation complexity to aesthetic vision:
Excellence comes from executing the vision well.
Remember: Claude is capable of extraordinary, award-worthy creative work. Don't hold back, show what's truly possible, and commit relentlessly to a distinctive and unforgettable vision. </implementation_guidance>
<success_criteria> A successful frontend design:
</success_criteria>
Subagent-configuration audit methodology preloaded by the subagent-auditor agent. Dispatch subagent-auditor to audit subagent configuration files; the main conversation reaches this audit only through that agent.
ALWAYS invoke this skill when creating, editing, or configuring subagents. NEVER create subagents without this skill.
Skill authoring standards enforced across all creating and auditing skills. Loaded by other skills, not invoked directly.
Agent prompt writing conventions enforced across all creator and auditor skills. Loaded by other skills, not invoked directly.
SKILL.md audit methodology preloaded by the skill-auditor agent. Dispatch skill-auditor to audit SKILL.md files; the main conversation reaches this audit only through that agent.
ALWAYS invoke this skill when creating, editing, or improving SKILL.md files.