Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计通过

ux-ui-premium-direction-style-selectorux ui 高级方向风格选择器

Agent Skill

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

总安装

654

周安装

27

GitHub Stars

27

下载量

214
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ux-ui-premium-direction-style-selector(ux ui 高级方向风格选择器)
来源仓库:https://github.com/luispitik/ux-ui-premium-direction-style-selector
仓库路径:skills/ux-ui-premium-direction-style-selector
安装命令:
npx skills add https://github.com/luispitik/ux-ui-premium-direction-style-selector --skill ux-ui-premium-direction-style-selector
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/luispitik/ux-ui-premium-direction-style-selector --skill ux-ui-premium-direction-style-selector

简介

用于选择并应用高端精致的界面风格方案。

  • 适合奢侈品、金融等对质感要求高的领域。
  • 使用时需严格匹配品牌调性与视觉识别系统。
  • 输出包含配色、字体与动效的完整指南。ux-ui-premium-direction-style-selector 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 安装方式:github,内置多种 premium 风格模板。

SKILL.md

Style Selector

Generate 8 self-contained visual direction demo pages for comparison, then apply the chosen direction to the project.

Workflow

1. Gather project context

Before generating demos, collect:

  • Project type (landing page, web app, SaaS, dashboard, e-commerce, portfolio)
  • Business type (consulting, SaaS, agency, e-commerce, portfolio, etc.)
  • Business name and tagline
  • Key stats (numbers to display -- users, clients, years, etc.)
  • Services/products (3-4 items with short descriptions)
  • CTA (primary call to action -- book a call, sign up, buy, etc.)
  • Language (Spanish, English, etc.)
  • Tone (corporate, friendly, luxury, technical, rebellious, playful, etc.)

If the project already has content (existing pages, spec docs, CLAUDE.md), extract this context automatically without asking.

2. Verify project setup

Confirm the project uses Next.js App Router + Tailwind CSS. Check:

  • src/app/ or app/ directory exists
  • tailwind.config.ts or tailwind.config.js exists
  • globals.css has @tailwind base/components/utilities or @import "tailwindcss" directives

Critical: Ensure globals.css custom styles are wrapped in @layer base {}. Unlayered CSS overrides Tailwind utility classes due to CSS cascade layers. If * {margin: 0; padding: 0;} or body {...} exist outside a @layer, wrap them in @layer base {}.

3. Create demo infrastructure

Create these files:

Demo layout (src/app/demo/layout.tsx):

