web-design

GitHub

用于处理Web和UI设计需求,生成包含视觉规范、组件样式及响应式策略的DESIGN.md文档。支持从需求澄清到设计规划的全流程,确保设计一致性与可访问性,为前端开发提供结构化依据。

skills/web-design/SKILL.md jjongguet/oh-my-product

Trigger Scenarios

用户请求Web或UI设计工作 需要创建或更新DESIGN.md文件 生成设计简报或线框图规范

Install

npx skills add jjongguet/oh-my-product --skill web-design -g -y
More Options

Use without installing

npx skills use jjongguet/oh-my-product@web-design

指定 Agent (Claude Code)

npx skills add jjongguet/oh-my-product --skill web-design -a claude-code -g -y

安装 repo 全部 skill

npx skills add jjongguet/oh-my-product --all -g -y

预览 repo 内 skill

npx skills add jjongguet/oh-my-product --list

SKILL.md

Frontmatter
{
    "name": "web-design",
    "aliases": [
        "\/design",
        "design brief",
        "web design",
        "UI design",
        "create design"
    ],
    "description": "Activate when the user requests web\/UI design work, design briefs, wireframe specs, or wants to create\/update a DESIGN.md file. Produces structured design artifacts following the DESIGN.md pattern.",
    "primaryRole": "designer"
}

Web Design Skill (oh-my-product)

Use this skill when a user requests web design, UI design, or project design work. Follows the DESIGN.md artifact pattern from the Gemini CLI ecosystem.

Core Artifact Pattern

This skill produces and maintains three linked documents:

  1. DESIGN.md — Living design specification (9 sections)
  2. IMPLEMENTATION.md — 3-5 phase execution plan
  3. MODIFICATION_PLAN.md — Change tracking for existing designs

DESIGN.md Template (9 Required Sections)

When creating a new DESIGN.md, include ALL of the following:

1. Visual Theme & Atmosphere

  • Site density, mood, design philosophy
  • Overall aesthetic direction

2. Color Palette & Roles

  • Semantic color names with hex codes
  • Functional roles: background, text, border, accent, error, success
  • CSS variable or Tailwind class mappings

3. Typography Rules

  • Font families, size scale, weight hierarchy
  • Line-height and letter-spacing standards

4. Component Stylings

  • Button, card, input, navigation, modal patterns
  • State definitions: hover, active, disabled, focus, loading, error

5. Layout Principles

  • Grid system, spacing scale, whitespace philosophy
  • Container widths and breakpoint strategy

6. Depth & Elevation

  • Shadow system, z-index layers, surface hierarchy

7. Do's and Don'ts

  • Design guardrails and anti-patterns to avoid

8. Responsive Behavior

  • Breakpoints, touch targets, component collapse strategy
  • Mobile-first vs desktop-first approach

9. Agent Prompt Guide

  • Quick reference for AI agents to apply the design system consistently

Workflow

  1. Clarify — Gather requirements: target users, brand tone, platform targets
  2. Design — Create DESIGN.md with all 9 sections
  3. Plan — Generate IMPLEMENTATION.md with 3-5 execution phases
  4. Review — Validate against accessibility (WCAG), responsiveness, brand consistency
  5. Iterate — Update via MODIFICATION_PLAN.md for changes

Rules

  • ALWAYS create DESIGN.md before writing any UI code
  • DESIGN.md is the single source of truth for visual decisions
  • Every component must reference DESIGN.md tokens (no hardcoded values)
  • Validate accessibility: ARIA labels, keyboard nav, color contrast (4.5:1 minimum)
  • Test responsive behavior at mobile (375px), tablet (768px), desktop (1280px)

Output Format

Return structured markdown artifacts. For new projects:

  1. DESIGN.md (full 9-section spec)
  2. IMPLEMENTATION.md (phased execution plan)

For modifications:

  1. MODIFICATION_PLAN.md (change scope + impact analysis)
  2. Updated DESIGN.md sections

Version History

  • 4f49e99 Current 2026-07-25 06:34

Same Skill Collection

skills/ask/SKILL.md
skills/autopilot/SKILL.md
skills/cancel/SKILL.md
skills/configure-notifications/SKILL.md
skills/context-optimize/SKILL.md
skills/cost/SKILL.md
skills/debug/SKILL.md
skills/deep-interview/SKILL.md
skills/design-system/SKILL.md
skills/doctor/SKILL.md
skills/execute/SKILL.md
skills/handoff/SKILL.md
skills/help/SKILL.md
skills/hud-setup/SKILL.md
skills/learn/SKILL.md
skills/plan/SKILL.md
skills/prd/SKILL.md
skills/ralplan/SKILL.md
skills/review/SKILL.md
skills/sessions/SKILL.md
skills/status/SKILL.md
skills/team/SKILL.md
skills/ux-critique/SKILL.md
skills/verify/SKILL.md
skills/wait/SKILL.md
src/skills/cancel/SKILL.md
src/skills/configure-notifications/SKILL.md
src/skills/debug/SKILL.md
src/skills/deep-interview/SKILL.md
src/skills/execute/SKILL.md
src/skills/handoff/SKILL.md
src/skills/help/SKILL.md
src/skills/review/SKILL.md
src/skills/verify/SKILL.md
src/skills/status/SKILL.md

Metadata

Files
0
Version
4f49e99
Hash
c30a7f5e
Indexed
2026-07-25 06:34

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 10:14
浙ICP备14020137号-1 $Гость$