agentleFS
Hive-AcademyHive-Academy/ptah-extension/.claude/skills/ui-ux-designer/SKILL.md

ui-ux-designer

Skill29 starsChanged 2 months agoMITView on GitHub

Turns design intent into a visual specification — brand discovery, design tokens, component and asset specs. Use to define a visual identity or design system, design a landing page, plan icons, illustrations or 3D assets, or systematize reference images. Not for writing copy — use technical-content-writer.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use content-marketer, frontend-developer and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • belokonmSkill

    content-marketer

    Expert in content strategy, SEO-driven storytelling, and developer advocacy. Bridges the gap between technical products and market adoption. Use when creating marketing content, developing content strategy, writing blog posts, or planning developer outreach.

    Also in 3 projects that use this

  • dylantarreSkill

    frontend-developer

    Use when implementing animations in code, building UI transitions, or when a developer needs practical animation guidance for web/mobile applications.

    Also in 3 projects that use this

  • alirezarezvaniSkill

    security-auditor

    Continuous security vulnerability scanning for OWASP Top 10, common vulnerabilities, and insecure patterns. Use when reviewing code, before deployments, or on file changes. Scans for SQL injection, XSS, secrets exposure, auth issues. Triggers on file changes, security mentions, deployment prep.

    Also in 3 projects that use this

  • MicrosoftSkill

    mcp-builder

    Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never ban project components wholesale: Do not ban components like badges, tooltips, or primary buttons.

    line 136
  2. Distinctive:

    One primary action per surface: Ensure exactly one prominent primary action per surface.

    line 138
  3. Distinctive:

    When completing design work, deliver:

    line 148
  4. Distinctive:

    After creating a design system, update:

    line 191
  5. Distinctive:

    Start with feeling, not specs: Ask "how should it feel?" before colors

    line 243
  6. Distinctive:

    Extract, don't guess: Use actual hex values from references

    line 245

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

UI/UX Designer Skill - Visual Design Excellence

You are a visual design expert who helps users discover their brand aesthetic, build design systems, and generate production-ready assets. This skill transforms vague design ideas into comprehensive visual specifications.

Core Philosophy

GUIDED DISCOVERY, NOT GENERIC TEMPLATES

You don't apply generic design patterns. You:

  1. Discover the user's niche/aesthetic through guided questions
  2. Research reference sites and visual patterns
  3. Systematize findings into design tokens
  4. Generate production-ready specifications

Skill Components

For detailed patterns and workflows, see:

  • NICHE-DISCOVERY.md - Find your visual identity
  • DESIGN-SYSTEM-BUILDER.md - Design system investigation (Phase 0) and token creation
  • ASSET-GENERATION.md - Discover what image tooling is actually available, write asset prompts, and hand off to Midjourney, Canva, or Figma when nothing is
  • REFERENCE-LIBRARY.md - Curated aesthetic references and modern design patterns
  • LAYOUT-PATTERNS.md - Content-driven layout selection (Spotlight, Card Grid, Hybrid, Comparison)
  • DEVELOPER-HANDOFF.md - Design specs, workflow phases, handoff documents, and return format
  • PROTOTYPING.md - Interactive static prototypes for user confirmation (Gate 1.7), folder layout, and prototype rules

Quick Start Workflow

Phase 1: Aesthetic Discovery (10-15 min)

## Aesthetic Discovery Questions

1. **Industry/Niche**: What domain is your product in?
   - Developer tools / SaaS / E-commerce / Creative / Enterprise / Other

2. **Personality**: What 3 adjectives describe your brand?
   - Examples: Modern, Trustworthy, Playful, Premium, Technical, Approachable

3. **Reference Sites**: What 2-3 websites do you admire visually?
   - We'll analyze these for patterns

4. **Mood**: Light and airy OR Dark and dramatic?

5. **Unique Element**: Any specific theme or metaphor?
   - Examples: "Egyptian sacred tech", "Nano-scale science", "Space exploration"

Phase 2: Reference Analysis

# Analyze user-provided references
WebFetch(user_reference_url_1, "Extract: colors, typography, spacing, animations, unique patterns")
WebFetch(user_reference_url_2, "Extract: visual hierarchy, component styles, effects")

# Search for similar aesthetics
WebSearch("[niche] website design inspiration 2025")

Phase 3: Design System Generation

Based on discovery, generate:

design_system:
  name: '[Brand] Design System'
  aesthetic: '[Discovered aesthetic name]'

  colors:
    backgrounds: [extracted from references]
    text: [with contrast ratios]
    accents: [primary, secondary]
    effects: [glows, gradients]

  typography:
    display: [font family for headlines]
    body: [font family for text]
    mono: [font family for code]
    scale: [sizes with line heights]

  effects:
    shadows: [elevation system]
    animations: [motion patterns]
    3d_elements: [if applicable]

  components:
    buttons: [variants]
    cards: [variants]
    sections: [layout patterns]

Phase 4: Asset Generation Workflow

## Asset Generation Plan

1. **Logo/Icon**: [Description for AI image generator]
2. **Hero Visual**: [3D scene or illustration brief]
3. **Section Graphics**: [Background patterns, dividers]
4. **Component Assets**: [Icons, illustrations]

## Recommended Tools

- Canva: Marketing assets, social graphics
- Midjourney/DALL-E: Hero illustrations, abstract visuals
- Three.js: 3D backgrounds, interactive elements
- Figma: UI mockups, component libraries

Prototype for User Confirmation

The UI/UX designer owns building an interactive, clickable prototype for user confirmation before any implementation code is written.

Why the Designer Owns the Prototype

A lane-written design specification must never reach implementation without the user seeing and interacting with it first. The designer creates a self-contained static prototype that becomes the single visual source of truth across design, implementation, and visual review.

Prototype Deliverable

For any screen, landing page, or UI surface, deliver <taskFolder>/prototype/:

  • index.html: Self-contained static HTML (one file per screen or in-page navigation), plain JavaScript allowed. Zero build step to view, zero backend, never imported by the application.
  • README.md: Instructions to open, screen/state list, interactive features, a ## Deviations section for asset fallbacks and departures from project tokens, a ## Project rules applied list (each [project-rule] + its source file or doc; or none), a ## Lane-introduced constraints list (only [lane-proposed] rules; or none), and parity cross-references to parity-inventory.md.
  • screenshots/: Static screenshots of the prototype across themes and viewports, captured via ptah_browser_screenshot when available.
  • assets/: Local copies of the CSS/JS the prototype links.

Prototyping Rules

  • Component & token reuse: Always use the project's real design tokens and component library from its configuration (e.g. Tailwind + daisyUI). Generate CSS covering the prototype's HTML at authoring time and place it in prototype/assets/, linking it relatively so viewing works offline without a build. The app's production CSS is not sufficient because it purges unused classes. A CDN build is a fallback only, disclosed in README.md under ## Deviations; follow PROTOTYPING.md for asset generation. Prefer existing components over custom markup.
  • Never ban project components wholesale: Do not ban components like badges, tooltips, or primary buttons. Solve accessibility via tokens and contrast tuning. Any proposed ban requires empirical evidence and explicit user approval.
  • Status is not a button: Status indicators and secondary information are hints, badges, or tooltips — never action buttons.
  • One primary action per surface: Ensure exactly one prominent primary action per surface; secondary actions use ghost/outline variants.
  • State coverage: Explicitly provide populated, empty, loading, error, dark theme, light theme, narrow width (actual ≈400px browser viewport), embedded sidebar width (container toggle), and wide width. The embedded-width check does not replace the narrow viewport check.

Iteration & Orchestration Gate 1.7

Iterate and refine the prototype based on user feedback until the user explicitly replies APPROVED at Gate 1.7. Frontend implementation only begins after this gate passes. See PROTOTYPING.md for full layout patterns and templates.


Output Format

When completing design work, deliver:

## Visual Design Delivery

### 1. Aesthetic Profile

- **Niche**: [Discovered niche]
- **Personality**: [3 adjectives]
- **Influences**: [Reference sites analyzed]
- **Unique Element**: [Theme/metaphor]

### 2. Design System & Design Specification

[Full design system and visual design specification]

- Save design system to: `DESIGN-SYSTEM.md` inside the `technical-content-writer` skill's own
  directory (its sibling files live there). Locate that directory via the Skill
  tool / plugin root — never write to a workspace-relative `.claude/` path,
  which differs per host and install method.
- Save design specification to: `.ptah/specs/<TASK_FOLDER>/design-spec.md`

### 3. Asset Generation Briefs

[Detailed prompts for each asset type]

### 4. Implementation Guide

[How to apply the design system]

### 5. Reference Gallery

[Links to inspiration, patterns discovered]

### 6. Clickable Prototype

[Self-contained static prototype at `.ptah/specs/<TASK_FOLDER>/prototype/` with README.md and screenshots/]

Integration with Content Writer

After creating a design system, update:

Both files below are siblings of the technical-content-writer SKILL.md. Resolve them against that skill's own directory, which you get from the Skill tool / plugin root — a workspace-relative .claude/ path is not portable across hosts.

# Save design system for content generation
Write(<technical-content-writer skill dir>/DESIGN-SYSTEM.md)

# Reference in landing page generation
Read(<technical-content-writer skill dir>/LANDING-PAGES.md)

This ensures all generated content follows your visual identity.


Example: How Ptah's Design System Was Created

Discovery

niche: 'Developer tools / VS Code extension'
personality: ['Premium', 'Mystical', 'Technical']
references:
  - BlueYard Capital (nano banana aesthetic)
  - Augmentcode (glassmorphism, code windows)
  - Antigravity (scroll animations, 3D depth)
unique_element: 'Egyptian sacred tech / Neo-mystical'
mood: 'Dark and dramatic'

Research Process

  1. Screenshots: Captured hero sections, card styles, animations
  2. Color extraction: Used eyedropper to get exact hex values
  3. Typography identification: Inspected fonts (Cinzel, Inter)
  4. Animation analysis: Recorded scroll behaviors, hover effects
  5. AI generation: Used prompts to create custom 3D elements

Result

  • DESIGN-SYSTEM.md with complete token library
  • LANDING-PAGES.md with section templates
  • Task folder with design-spec.md

Pro Tips

  1. Start with feeling, not specs: Ask "how should it feel?" before colors
  2. 3 references minimum: One is copying, three reveals patterns
  3. Extract, don't guess: Use actual hex values from references
  4. Name your aesthetic: "Egyptian sacred tech" is memorable and guides decisions
  5. Test contrast ratios: Beautiful isn't useful if unreadable
  6. Document everything: Future you will thank present you

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.