Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计通过

frontend-design前端设计

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

275

周安装

11

GitHub Stars

公开资料未说明

下载量

89
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:frontend-design(前端设计)
来源仓库:https://github.com/nielsmadan/agentic-coding
仓库路径:skills/frontend-design
安装命令:
npx skills add https://github.com/nielsmadan/agentic-coding --skill frontend-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nielsmadan/agentic-coding --skill frontend-design

简介

用于辅助前端页面、组件和样式开发与维护。

  • 适合生成或审查 React、Vue、Tailwind CSS 等相关代码。
  • 使用时需结合项目现有设计系统和路由方式。
  • 涉及页面改动时,应配合本地预览和构建检查确认视觉效果。
  • frontend-design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Frontend Design

Build distinctive, production-grade frontend interfaces that avoid generic AI aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.

Gotchas

  • Adding import {motion} from 'motion/react' without checking the dependency is installed will break the build. Verify the package exists in package.json before using it.
  • Google Fonts CDN calls create third-party network requests that may be blocked by enterprise CSP policies or raise GDPR concerns. Always include local font fallbacks.

Instructions

Step 1: Understand Requirements

Extract from the user's request:

  • What to build: Component, page, full application, or beautification of existing UI
  • Framework: HTML/CSS/JS, React, Vue, etc. — infer from the project if not stated
  • Purpose: What problem does this interface solve? Who uses it?
  • Constraints: Accessibility, performance, branding, or technical requirements

If beautifying existing code, read it first to understand the current structure and framework.

Step 2: Choose an Aesthetic Direction

Commit to a BOLD direction before writing any code. Pick a tone — not a safe middle ground:

Brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, or something entirely original.

For each direction, answer:

  • What makes this UNFORGETTABLE? What's the one thing someone will remember?
  • Does the complexity of the implementation match the aesthetic vision? (Maximalist needs elaborate code; minimalist needs precision and restraint.)

CRITICAL: Bold maximalism and refined minimalism both work — the key is intentionality, not intensity.

Step 3: Design the Visual System

Apply these guidelines to build a cohesive design system:

  • Typography: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt for distinctive, characterful choices. Pair a distinctive display font with a refined body font.
  • Color & Theme: Commit to a cohesive palette. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
  • 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. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
  • Backgrounds & Visual Details: Create atmosphere and depth rather than defaulting to solid colors. Use gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays as appropriate.

Step 4: Implement

Write production-grade, functional code following the visual system:

  • Use CSS variables for color, spacing, and typography consistency
  • Load fonts from Google Fonts or CDN with font-display: swap and appropriate fallbacks
  • Prioritize CSS-only animations for HTML; use Motion library for React when available
  • Ensure the interface is responsive and functional, not just decorative

Step 5: Refine

Review against the anti-patterns list. The design MUST NOT have:

  • Overused font families (Inter, Roboto, Arial, system fonts)
  • Clichéd color schemes (particularly purple gradients on white backgrounds)
  • Predictable layouts and component patterns
  • Cookie-cutter design that lacks context-specific character

Verify every design choice is intentional for this specific context. No two designs should look the same — vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.

Examples

Example 1: Landing page

User says: "Build a landing page for a coffee roaster" Actions:

  1. Choose warm editorial aesthetic with organic/natural tone
  2. Pick a serif display font (e.g., Playfair Display) paired with a clean sans-serif body
  3. Earth-tone palette with a burnt orange accent, CSS variables for consistency
  4. Full-bleed hero image, parallax scroll, staggered text reveals on load Result: Single HTML file with embedded CSS, Google Fonts link, scroll-triggered animations

Example 2: Dashboard component

User says: "Create a React analytics dashboard" Actions:

  1. Choose industrial/utilitarian aesthetic with dark theme
  2. Monospace display font (e.g., JetBrains Mono), dense data layout
  3. Crisp grid, high-contrast data visualization colors, subtle hover states
  4. Motion library for panel transitions, minimal decoration Result: React component with CSS modules, recharts integration, motion transitions

Example 3: Beautify existing UI

User says: "Make this form look better" (with existing code in conversation) Actions:

  1. Read existing code to understand current structure and framework
  2. Identify current aesthetic direction, elevate rather than replace
  3. Improve typography (better font pairing, refined sizing/spacing)
  4. Add micro-interactions (focus states, validation feedback, submit animation)
  5. Keep existing framework and component structure intact Result: Edited files with improved visual design, no structural changes

Troubleshooting

Design feels generic despite following guidelines

Solution: Be more extreme in your aesthetic commitment. Pick a bolder font pairing, push the color contrast further, or add an unexpected layout element. Generic results come from playing it safe — commit fully to a direction.

Google Fonts CDN not loading

Solution: Add fallback font-family values in every declaration. Use font-display: swap to prevent invisible text during load. If offline, use system fonts that match the aesthetic intent (e.g., Georgia for serif, Menlo for monospace).

Animations cause layout shift or jank

Solution: Only animate transform and opacity (GPU-composited properties). Use will-change sparingly on elements that will animate. Test with browser DevTools Performance tab to verify 60fps.

Notes

  • Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist designs need restraint, precision, and careful attention to spacing, typography, and subtle details.
  • Claude is capable of extraordinary creative work. Don't hold back — show what can truly be created when thinking outside the box and committing fully to a distinctive vision.

适合场景

01

前端页面设计

02

生成更有辨识度的 UI

03

避免模板化 AI 页面

04

需要统一视觉方向时

能力概览

能力 1

建立明确视觉方向

能力 2

约束排版、色彩、动效和空间布局

能力 3

提醒避免通用模板化设计

能力 4

要求生成可运行的前端实现

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.12%
按下载量换算34

Claude

29.28%
按下载量换算26

Cursor

19.13%
按下载量换算17

Gemini CLI

9.82%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills