Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

front-end-design前端设计

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

16,451

周安装

672

GitHub Stars

3

下载量

5,322
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install front-end-design

简介

front-end-design 使用 React、Tailwind CSS 和 shadcn/ui 创建生产级静态网站。

  • 适合在 OpenClaw 中快速搭建 Landing Page、仪表板或组件原型。
  • 从基础设计出发生成高保真界面,强调视觉一致性与交互体验。
  • 修改页面时建议配合本地预览,检查文本溢出与响应式表现。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
frontend-design-ultimate
description
Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed. Generates bold, memorable designs from plain text requirements with anti-AI-slop aesthetics, mobile-first responsive patterns, and single-file bundling. Use when building landing pages, marketing sites, portfolios, dashboards, or any static web UI. Supports both Vite (pure static) and Next.js (Vercel deploy) workflows.
homepage
https://github.com/kesslerio/frontend-design-ultimate-clawhub-skill
metadata
openclaw
emoji
🎨
requires
bins
["node", "npm"]

Frontend Design Ultimate

Create distinctive, production-grade static sites from text requirements alone. No mockups, no Figma — just describe what you want and get bold, memorable designs.

Stack: React 18 + TypeScript + Tailwind CSS + shadcn/ui + Framer Motion Output: Vite (static HTML) or Next.js (Vercel-ready)

Quick Start

"Build a SaaS landing page for an AI writing tool. Dark theme, 
editorial typography, subtle grain texture. Pages: hero with 
animated demo, features grid, pricing table, FAQ accordion, footer."

Design Thinking (Do This First)

Before writing any code, commit to a BOLD aesthetic direction:

1. Understand Context

  • Purpose: What problem does this interface solve? Who uses it?
  • Audience: Developer tools? Consumer app? Enterprise? Creative agency?
  • Constraints: Performance requirements, accessibility needs, brand guidelines?

2. Choose an Extreme Tone

Pick ONE and commit fully — timid designs fail:

ToneCharacteristics
Brutally MinimalSparse, monochrome, massive typography, raw edges
Maximalist ChaosLayered, dense, overlapping elements, controlled disorder
Retro-FuturisticNeon accents, geometric shapes, CRT aesthetics
Organic/NaturalSoft curves, earth tones, hand-drawn elements
Luxury/RefinedSubtle animations, premium typography, restrained palette
Editorial/MagazineStrong grid, dramatic headlines, whitespace as feature
Brutalist/RawExposed structure, harsh contrasts, anti-design
Art Deco/GeometricGold accents, symmetry, ornate patterns
Soft/PastelRounded corners, gentle gradients, friendly
Industrial/UtilitarianFunctional, monospace, data-dense

3. Define the Unforgettable Element

What's the ONE thing someone will remember? A hero animation? Typography treatment? Color combination? Unusual layout?


Aesthetics Guidelines

Typography — NEVER Generic

BANNED: Inter, Roboto, Arial, system fonts, Open Sans

DO: Distinctive, characterful choices that elevate the design.

Use CaseApproach
Display/HeadlinesBold personality — Clash, Cabinet Grotesk, Satoshi, Space Grotesk (sparingly), Playfair Display
Body TextRefined readability — Instrument Sans, General Sans, Plus Jakarta Sans
Monospace/CodeDM Mono, JetBrains Mono, IBM Plex Mono
Pairing StrategyContrast weights (thin display + bold body), contrast styles (serif + geometric sans)

Size Progression: Use 3x+ jumps, not timid 1.5x increments.

Color & Theme

BANNED: Purple gradients on white, evenly-distributed 5-color palettes

DO:

  • Dominant + Sharp Accent: 70-20-10 rule (primary-secondary-accent)
  • CSS Variables: --primary, --accent, --surface, --text
  • Commit to dark OR light: Don't hedge with gray middle-grounds
  • High contrast CTAs: Buttons should pop dramatically
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --text-primary: #fafafa;
  --text-secondary: #a1a1a1;
  --accent: #ff6b35;
  --accent-hover: #ff8555;
}

Motion & Animation

Priority: One orchestrated page load > scattered micro-interactions

High-Impact Moments:

  • Staggered hero reveals (animation-delay)
  • Scroll-triggered section entrances
  • Hover states that surprise (scale, color shift, shadow depth)
  • Smooth page transitions

Implementation:

  • CSS-only for simple animations
  • Framer Motion for React (pre-installed via init scripts)
  • Keep durations 200-400ms (snappy, not sluggish)

Spatial Composition

BANNED: Centered, symmetrical, predictable layouts

DO:

  • Asymmetry with purpose
  • Overlapping elements
  • Diagonal flow / grid-breaking
  • Generous negative space OR controlled density (pick one)
  • Off-grid hero sections

Backgrounds & Atmosphere

BANNED: Solid white/gray backgrounds

DO:

  • Gradient meshes (subtle, not garish)
  • Noise/grain textures (SVG filter or CSS)
  • Geometric patterns (dots, lines, shapes)
  • Layered transparencies
  • Dramatic shadows for depth
  • Blur effects for glassmorphism
/* Subtle grain overlay */
.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,...") repeat;
  opacity: 0.03;
  pointer-events: none;
}

Mobile-First Patterns

See references/mobile-patterns.md for detailed CSS.

Critical Rules

PatternDesktopMobile Fix
Hero with hidden visual2-column gridSwitch to display: flex (not grid)
Large selection listsHorizontal scrollAccordion with category headers
Multi-column formsSide-by-sideStack vertically
Status/alert cardsInlinealign-items: center + text-align: center
Feature grids3-4 columnsSingle column

Breakpoints

/* Tablet - stack sidebars */
@media (max-width: 1200px) { }

/* Mobile - full single column */
@media (max-width: 768px) { }

/* Small mobile - compact spacing */
@media (max-width: 480px) { }

Font Scaling

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }      /* from ~48px */
  .section-title { font-size: 24px; }   /* from ~32px */
  .section-subtitle { font-size: 14px; } /* from ~16px */
}

Build Workflow

Option A: Vite (Pure Static)

# 1. Initialize
bash scripts/init-vite.sh my-site
cd my-site

# 2. Develop
npm run dev

# 3. Build static files
npm run build
# Output: dist/

# 4. Bundle to single HTML (optional)
bash scripts/bundle-artifact.sh
# Output: bundle.html

Option B: Next.js (Vercel Deploy)

# 1. Initialize
bash scripts/init-nextjs.sh my-site
cd my-site

# 2. Develop
npm run dev

# 3. Deploy to Vercel
vercel

Project Structure

Vite Static

my-site/
├── src/
│   ├── components/     # React components
│   ├── lib/           # Utilities, cn()
│   ├── styles/        # Global CSS
│   ├── config/
│   │   └── site.ts    # Editable content config
│   ├── App.tsx
│   └── main.tsx
├── index.html
├── tailwind.config.ts
└── package.json

Next.js

my-site/
├── app/
│   ├── layout.tsx
│   ├── page.tsx
│   └── privacy/page.tsx
├── components/
├── lib/
├── config/
│   └── site.ts
└── tailwind.config.ts

Site Config Pattern

Keep all editable content in one file:

// config/site.ts
export const siteConfig = {
  name: "Acme AI",
  tagline: "Write better, faster",
  description: "AI-powered writing assistant",
  
  hero: {
    badge: "Now in beta",
    title: "Your words,\
supercharged",
    subtitle: "Write 10x faster with AI that understands your style",
    cta: { text: "Get Started", href: "/signup" },
    secondaryCta: { text: "Watch Demo", href: "#demo" },
  },
  
  features: [
    { icon: "Zap", title: "Lightning Fast", description: "..." },
    // ...
  ],
  
  pricing: [
    { name: "Free", price: 0, features: [...] },
    { name: "Pro", price: 19, features: [...], popular: true },
  ],
  
  faq: [
    { q: "How does it work?", a: "..." },
  ],
  
  footer: {
    links: [...],
    social: [...],
  }
}

Pre-Implementation Checklist

Run this before finalizing any design:

Design Quality

  • [ ] Typography is distinctive (no Inter/Roboto/Arial)
  • [ ] Color palette has clear dominant + accent (not evenly distributed)
  • [ ] Background has atmosphere (not solid white/gray)
  • [ ] At least one memorable/unforgettable element
  • [ ] Animations are orchestrated (not scattered)

Mobile Responsiveness

  • [ ] Hero centers on mobile (no empty grid space)
  • [ ] All grids collapse to single column
  • [ ] Forms stack vertically
  • [ ] Large lists use accordion (not horizontal scroll)
  • [ ] Font sizes scale down appropriately

Form Consistency

  • [ ] Input, select, textarea all styled consistently
  • [ ] Radio/checkbox visible (check transparent-border styles)
  • [ ] Dropdown options have readable backgrounds
  • [ ] Labels use CSS variables (not hardcoded colors)

Accessibility

  • [ ] Color contrast meets WCAG AA (4.5:1 text, 3:1 UI)
  • [ ] Focus states visible
  • [ ] Semantic HTML (nav, main, section, article)
  • [ ] Alt text for images
  • [ ] Keyboard navigation works

shadcn/ui Components

10 common components pre-installed (button, badge, card, accordion, dialog, navigation-menu, tabs, sheet, separator, avatar, alert). Add more with npx shadcn@latest add [name] or install all with npx shadcn@latest add --all.

See references/shadcn-components.md for full component reference.

Most used for landing pages:

  • Button, Badge — CTAs and labels
  • Card — Feature cards, pricing tiers
  • Accordion — FAQ sections
  • Dialog — Modals, video players
  • NavigationMenu — Header nav
  • Tabs — Feature showcases
  • Carousel — Testimonials

References


Examples

Prompt → Output

Input:

"Portfolio site for a photographer. Minimal, editorial feel. Grid gallery with lightbox, about section, contact form."

Design Decisions:

  • Tone: Editorial/Magazine
  • Typography: Cormorant Garamond (display) + Inter... wait, banned. Plus Jakarta Sans (body)
  • Color: Near-black bg (#0c0c0c), warm white text (#f5f5f0), copper accent (#b87333)
  • Unforgettable: Full-bleed hero image with text overlay that reveals on scroll
  • Motion: Gallery images fade in staggered on scroll

Output: Complete Next.js project with responsive gallery, lightbox component, and contact form with validation.


*Based on Anthropic's frontend-design, web-artifacts-builder, and community frontend-design-v2 skills.*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

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

平台分布

OpenClaw

96.02%
按下载量换算5,110

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills