ui-skills
Frontend orchestration skill. Use for any frontend design, redesign, restyle, or visual polish task. Loads repo UX context, requires frontend-design, and forces selection of one or more specialist frontend skills before coding.
- License 许可
- MIT
- 最近更新
- 2026-09-20
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- ui-skills
- description
- Frontend orchestration skill. Use for any frontend design, redesign, restyle, or visual polish task. Loads repo UX context, requires frontend-design, and forces selection of one or more specialist frontend skills before coding.
03 SKILL.md 正文
UI Skills
This is the repo-local frontend gatekeeper. Use it for any task that changes presentation, layout, interaction design, visual hierarchy, motion, copy in UI surfaces, or design system styling.
Mandatory Stack
Before making frontend design changes, load and follow all of these:
frontend-designui-skills1+specialist frontend skills from this catalog
Do not continue until you have named the selected specialist skill(s).
Required Context
Read the most relevant repo-local context before designing:
project-context/design-context.mdif it existsAGENTS.mdfor repo-specific rules and any## Design Context- relevant docs in
project-context/,business-context/,docs/, or the nearest package README - both customer-facing and admin/internal context files when the surface serves both audiences
Then follow the context-gathering rules from frontend-design, including teach-impeccable when design context is still missing.
Pick Impeccable Skills Deliberately
Choose the smallest set that fits the job, but at least one is mandatory.
arrange: layout, hierarchy, spacing, compositiontypeset: typography, sizing, font pairing, readabilitycolorize: palette, warmth, expressivenessbolder: make a safe design more distinctivequieter: tone down a loud interfaceanimate: purposeful motion and transitionsdelight: polish, surprise, personalitydistill: simplify, declutter, reduce noisenormalize: pull drifted UI back to the systemadapt: responsive behavior and cross-device layoutharden: edge states, overflow, resilienceoptimize: rendering, animation, loading performanceaudit: technical QA across a11y, performance, theming, responsivenessclarify: labels, UX copy, instructions, errorscritique: evaluate the design before or after implementationextract: componentize, tokenise, systematizeonboard: onboarding, empty states, first-run UXoverdrive: technically ambitious, high-impact UI momentspolish: final pass on alignment, consistency, micro-detailsteach-impeccable: one-time design context setup
Extra Guardrails
- Also load
baseline-uiwhenever available. - Also load
design-taste-frontendwhenever the task involves generating or materially redesigning UI. - Load
fixing-accessibility,fixing-motion-performance, andfixing-metadatawhen the task touches those concerns. - Preserve existing design system patterns unless the task is explicitly a redesign.
- Verify final user-facing UI in a browser on desktop and mobile before calling it done.
Refusal Rule
If a frontend design task begins without this stack, stop and load it first. No winging it. No beige slop.
Existing UI Constraints
These still apply after the orchestration layer above.
Stack Requirements
- MUST use Tailwind CSS defaults unless custom values already exist or are explicitly requested
- MUST use
motion/reactwhen JavaScript animation is required - SHOULD use
tw-animate-cssfor entrance and micro-animations in Tailwind CSS - MUST use
cnutility (clsx+tailwind-merge) for class logic
Components
- MUST use accessible component primitives for anything with keyboard or focus behavior
- MUST use the project's existing component primitives first
- NEVER mix primitive systems within the same interaction surface
- SHOULD prefer Base UI for new primitives if compatible with the stack
- MUST add an
aria-labelto icon-only buttons - NEVER rebuild keyboard or focus behavior by hand unless explicitly requested
Animation
- NEVER add animation unless it is explicitly requested or clearly supports the design goal
- MUST animate only compositor props (
transform,opacity) - NEVER animate layout properties (
width,height,top,left,margin,padding) - SHOULD avoid animating paint properties except for small, local UI
- SHOULD use
ease-outon entrance - NEVER exceed
200msfor interaction feedback - MUST pause looping animations when off-screen
- SHOULD respect
prefers-reduced-motion - NEVER introduce custom easing curves unless explicitly requested
- SHOULD avoid animating large images or full-screen surfaces
Typography
- MUST use
text-balancefor headings andtext-prettyfor body copy when compatible - MUST use
tabular-numsfor data - SHOULD use
truncateorline-clampfor dense UI - NEVER modify
letter-spacingunless explicitly requested
Layout
- MUST use a fixed
z-indexscale - SHOULD use
size-*for square elements instead of separate width and height utilities
Performance
- NEVER animate large
blur()orbackdrop-filtersurfaces - NEVER apply
will-changeoutside an active animation - NEVER use
useEffectfor anything that can be expressed as render logic
Design
- NEVER use gradients unless explicitly requested
- NEVER use purple or multicolor gradients
- NEVER use glow effects as primary affordances
- SHOULD use the existing shadow scale unless explicitly requested otherwise
- MUST give empty states one clear next action
- SHOULD limit accent color usage to one per view
- SHOULD use existing theme or token colors before introducing new ones
Interaction
- MUST use an alert dialog for destructive or irreversible actions
- SHOULD use structural skeletons for loading states
- NEVER use
h-screen; useh-dvh - MUST respect safe-area insets for fixed elements
- MUST show errors next to where the action happens
- NEVER block paste in inputs or textareas
04 同仓库更多 Skills
writing-shape
Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.
writing-fragments
Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions "fragments", "ideate", or "raw material" for writing.
writing-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
stop-slop
Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, passive voice, negative parallelisms, and filler phrases.
feedback
Prepare, deliver, and debrief timely interpersonal feedback using a question-first coaching flow, observable behavior, owned experience, and concrete impact. Use when drafting feedback, coaching managers, rehearsing a feedback conversation, praising specific behavior, or reviewing whether feedback landed.