← 返回
开发者工具

Frontend Design

Frontend development with React, Next.js, Tailwind CSS. Build landing pages, dashboards, forms, components. Responsive, accessible, performant UI.
使用React、Next.js和Tailwind CSS进行前端开发,构建响应式、无障碍且高性能的落地页、仪表盘、表单及组件。
ivangdavila
开发者工具 clawhub v1.0.2 1 版本 96425 Key: 无需
★ 23
Stars
📥 11,947
下载
💾 516
安装
1
版本
#latest

概述

When to Use

User needs web UI built. Agent handles landing pages, dashboards, forms, component libraries, and any frontend requiring production polish.

Quick Reference

TopicFile
-------------
Stack & toolingstack.md
Typography rulestypography.md
Color systemscolors.md
Mobile patternsmobile.md
Animationanimation.md
Examplesexamples.md

Core Rules

1. Mobile-First Always

  • Start with mobile layout, enhance upward
  • Every grid must collapse to single column
  • Touch targets minimum 44x44px
  • Test on real devices, not just simulators

2. Typography Matters

  • Avoid generic fonts (Inter, Roboto, Arial)
  • Use dramatic size jumps (2x+), not timid increments
  • Body text 16-18px minimum
  • See typography.md for specific recommendations

3. Color with Purpose

  • 70-20-10 rule: primary, secondary, accent
  • Commit to light OR dark — no muddy mid-grays
  • Never solid white backgrounds — add depth
  • See colors.md for CSS variables and patterns

4. Feedback on Every Interaction

  • Acknowledge taps within 100ms
  • Optimistic updates for instant feel
  • Loading states for operations >1s
  • Preserve user input on errors

5. Accessibility Non-Negotiable

  • Color contrast 4.5:1 (text), 3:1 (UI)
  • Focus states on all interactive elements
  • Semantic HTML (nav, main, section, article)
  • Keyboard navigation works for everything

6. Performance from Start

  • Lazy load below-fold content
  • Image placeholders prevent layout shift
  • Code split heavy components
  • Target LCP <2.5s, CLS <0.1

7. One Memorable Element

  • Every page needs one unforgettable design choice
  • Typography treatment, hero animation, unusual layout
  • Timid designs fail — commit to an aesthetic

Frontend Traps

TrapConsequenceFix
------------------------
Generic fontsLooks like every other siteUse distinctive fonts
Solid white backgroundsFlat, lifelessAdd gradients, grain, depth
Mobile as afterthoughtBroken for 60% of usersMobile-first always
Form error clears inputUser ragePreserve input, highlight error
No loading statesUser thinks brokenShow progress immediately
Timid type scaleNo visual hierarchyUse 2x+ jumps for headlines

Scope

This skill ONLY:

  • Provides frontend patterns and guidelines
  • Recommends stack and tooling choices
  • Guides responsive implementation

This skill NEVER:

  • Makes network requests
  • Accesses user data
  • Stores any information

Security & Privacy

This skill is read-only guidance. No data is collected, sent, or stored.

Feedback

  • If useful: clawhub star frontend
  • Stay updated: clawhub sync

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-28 09:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,823
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,689
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,775