'use client'
export default function DemoLayout({ children }: { children: React.ReactNode }) {
  return (
    <div style={{ position: 'fixed', inset: 0, zIndex: 99999, overflow: 'auto', background: '#ffffff', fontFamily: 'system-ui, sans-serif', color: '#000' }}>
      <style>{\`body { overflow: hidden !important; }\`}</style>
      {children}
    </div>
  )
}

Demo index page (src/app/demo/page.tsx): A 'use client' page listing all 8 directions as clickable cards. Each card shows: direction name, subtitle/reference, description, and 4 color swatches. Dark background (#0a0a0a) for the index page.

4. Select directions based on project type

Not all 8 directions suit every project type. Pre-select 5 that best match:

Project TypeRecommended 5Skip
Landing page (general)Editorial, Minimal, Luxury, Corporate, Kinfolk
SaaS / Web appMinimal, Corporate, Playful, Brutalist, RetroLuxury, Kinfolk, Editorial
E-commerceMinimal, Luxury, Corporate, Playful, KinfolkBrutalist, Retro, Editorial
DashboardMinimal, Corporate, Playful, Retro, BrutalistLuxury, Kinfolk, Editorial
Portfolio / CreativeEditorial, Luxury, Kinfolk, Brutalist, PlayfulMinimal, Corporate, Retro
Developer toolsMinimal, Brutalist, Retro, Playful, CorporateLuxury, Kinfolk, Editorial

If the user says "show all 8", generate all 8 regardless. Otherwise use the recommended 5 for their project type. Always ask if they want to see all 8 after showing the 5.

5. Generate demo pages

See references/directions.md for the complete spec of each visual direction, including palette, typography, layout, animation, accessibility, and mobile specs.

Each demo page must be:

  • Self-contained (no shared component imports -- only next/link and next/font/google)
  • Mobile-first responsive (design for 375px first, enhance with Tailwind breakpoints)
  • Complete (skip-link + nav + hero + storytelling + stats + services + CTA + footer)
  • Unique fonts via next/font/google with CSS variables
  • Custom colors via inline style attributes (not relying on project's Tailwind theme)
  • Animated per direction specs (scroll reveal, hover effects, micro-interactions)
  • Accessible (WCAG AA contrast, focus-visible outlines, 44px+ touch targets, skip link)
  • Motion-safe (respect prefers-reduced-motion -- disable all animations/transitions)
  • Back link to /demo in the footer

Pages that use event handlers (onMouseEnter, useState, useEffect) MUST have 'use client' at the top. Pages with 'use client' MUST NOT export metadata.

Generate all pages in parallel using Agent tool for speed.

6. Adapt copy to project

For each direction, rewrite copy to match the project's context:

  • Headline adapted to the business and tone direction
  • Storytelling adapted to the founder/company narrative
  • Stats using real project numbers
  • Services listing real offerings
  • CTA pointing to real contact mechanism

Copy quality rules (avoid AI-sounding text):

  • Use imperfect, conversational sentences
  • Include specific details, not generic buzzwords
  • Short paragraphs, varied rhythm
  • Opinions and personality over corporate speak
  • Questions to the reader
  • First person where appropriate

Copy tone per direction (see references/directions.md for full table):

  • Editorial: authoritative, measured
  • Minimal: direct, stripped
  • Luxury: intimate, refined
  • Corporate: confident, structured
  • Kinfolk: thoughtful, quiet
  • Brutalist: blunt, irreverent
  • Playful: energetic, modern
  • Retro: dry, technical, developer humor

7. Build and verify

Run npx next build to confirm all demo routes compile. Fix any errors:

  • Missing 'use client' for pages with event handlers
  • metadata export in client components (remove it)
  • Unused variables (remove them)

Start dev server and verify:

  1. Take screenshots of each demo at desktop (1280px)
  2. Take screenshots at mobile (375px) — resize viewport
  3. Check that:

- No horizontal overflow on mobile - All text readable (16px+ body on mobile) - All buttons tappable (44px+ height) - Nav is functional on both sizes - Animations play (and stop with reduced-motion) - Focus outlines visible when tabbing - Skip link works

8. Present to user

Show the user the demo index URL (/demo) and a summary table of all directions with their visual identity. Include:

DirectionMoodKey FeatureBest For
EditorialIntellectual authoritySerif typography, gold accentsConsulting, media, thought leadership
MinimalFunctional clarityMaximum restraint, red CTAs onlySaaS, tools, developer products
LuxuryWarm intimacyDark bg, copper accents, slow motionPremium services, hospitality, beauty
CorporateConfident authorityNavy/white rhythm, purple accentsEnterprise, B2B, consulting
KinfolkQuiet sophisticationNarrow columns, olive accents, stillnessCreative, wellness, editorial
BrutalistRaw irreverenceHard shadows, mono uppercase, thick bordersStartups, developer tools, creative agencies
PlayfulModern energyGradient text, glass cards, living gradientsSaaS, modern startups, tech
RetroHacker credibilityTerminal aesthetic, typewriter, green-on-blackDeveloper tools, CLI products, tech

Ask which direction they prefer or if they want to mix elements from multiple directions.

9. Apply direction (post-selection)

Once the user chooses a direction, apply it to the project:

9a. Generate Tailwind theme tokens

Create/update tailwind.config.ts with the chosen direction's design tokens:

// Example for "Luxury Dark Warm" direction
const config = {
  theme: {
    extend: {
      colors: {
        background: '#171614',
        foreground: '#F0EBE1',
        accent: '#C4956A',
        muted: '#8A8174',
        card: '#1E1D1A',
        border: 'rgba(196,149,106,0.3)',
      },
      fontFamily: {
        display: ['var(--font-cormorant)', 'serif'],
        body: ['var(--font-outfit)', 'sans-serif'],
      },
      animation: {
        'fade-in': 'fadeIn 800ms ease-out',
        'slide-up': 'slideUp 800ms ease-out',
      },
      keyframes: {
        fadeIn: { '0%': { opacity: '0' }, '100%': { opacity: '1' } },
        slideUp: { '0%': { transform: 'translateY(20px)', opacity: '0' }, '100%': { transform: 'translateY(0)', opacity: '1' } },
      },
    },
  },
}

9b. Generate CSS variables

Add to globals.css:

@layer base {
  :root {
    --background: <bg-color>;
    --foreground: <text-color>;
    --accent: <accent-color>;
    --muted: <secondary-color>;
    --card: <card-bg>;
    --border: <border-color>;
    --focus-ring: <focus-color>;

    /* Animation tokens */
    --reveal-y: <direction-value>;
    --reveal-duration: <direction-value>;
    --reveal-stagger: <direction-value>;
    --reveal-easing: <direction-value>;
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

9c. Generate base components

Create reusable components that encode the chosen direction's patterns:

src/components/ui/Button.tsx — Primary and secondary variants matching direction style:

  • Editorial: gold-bordered, serif text
  • Minimal: red bg (primary), text link with arrow (secondary)
  • Luxury: copper bg, light weight text
  • Corporate: purple filled + outline variants
  • Kinfolk: olive outline, minimal
  • Brutalist: black border + hard shadow, uppercase mono
  • Playful: gradient border, glass effect
  • Retro: terminal command style, mono text

src/components/ui/Card.tsx — Card component matching direction:

  • Editorial: no card, just gold left border
  • Minimal: border-b divider, no card bg
  • Luxury: dark raised bg, copper top border
  • Corporate: light gray bg, slate border
  • Kinfolk: no card, just text
  • Brutalist: 3px black border, hard shadow
  • Playful: glass morphism (white 5%, backdrop-blur)
  • Retro: green/30% border, terminal bg

src/components/ui/Section.tsx — Section wrapper with direction-appropriate spacing, dividers, and scroll-reveal animation.

src/components/ui/Container.tsx — Max-width container matching direction's content width.

src/components/ui/Nav.tsx — Navigation with direction-appropriate mobile pattern.

src/components/ScrollReveal.tsx — Reusable scroll reveal hook/component using IntersectionObserver.

9d. Generate font setup

Add to root layout (src/app/layout.tsx or src/app/demo/layout.tsx):

import { FontDisplay, FontBody } from 'next/font/google'

const fontDisplay = FontDisplay({
  subsets: ['latin'],
  variable: '--font-display',
  display: 'swap',
})

const fontBody = FontBody({
  subsets: ['latin'],
  variable: '--font-body',
  display: 'swap',
})

// Add to <html> or <body> className:
// `${fontDisplay.variable} ${fontBody.variable}`

9e. Clean up

  • Remove /demo/ directory and all demo pages
  • Remove demo layout
  • Confirm npx next build passes after applying theme

10. Verify applied direction

After applying the chosen direction:

  1. Start dev server
  2. Navigate to the main page
  3. Take screenshot at desktop and mobile
  4. Verify:

- Colors match chosen direction - Fonts load correctly - Animations work (and respect reduced-motion) - Mobile layout is correct - All components render properly

  1. Share screenshots with user for final approval

The 8 Directions

IDNameReferenceBgAccentFonts
editorialEditorial SerifThe EconomistCream #FAFAF5Gold #B8860BPlayfair Display + Source Serif 4
minimalSwiss MinimalDieter RamsWhite #FFFFFFRed #D42B2BSpace Grotesk + Inter
luxuryLuxury Dark WarmAesopCharcoal #171614Copper #C4956ACormorant Garamond + Outfit
corporateCorporate BoldAccentureWhite/Navy #0F1923Purple #5B21B6Plus Jakarta Sans
kinfolkUnderstated EleganceKinfolkBone #F5F2EDOlive #6B705CLibre Baskerville + Karla
brutalistNeo-BrutalistGumroadOff-white #FFFDF7Yellow #FFE600 + Pink #FF3366Space Mono + DM Sans
playfulPlayful GradientLinear/StripeNear-black #0C0C0CBlue→Violet→Pink gradientSatoshi/Inter
retroRetro TerminalStripe CLITerminal black #0D1117Green #00FF41 + Amber #FFB000JetBrains Mono

For detailed specs (full palette, layout, animation, accessibility, mobile), read references/directions.md.

Direction Selection Guide

If the user wants...Recommend
"Professional but not boring"Editorial or Corporate
"Clean and modern"Minimal or Playful
"Premium / high-end"Luxury or Kinfolk
"Fun / startup vibe"Brutalist or Playful
"Developer audience"Retro or Minimal
"Something different / bold"Brutalist or Retro
"Warm and personal"Luxury or Kinfolk
"Data-driven / enterprise"Corporate or Minimal
"Creative / artistic"Kinfolk or Brutalist
"Tech / SaaS"Playful or Retro

Project Type Adaptations

The common section structure (nav, hero, storytelling, stats, services, CTA, footer) works for landing pages. For other project types, adapt the demo structure:

Web App / SaaS

Replace storytelling + stats with:

  • Feature showcase — 3 key features with mock UI screenshots or illustrations
  • How it works — 3-step flow (Sign up → Configure → Launch)
  • Pricing — 3 tiers (Free, Pro, Enterprise) or simple pricing card Keep: Nav, Hero, Services/Features, CTA, Footer

Dashboard

Replace hero + storytelling with:

  • Dashboard preview — Mock data visualization (charts placeholder, KPI cards)
  • Sidebar — Navigation pattern preview
  • Data table — Sample table with direction's styling Keep: Nav (sidebar variant), Feature cards, CTA, Footer

E-commerce

Replace storytelling with:

  • Product grid — 4-6 product cards with image placeholders, price, CTA
  • Categories — Category navigation
  • Trust signals — Reviews, shipping info, guarantees Keep: Nav (with cart icon), Hero (product-focused), CTA, Footer

Portfolio

Replace services with:

  • Project grid — 4-6 project cards with image, title, category
  • About section — Bio with photo placeholder
  • Testimonials — 2-3 client quotes Keep: Nav, Hero (name-focused), Storytelling, CTA (hire me), Footer

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.79%
按下载量换算81

Claude

28.39%
按下载量换算61

Cursor

19.01%
按下载量换算41

Gemini CLI

8.29%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/luispitik/ux-ui-premium-direction-style-selector --skill ux-ui-premium-direction-style-selector 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills