Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计未展示

web-design网页设计

Agent Skill

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

总安装

353

周安装

15

GitHub Stars

公开资料未说明

下载量

124
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add pentaxis93/aiandi --skill "web-design"

简介

发现并安装 AI 代理的技能。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。
  • 通过 npx 命令扩展网页设计与布局优化能力。
  • 安装命令:npx skills add pentaxis93/aiandi --skill "web-design"。
  • 建议结合现有设计系统评估输出一致性。

SKILL.md

name
web-design
description
Create distinctive, production-grade layouts for aiandi.dev. Bold aesthetic vision + semantic token system. Use when designing pages, components, or visual treatments.

Web Design Skill

Purpose: Create distinctive, production-grade interfaces for aiandi.dev that avoid generic "AI slop" aesthetics while leveraging our semantic token architecture.

Related skills: Use design-loop for iterative fine-tuning (or nuclear redesign) with visual verification. Use screenshot for one-off captures.


Part I: Design Vision

Design Thinking

Before touching code, understand context and commit to a BOLD aesthetic direction:

The Questions:

  • Purpose: What problem does this interface solve? Who uses it?
  • Tone: What's the emotional register? (See palette below)
  • Differentiation: What makes this UNFORGETTABLE? What's the one thing someone will remember?
  • Constraints: Accessibility, performance, our token system

⚠️ WARNING: If you're about to make "incremental improvements" to an existing design, STOP. Consider whether this needs a radical departure instead. Safe fine-tuning creates forgettable design when the vision itself is wrong.

Aesthetic Palette (pick one, execute with conviction):

DirectionCharacter
Brutally minimalNothing unnecessary. Every pixel justified.
Editorial/magazineTypographic hierarchy as art. Generous space.
Retro-futuristicYesterday's tomorrow. CRT glow meets clean lines.
Organic/naturalSoft edges. Breathing rhythm. Warmth.
Luxury/refinedRestraint as statement. Precision obsession.
Industrial/utilitarianFunction forward. Honest materials.
Art deco/geometricPattern. Symmetry. Gilded edges.
Brutalist/rawExposed structure. Aggressive honesty.

CRITICAL: Bold maximalism and refined minimalism both work. The key is intentionality, not intensity. Pick a direction and execute it with conviction.


Creative Departure Prompts

When you need to break free from derivative thinking, ask:

Inversion Questions:

  • What if the most important thing was SMALL instead of large?
  • What if we used NO color except one?
  • What if there was NO hero section, just immediate content?
  • What if typography was PLAYFUL instead of serious?

Constraint Forcing:

  • Design with only 2 font sizes
  • Use only vertical or only horizontal rhythm (not both)
  • Make ONE element absurdly oversized
  • Ban all rounded corners OR ban all sharp corners

Medium Shifts:

  • What if this was a printed zine?
  • What if this was a terminal interface?
  • What if this was handwritten notes?
  • What if this was a museum placard?

Unexpected References:

  • Scientific journals (data-dense, precise)
  • Art gallery walls (space, curation, labels)
  • Punk zines (raw, urgent, collage)
  • Old programming books (monospace, diagrams)
  • Brutalist architecture (exposed structure, no decoration)

The test: If your first idea is what everyone else would do, throw it away and force yourself to come up with 3 more alternatives before implementing.


Aesthetic Guidelines

Typography: The Soul of the Design

Choose fonts that have character. The current Workbench theme uses system fonts for speed and clarity, but when evolving the design:

AvoidConsider Instead
Inter, Roboto, ArialFonts with personality for display
Generic sans-serifPair distinctive display + refined body
One font for everythingIntentional contrast between heading/body

Typography creates hierarchy through:

  • Size contrast (dramatic jumps, not timid steps)
  • Weight contrast (light body, bold heads - or vice versa)
  • Tracking (tight headlines, comfortable body)
  • Leading (generous for reading, tight for impact)

Color: Commit to a Position

Dominant colors with sharp accents outperform timid, evenly-distributed palettes.

The current Workbench theme demonstrates this: deep charcoal dominates, amber accent punctuates. The ratio matters more than the hues.

When evolving themes:

  • 60-30-10 rule: dominant, secondary, accent
  • Let backgrounds breathe (most of the canvas)
  • Accents should feel earned, not scattered

Motion: Choreography, Not Chaos

One well-orchestrated moment creates more delight than scattered micro-interactions.

Focus on:

  • Page load: staggered reveals via animation-delay
  • Scroll-triggered moments that reward attention
  • Hover states that surprise without distracting
  • Transitions that feel physical (ease-out for exits, ease-in-out for state changes)

Spatial Composition: Break the Expected

Consider:

  • Asymmetry over centered everything
  • Generous negative space OR controlled density (not medium)
  • Grid-breaking moments for emphasis
  • Overlap and layering for depth
  • Diagonal flow for energy

Atmosphere: Beyond Flat Colors

Create depth through:

  • Subtle gradients (not the cliched purple-to-pink)
  • Noise textures for tactile quality
  • Layered transparencies
  • Dramatic shadows that define space
  • Border treatments that add character

Anti-Patterns: The AI Slop Checklist

NEVER default to:

Generic ChoiceThe Problem
Purple gradients on whiteEvery AI demo ever made
Inter/Roboto/Space GroteskThe "modern" that isn't
Centered everythingSafe is forgettable
Even spacing everywhereNo rhythm, no hierarchy
Rounded corners + soft shadowsThe 2020 SaaS look
Teal + coral accent colorsStartup template vibes

The test: Would this design be immediately recognizable as AI-generated? If yes, start over.


Part II: Technical Execution

Our Design System: Schema vs. Theme

We separate structure (what decisions exist) from values (how they resolve):

LayerContainsLocation
SchemaToken names, semantic purposesdesign-system/tokens.css
ThemeValues assigned to tokensdesign-system/all-themes.css

Never hardcode values. Always use tokens. This enables theme-switching without code changes.


Token Quick Reference

Colors

PurposeTokenTailwind
Page background--color-backgroundbg-background
Cards/elevated--color-surfacebg-surface
Code blocks--color-surface-altbg-surface-alt
Borders--color-borderborder-border
Body text--color-text-primarytext-text-primary
Secondary text--color-text-secondarytext-text-secondary
Muted text--color-text-mutedtext-text-muted
Links/accent--color-accenttext-accent
Accent hover--color-accent-hoverhover:text-accent-hover
Accent subtle--color-accent-subtlebg-accent-subtle

Typography

PurposeTokenTailwind
Body font--font-bodyfont-body
Headings--font-headingfont-heading
Code--font-monofont-mono

Spacing

SizeTokenUsage
xs--space-xsTight gaps, inline
sm--space-smComponent padding
md--space-mdDefault padding
lg--space-lgSection padding
xl--space-xlMajor breaks
2xl--space-2xlHero/dramatic

Container Widths

PurposeTokenValue
Prose--container-prose65ch
Narrow--container-narrow42rem
Normal--container-normal52rem
Wide--container-wide64rem
Full--container-full80rem

Effects

PurposeToken
Subtle shadow--shadow-sm
Standard shadow--shadow-md
Prominent shadow--shadow-lg
Subtle radius--radius-sm
Standard radius--radius-md
Prominent radius--radius-lg
Fast transition--duration-fast
Normal transition--duration-normal
Slow transition--duration-slow
Blur (xs-3xl)--blur-xs through --blur-3xl

Layout Patterns

Page Structure

<body class="min-h-screen flex flex-col bg-background text-text-primary font-body antialiased">
  <Header />
  <main class="flex-1 w-full">
    <!-- Content -->
  </main>
  <Footer />
</body>

Prose Container (Blog Posts)

<div class="max-w-[68ch] mx-auto px-6">
  <div class="prose">
    <slot />
  </div>
</div>

Wide Container (Grids, Cards)

<div class="max-w-6xl mx-auto px-6">
  <!-- Grid layouts -->
</div>

Hero Section

<section class="py-section">
  <h1 class="font-heading text-5xl md:text-6xl leading-tight tracking-tight balance-text">
    Main Heading
    <span class="text-accent">Accent Part</span>
  </h1>
  <p class="text-text-secondary text-lg mt-6">
    Subheading
  </p>
</section>

Card Pattern

<article class="bg-surface border-l-3 border-accent p-lg rounded-md">
  <h3 class="font-heading text-2xl text-accent mb-2">
    <a href={url} class="hover:text-accent-hover transition-colors duration-normal">
      {title}
    </a>
  </h3>
  <p class="text-text-secondary leading-relaxed">{description}</p>
  <time class="font-mono text-xs text-text-muted uppercase tracking-wide">{date}</time>
</article>

Interactive States

Every interactive element needs three states:

.interactive {
  color: var(--color-accent);
  transition: color var(--duration-fast) var(--easing);
}

.interactive:hover {
  color: var(--color-accent-hover);
}

.interactive:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

Responsive Design

Breakpoints

PrefixMin Width
sm:640px
md:768px
lg:1024px
xl:1280px

Mobile-First Pattern

<h1 class="text-3xl md:text-5xl lg:text-6xl">
  Responsive Heading
</h1>

<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
  <!-- Cards -->
</div>

Accessibility Requirements

RequirementStandard
text-primary on background7:1 (WCAG AAA)
text-secondary on background4.5:1 (WCAG AA)
accent on background4.5:1 for text
Focus indicatorsVisible on all interactive elements
Semantic HTMLProper heading hierarchy, landmarks

File Locations

PurposePath
Token definitionsdesign-system/tokens.css
Theme valuesdesign-system/all-themes.css
Schema docsdesign-system/SCHEMA.md
Global stylessrc/styles/global.css
Layoutssrc/layouts/*.astro
Componentssrc/components/*.astro
Design philosophyDESIGN.md

Part III: Process

Creating New Components

  1. Define the vision - What's the aesthetic direction?
  2. Identify tokens - Map design decisions to semantic tokens
  3. Check existing patterns - Reuse before creating
  4. Implement with precision - Execute the vision completely
  5. Include all states - Default, hover, focus, disabled
  6. Verify visually - Use design-loop skill for iterative fine-tuning

Component Template

---
interface Props {
  variant?: 'default' | 'accent';
  class?: string;
}

const { variant = 'default', class: className } = Astro.props;

const variants = {
  default: 'bg-surface text-text-primary border-border',
  accent: 'bg-accent-subtle text-accent border-accent',
};
---

<div class:list={[
  'rounded-md border p-md transition-colors duration-normal',
  variants[variant],
  className
]}>
  <slot />
</div>

The Standard

Match implementation complexity to aesthetic vision:

  • Maximalist designs need elaborate code, extensive animations, rich effects
  • Minimalist designs need restraint, precision, obsessive attention to spacing and typography
  • Elegance comes from executing the vision completely, not from the vision itself

The question to ask: Is this design distinctive? Would someone remember it? Does it have a clear point of view?

Generic is the enemy. Safe is forgettable. Commit to a direction and execute with conviction.


Related Skills

SkillWhen to Use
design-loopIterative fine-tuning or nuclear redesign with visual verification
screenshotOne-off captures for verification or documentation

*Claude is capable of extraordinary creative work. Don't hold back.*

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Gemini CLI

29.69%
按下载量换算37

Antigravity

25.16%
按下载量换算31

windsurf

17.08%
按下载量换算21

zencoder

10.86%
按下载量换算13

crush

6.99%
按下载量换算9

cline

3.6%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add pentaxis93/aiandi --skill "web-design" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills