frontend-design-skill-ultra
Pixel-perfect frontend design rule system for ultra UI planning and execution. Use when the user asks for ui ultra plan, ui ultra execute, pixel-perfect polish, premium frontend design, Refactoring UI rules, visual hierarchy, spacing, typography, color, shadows, empty states, or anti-slop frontend refinement.
- License 许可
- MIT
- 所属仓库
- max-kharena/nous
- 最近更新
- 2026-04-28
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- frontend-design-skill-ultra
- risk
- medium
- type
- design
- version
- 0.1.0
- description
- Pixel-perfect frontend design rule system for ultra UI planning and execution. Use when the user asks for ui ultra plan, ui ultra execute, pixel-perfect polish, premium frontend design, Refactoring UI rules, visual hierarchy, spacing, typography, color, shadows, empty states, or anti-slop frontend refinement.
03 SKILL.md 正文
Frontend Design Skill Ultra
Core Principle
Design is constraint plus taste. First define the system, then compose inside it until the interface passes a pixel-perfect review.
When To Use
- The user invokes
nous:ui-ultra-planornous:execute-ui-ultra-plan. - The user asks for pixel-perfect UI, premium frontend, visual polish, or Refactoring UI rules.
- A screen looks generic, under-spaced, weakly typed, low-hierarchy, or AI-sloppy.
Refactoring UI Rules
- Feature first: design the core feature before app chrome. Do not start with nav, sidebar, logo placement, or layout shell.
- Constrain choices: define type scale, spacing ramp, color ramps, radius, border, and shadow levels before designing components.
- Hierarchy wins: the screen must work at a squint. Use size, weight, contrast, whitespace, and position together.
- De-emphasize first: lower weight, contrast, or opacity of secondary elements before enlarging primary elements.
- Spacing ramp: all spacing comes from
4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96 / 128. Related elements are close; unrelated elements are clearly separated. - Typography system: all text uses a declared scale. Body line length is 45-75 characters. Small text gets more line-height; display text gets tighter line-height and slight negative tracking.
- Color system: use HSL-thinking and named shade ramps. No ad-hoc hex. Never use grey text on colored backgrounds; tint muted text from the surface hue.
- Depth system: one top-down light source. Use two-part shadows, subtle tonal elevation, and overlap before heavy borders.
- Imagery discipline: photos and illustrations need consistent mood, intended size, and contrast treatment. Text over images always gets overlay, gradient, blur card, or tint.
- Finish defaults: restyle controls, focus rings, checkboxes, selects, scrollbars, hover, active, disabled, loading, empty, and error states. Replace unnecessary borders with space, shadow, or background shifts.
NOUS Taste Overlay
- Dark-first: near-black, graphite, zinc, slate, charcoal, warm off-black.
- Accent sparingly: dusty sage, faded teal, warm cream, soft amber, muted mint, desaturated rose.
- Avoid purple, corporate blue, neon, candy colors, and bright saturated palettes.
- Typography: Geist, Geist Mono, Geist Pixel, Fira Code, or precise sans/mono equivalents.
- Mono is texture for labels, metadata, specs, timestamps, keyboard hints, command surfaces, and captions.
- Pixel accents are micro-details: one icon, one label, one edge treatment. Never turn the UI into a pixel theme park.
- Copy is tight and unshowy. No exclamation marks, hype, mascot voice, forced humor, or startup cringe.
- Motion is crisp, subtle, and cuttable. No shaking, bouncing, or decorative motion that asks for attention.
Ultra Planning Contract
Every ultra UI plan must specify:
- Aesthetic direction and reference register.
- Type scale, font roles, line-height, letter-spacing, and text alignment rules.
- Spacing ramp and layout density rules.
- Color ramps, semantic colors, contrast handling, and banned colors.
- Shadow/elevation levels, border policy, radius policy, and surface hierarchy.
- Component states: default, hover, focus, active, disabled, loading, empty, error, success.
- Responsive behavior for mobile and desktop.
- Accessibility requirements: keyboard, focus visibility, contrast, reduced motion, non-color signals.
Pixel-Perfect Review Gate
Before returning a plan or claiming execution complete, verify:
- [ ] The primary action and primary content are obvious at a squint.
- [ ] All spacing uses the declared ramp; no arbitrary gaps.
- [ ] All text uses the declared scale; no arbitrary font sizes.
- [ ] Body text is readable at 45-75 characters per line.
- [ ] All colors come from named ramps; no ad-hoc hex values.
- [ ] No purple, corporate blue, neon, or bright saturated accents unless explicitly requested.
- [ ] No default browser controls, default focus rings, or unstyled empty/error/loading states.
- [ ] Borders are justified; whitespace, shadow, or background shifts are preferred when cleaner.
- [ ] Shadows follow one light source and are palette-tinted, not pure black.
- [ ] Desktop and mobile states are both designed.
- [ ] Copy passes the cringe filter.
Related Skills
This is the pixel-perfect / Refactoring-UI lane.
frontend-design— lighter aesthetic-direction lane for general UI work. Use when the request needs taste and anti-slop polish but not a hard pixel-perfect system. Auto-loaded bynous:ui-planandnous:quick-ui.design-an-interface— generates 3+ radically different interface shapes in parallel sub-agents. Use when the shape is open and you want to explore alternatives before committing to a system.
This skill (frontend-design-skill-ultra) is auto-loaded by nous:ui-ultra-plan and nous:execute-ui-ultra-plan. Use it directly only when retrofitting an existing screen to the pixel-perfect bar.
Output Contract
Return either a UI ultra plan section, implementation guidance, or review findings. Always include Refactoring UI Rule Coverage and Pixel-Perfect Review Gate when producing or reviewing an ultra UI plan.
04 同仓库更多 Skills
write-a-skill
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when the user wants to create, write, or build a new skill.
verification-before-completion
Use when about to claim work is complete, fixed, passing, ready, merged, shippable, reviewed, or verified.
using-nous
Use when a request needs NOUS command routing or personality-driven planning.
using-git-worktrees
Use when NOUS execution needs isolated implementation branches, phase worktrees, parallel worktrees, or safe branch setup before executing a plan.
ubiquitous-language
Use when the user wants to define domain terms, build a glossary, harden terminology, or extract a DDD-style ubiquitous language. Saves to UBIQUITOUS_LANGUAGE.md.
triage-issue
Use when the user reports a bug and wants it investigated and filed as a durable GitHub issue with a TDD-based fix plan.