Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

web-design-skills网页设计技巧

Agent Skill

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

总安装

279

周安装

12

GitHub Stars

公开资料未说明

下载量

98
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tobiaskulvik/web-design-skills --skill web-design-skills

简介

用于网页设计技巧的积累与应用。web-design-skills 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 提供布局、动效和用户体验优化的方法。
  • 适合提升页面的视觉吸引力和可用性。
  • 通过 GitHub 仓库安装,支持 Codex、Claude 等平台。
  • 应用时应避免堆砌装饰元素,注重功能与美感平衡。

SKILL.md

Web Design Skill Pack

A modular library of 14 interconnected skills that help an AI agent build better websites consistently. Each skill focuses on design principles, values, and outcomes — not on any particular CSS framework or toolchain. The guidance works equally well with Tailwind, vanilla CSS, CSS modules, Styled Components, or any other approach.

How to Use This Skill Pack

This is an orchestrator skill. Read the relevant sub-skills based on what you're building:

For any new web project, always start with:

  1. content-structure — Plan the page sections and information flow
  2. layout-and-spacing — Set up the grid, spacing system, and spatial relationships
  3. typography — Choose fonts, define the type scale, set line heights
  4. color-systems — Build the color palette, define tokens for theming
  5. frontend-implementation — Set up design tokens, resets, and base patterns

Then consult based on what you're building:

For marketing sites / landing pages: 6. content-structure already covers site-specific page anatomy (hero, social proof, pricing, etc.) 7. seo — Set up metadata, Open Graph, structured data, sitemaps, and search discoverability

For web apps / dashboards: 6. app-patterns — App shell layouts, sidebar nav, tabs, command palettes, data-heavy components

Always consult as needed: 7. visual-hierarchy — Ensure the right things get attention in the right order 8. responsive-design — Make layouts work across all screen sizes 9. ui-components — Build buttons, cards, navigation, forms, and other shared UI elements 10. interaction-patterns — Design hover states, animations, loading states, and user flows 11. ux-flows — Plan user journeys, conversion paths, onboarding, and trust placement 12. internationalization — Design for multiple languages, RTL scripts, text expansion, and cultural differences 13. accessibility — Ensure WCAG 2.2 AA compliance across the entire interface

Skill Directory

Read each skill's SKILL.md when working on its domain:

SkillPathUse When
Layout & Spacingskills/layout-and-spacing/SKILL.mdBuilding page structure, grids, setting margins/padding/gaps
Typographyskills/typography/SKILL.mdChoosing fonts, sizing text, setting line heights and letter spacing
Color Systemsskills/color-systems/SKILL.mdPicking colors, building palettes, implementing dark/light mode
Responsive Designskills/responsive-design/SKILL.mdMaking layouts work on mobile, tablet, and desktop
UI Componentsskills/ui-components/SKILL.mdBuilding buttons, cards, nav, forms, modals, hero sections
Accessibilityskills/accessibility/SKILL.mdEnsuring keyboard nav, contrast, ARIA, screen reader support
Visual Hierarchyskills/visual-hierarchy/SKILL.mdDeciding what to emphasize, scanning patterns, focal points
Interaction Patternsskills/interaction-patterns/SKILL.mdDesigning animations, hover states, loading, error handling
Content Structureskills/content-structure/SKILL.mdPlanning page sections, information architecture, copy
UX Flowsskills/ux-flows/SKILL.mdUser journeys, conversion, onboarding, checkout, trust signals
SEO & Discoverabilityskills/seo/SKILL.mdMeta tags, Open Graph, structured data, sitemaps, crawling
App Patternsskills/app-patterns/SKILL.mdApp shells, sidebar nav, tabs, command palettes, app-specific components
Internationalizationskills/internationalization/SKILL.mdMulti-language design, RTL, text expansion, cultural considerations
Frontend Implementationskills/frontend-implementation/SKILL.mdDesign tokens, resets, performance, production readiness

Universal Principles

These principles run through every skill in this pack. Keep them in mind at all times:

1. Don't Make Users Think

Every click, scroll, and field should feel effortless. If users pause to figure out your interface, you've already lost them. Simplicity is a skill — it's harder to make something simple than to make something complex.

2. Consistency Beats Perfection

A consistent spacing system with "wrong" values still looks better than random "correct" values. Apply the same tokens, the same patterns, the same conventions everywhere. Consistency builds trust and reduces cognitive load.

3. Hierarchy Is Everything

If everything is emphasized, nothing is. Use size, weight, color, and spacing to create three clear levels of importance: primary (what users see first), secondary (what supports the primary), and tertiary (details for those who want them).

4. Start with More Space, Then Reduce

Generous whitespace is almost always the right move. Cramped designs feel cheap; spacious designs feel premium. Start with too much padding and reduce only if you run out of room.

5. Design is for the User, Not the Designer

Every decision — from font choice to section order — should serve the person using the website. Design for their goals, not for visual novelty or portfolio impressiveness.

6. Accessibility Is Not Optional

Build accessible from the start. Semantic HTML, proper contrast, keyboard navigation, screen reader support. It's easier (and cheaper) to build it right than to retrofit it later.

7. Design for Emotion, Not Just Aesthetics

Before starting any project, write down one core emotion the viewer should feel: calm, urgency, trust, joy, excitement. Then audit every design decision against that emotion. Does the color support it? Does the font reinforce it? Does the animation match? If anything feels neutral or contradictory, rethink it. A beginner says "this looks good" — a pro says "this feels right."

8. Pre-Mortem Before Shipping

Before delivering, ask: "Where could this go wrong?" Will the logo be misread at small sizes? Does the palette work on different backgrounds? Does the type still function on tiny mobile screens? Professionals don't wait for failure — they test for it before launch.

9. Test on Real Devices

What looks great in a browser preview may break on an actual phone. Test at real breakpoints (320px, 768px, 1024px, 1920px), test with a keyboard, test with zoom at 200%.

Quick-Start Design Token Checklist

Before writing any component code, define tokens for these categories (how you store them — CSS custom properties, Tailwind config, theme object — depends on your stack):

  1. Fonts: Display font + body font (2 families max)
  2. Type scale: 5-7 sizes from 0.75rem to 2.5rem
  3. Spacing scale: Base-4 increments from 0.25rem to 6rem
  4. Colors: Background, text (3 levels), accent, border, shadow, semantic (success/error/warning)
  5. Radii: 3-4 sizes from subtle (4px) to pill (9999px)
  6. Transitions: Fast (150ms), base (200ms), slow (300ms)

See skills/frontend-implementation/SKILL.md for the complete token reference tables.

Sources and Influences

This skill pack synthesizes principles from:

  • Professional web design video courses on typography, layout, spacing, color, and responsive design
  • Anthropic's official frontend-design skill for Claude
  • Vercel Labs' web-interface-guidelines
  • WCAG 2.2 Level AA accessibility standards
  • Baymard Institute UX research
  • Gestalt principles of visual perception
  • Industry patterns from top-tier websites (Figma, Webflow, Stripe, Apple)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.39%
按下载量换算35

Claude

31.79%
按下载量换算31

Cursor

17.18%
按下载量换算17

Gemini CLI

9.28%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills