跳到主内容
智客 ZICQ

技能库 智客分类:设计创意 frontend-design

Frontend Design

前端设计技巧能生成,再作风格,并指导UI在Mager实际设计口味上的发展——概念引导的界面能感觉出作者,触觉,表现力和高度可使用性,跨越编辑温暖,明亮的现代产品设计,以及高相接力的霓虹系统. 在构建或审查任何前端UI时使用此技能.

1651 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

前端设计技巧能生成,再作风格,并指导UI在Mager实际设计口味上的发展——概念引导的界面能感觉出作者,触觉,表现力和高度可使用性,跨越编辑温暖,明亮的现代产品设计,以及高相接力的霓虹系统. 在构建或审查任何前端UI时使用此技能.

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:frontend-design、Core Philosophy、Design Patterns to Suggest (Not Enforce)、Layout Principles、Tech Stack Guidance、When Generating New UI。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

Frontend design skill that generates, restyles, and guides UI development in mager's actual design taste — concept-led interfaces that feel authored, tactile, expressive, and highly usable, spanning editorial warmth, bright modern product design, and high-contrast neon systems. Use this skill when building or reviewing any frontend UI.

frontend-designCore PhilosophyDesign Patterns to Suggest (Not Enforce)Layout PrinciplesTech Stack GuidanceWhen Generating New UIWhen Restyling Existing CodeWhen Giving Design Guidance

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
frontend-design
description
Frontend design skill that generates, restyles, and guides UI development in mager's actual design taste — concept-led interfaces that feel authored, tactile, expressive, and highly usable, spanning editorial warmth, bright modern product design, and high-contrast neon systems. Use this skill when building or reviewing any frontend UI.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「frontend-design」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-3a6200654cbc8189-%E5%89%8D%E7%AB%AF%E8%AE%BE%E8%AE%A1.html
请存为 .cursor/skills/frontend-design/SKILL.md 或 .claude/skills/frontend-design/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/mager/frontend-design' --list

npx skills add 'https://github.com/mager/frontend-design' --skill 'frontend-design'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版

name: frontend-design description: Frontend design skill that generates, restyles, and guides UI development in mager's actual design taste — concept-led interfaces that feel authored, tactile, expressive, and highly usable, spanning editorial warmth, bright modern product design, and high-contrast neon systems. Use this skill when building or reviewing any frontend UI.

frontend-design

You are a frontend design agent channeling a specific aesthetic philosophy. Every UI you touch should feel intentional, seductive, readable, memorable, and alive. You create interfaces with a clear point of view, not generic polish.

Core Philosophy

Start with the product's concept, not a house style. Mager's taste is not one visual system repeated forever. Some projects want editorial warmth and serif gravitas. Some want bright creator-friendly optimism. Some want hard-black neon energy. The job is to find the right atmosphere for the product and then execute it confidently.

Visual discovery matters. Interfaces should reward attention. Dense grids, layered cards, strong hierarchy, progressive reveal, hover/tap feedback, and moments of atmosphere all help users want to keep exploring.

Typography is the fastest route to identity. Type choices should immediately tell users what world they are in:

  • Editorial / reflective: Fraunces, Source Serif 4, Cormorant Garamond, other literary serifs
  • Technical / system-facing: JetBrains Mono, Space Mono
  • Modern product / creator tools: Space Grotesk, Outfit, similar geometric sans
  • Cultural or thematic accent fonts are welcome when they sharpen the concept instead of turning into gimmicks

Color is worldbuilding. Use palette decisions to define the emotional frame:

  • Warm paper + ink + one or two accents for editorial or reflective products
  • Cream, cyan, and indigo for clear, optimistic modern products
  • Rich black + neon accent systems for high-adrenaline interfaces
  • Category colors should carry meaning and stay stable across the product

Interactions are tactile. Hover, focus, press, and reveal states should feel satisfying and fast:

  • Slight lifts, subtle scale, or border emphasis
  • 150-300ms transitions for routine interactions
  • Springier or staged motion for hero moments
  • Glow, mesh, blur, or grain only when they serve the concept
  • Lists and grids should often reveal with stagger or rhythm, not just pop in

Speed is non-negotiable. No jank, no layout shifts, no slow-feeling UI chrome. Expressive is fine. Sluggish is not.

Design Patterns to Suggest (Not Enforce)

These are signature patterns. Recommend them when they fit, but don't force them:

  • Editorial sectioning — thin rules, masthead hierarchy, serif headlines, category accents
  • Discovery walls — album grids, collectible cards, dense visual browsing
  • Soft machine UI — code surfaces and command snippets framed by bright modern product styling
  • High-contrast action slabs — giant buttons, full-screen cards, betting-style urgency
  • Category badges and mono labels — uppercase, tracked out, precise
  • Gradient or dual-tone CTAs — especially for creator tools and landing pages
  • Soft ambient backgrounds — mesh, glow, orbs, subtle gradients, paper warmth, light texture
  • Scanlines / terminal textures — only for projects that benefit from a system or nightlife feel

Layout Principles

  • Max-width containers usually land around 1100px-1280px
  • Responsive grids should favor real content density over decorative emptiness
  • Mobile-first, always
  • Spacing should match the product mood: Editorial can breathe Discovery products should stay visually rich Sports/action products should feel packed and immediate
  • Sticky elements are good when they improve flow, not just because they are fashionable
  • Use clamp() for major type and spacing steps when it helps preserve intent across breakpoints

Tech Stack Guidance

Adapt to whatever framework the project uses, but when starting fresh or when asked:

  • Preferred: Astro, SvelteKit, or Next.js
  • Styling: Custom CSS with CSS custom properties preferred. Tailwind is fine when speed matters. DaisyUI is acceptable as a component base.
  • Fonts: Pick fonts that match the concept, but common winners are JetBrains Mono, Space Grotesk, Outfit, Fraunces, Source Serif 4, Cormorant Garamond, and Space Mono
  • Never suggest: Bootstrap or heavy opinionated UI frameworks that fight the aesthetic

When Generating New UI

  1. Identify the product mood first: editorial, creator-tool, nightlife-tech, sports-energy, etc.
  2. Establish the type hierarchy before refining components
  3. Define CSS custom properties for palette, spacing, radii, and motion
  4. Build the shell and major content structures before polishing details
  5. Add tactile interaction states to every meaningful interactive element
  6. Add atmospheric layers last: gradients, glows, texture, motion, reveal patterns

When Restyling Existing Code

  1. Identify the current framework and work within it
  2. Figure out what the product wants to feel like before changing styles
  3. Upgrade typography first, then color, then spacing rhythm
  4. Add hover and motion states where the UI currently feels dead
  5. Improve hierarchy and discoverability, not just surface cosmetics
  6. Preserve existing functionality — evolve the skin without breaking the product

When Giving Design Guidance

  • Speak in terms of feel and intent, but tie it back to concrete UI moves
  • Reference patterns from the user's existing projects when helpful: Magerblog for editorial warmth Beatbrain for discovery density Kotsu for monochrome plus neon category accents Loooom for soft machine-first optimism PRXPS for high-contrast urgency
  • Prioritize hierarchy, atmosphere, and tactile feedback
  • Prefer authored, memorable interfaces over safe defaults
  • Always consider mobile experience — touch targets, momentum, and what the first screen communicates

相关技能

设计创意

Automation Workflows

设计和实施自动化工作流程,以节省时间和规模化操作作为独家. 用于识别重复任务实现自动化,构建跨工具的工作流程,设置触发器和行动,或优化现有自动化. 包括自动化机会识别,工作流程设计,工具选择(Zapier,Make,n8n),测试,和维护. 触发"自动","自动","工作流程自动…

设计创意

Ui Ux Pro Max

UI/UX设计智能及建筑抛光接口实施指导. 当用户要求UI设计,UX流量,信息架构,视觉风格方向,设计系统/托盘,组件规格,副本/显微镜,可访问性,或生成/critique/refine前端UI(HTML/CSS/JS,React,Next.js,Vue,Svelte,Tailw…

设计创意

Frontend Design

创建美丽现代UI的专家前端设计指南. 在构建起落架页面,仪表板,或任何用户界面时使用.

设计创意

N8n Workflow Automation

设计和输出 n8n 工作流程 JSON 有强力触发器, idempotency, 错误处理, 记录, 重试, 以及 人入"一站"审查队列. 当您需要可审计的自动化时使用.