skills/frontend-design/SKILL.md
Create distinctive, production-grade frontend interfaces with high design quality. Use when building UI components, pages, or applications. Guides from context gathering through implementation to quality gate. Triggers: "frontend design", "build UI", "design this page", "make it look good"
npx skillsauth add Wilder1222/superomni frontend-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Status protocol — end every session with one of: DONE (evidence provided) · DONE_WITH_CONCERNS (list each) · BLOCKED (state what blocks you) · NEEDS_CONTEXT (state what you need).
Auto-advance — pipeline: THINK → PLAN → REVIEW → BUILD → VERIFY → RELEASE. Only human gate is spec approval at THINK. On DONE at other stages, print [STAGE] DONE -> advancing to [NEXT-STAGE] and invoke the next skill. On any non-DONE status at any stage, STOP.
Output directory — all artifacts go in docs/superomni/<kind>/<kind>-[branch]-[session]-[date].md. See CLAUDE.md for the full directory map.
TACIT-DENSE — before high-tacit decisions, classify D1 (domain expertise) · D2 (user-facing UX) · D3 (team culture) · D4 (novel pattern). On hit, output TACIT-DENSE [D#]: [question] — My default: [recommendation]. See reference for actions.
Anti-sycophancy — take a position on every significant question. Name flaws directly. No filler ("that's interesting", "you might consider", "that could work").
Telemetry (local only) — at session end, log bin/analytics-log. Nothing leaves the machine.
See preamble-ref.md for detailed protocols.
Goal: Build frontend interfaces that are functional, production-ready, AND visually distinctive. Avoid generic AI aesthetics — every design choice must be intentional.
No frontend code ships without running the frontend-designer agent quality gate. A passing score on all 10 dimensions (7+/10 each) is required. Two auto-retry attempts are allowed before escalating to the user.
Every LLM learned from the same generic templates. Without guidance, you get:
The quality test: If someone saw this interface and said "AI made this," would they believe it immediately? If yes — that's the problem.
You cannot infer design context from code alone. Ask the user ONE question at a time:
Required understanding before proceeding:
Check for project design config:
ls .impeccable.md .design-config.md 2>/dev/null
If a config file exists, load it and skip questions it already answers.
Commit to a bold aesthetic direction. Present 3 curated options + Other:
Design Direction Options:
A) Minimalist Precision — Swiss-inspired, generous whitespace, one accent color,
strong typography hierarchy. Think: Linear, Stripe, Vercel.
Pro: Timeless, professional. Con: Can feel cold.
B) Warm Organic — Rounded shapes, earth tones or pastels, hand-drawn accents,
friendly micro-interactions. Think: Notion, Loom, Figma.
Pro: Approachable, memorable. Con: Harder to maintain consistency.
C) Bold Maximalist — High contrast, dramatic typography, intentional color blocking,
confident whitespace. Think: Bloomberg, Pentagram, Readymag.
Pro: Distinctive, authoritative. Con: Polarizing.
D) Other — describe your own aesthetic direction: ___________
Key principle: Bold maximalism and refined minimalism both work — the key is intentionality, not intensity.
Load relevant reference files on-demand based on the current task. Maximum 2-3 at a time to manage context.
| Task involves... | Load these references |
|-------------------|---------------------|
| Text layout, fonts, headings | reference/typography.md |
| Colors, palette, dark mode | reference/color-and-contrast.md |
| Layout, spacing, grid | reference/spatial-design.md |
| Animations, transitions | reference/motion-design.md |
| Forms, buttons, states | reference/interaction-design.md |
| Mobile, responsive, breakpoints | reference/responsive-design.md |
| Labels, errors, microcopy | reference/ux-writing.md |
# Load references on-demand
cat skills/frontend-design/reference/typography.md # only when needed
If the user requests a reference not yet loaded, load it. If context pressure is high, summarize the current reference into 5 key rules and unload the raw content.
External site DESIGN.md files are treated as brand style input, not as implementation truth. Engineering and accessibility rules must still come from the core references.
Load order for brand-guided work:
reference/design-md-adaptation.md (mapping layer)reference/design-md-whitelist.mdHard limits:
DESIGN.md in a sessionGovernance and legal boundary:
Naming boundary:
docs/DESIGN.md (architecture). Keep external style references under skills/frontend-design/reference/ and distilled outputs under docs/superomni/style-profiles/.After implementing with one brand reference, distill reusable style guidance:
docs/superomni/style-profiles/design-md-<brand>.mddocs/superomni/style-profiles/prompt-design-md-<brand>.mddocs/superomni/style-profiles/design-md-distillation-template.md as the schemareference/design-md-adaptation.md and structure output into: Metadata, Transferable Rules, Quality Gate Mapping, Anti-Copy Constraints, Prompt Fragment; prioritize quality-gate/accessibility constraints over brand-style phrasing.Distillation rule:
Build with the loaded reference guidance active. Every implementation must:
Run the frontend-designer agent for a full design review. Quality gate must clear all 10 dimensions at ≥7/10 (3-attempt auto-retry, then escalate).
Reference: see reference/quality-gate.md for full Gate Protocol (3-attempt retry policy + escalation message) and the canonical Quality Gate Output block.
Single command /front-design invokes frontend-design with automatic mode detection (auto / audit / critique / polish / distill / clarify / animate / colorize / harden / arrange / typeset).
Reference: see reference/reference-loading.md for: mode validation rules, brand-input single-brand rule, per-mode reference-loading order, fallback behavior, and the mandatory execution-receipt flags.
FRONTEND DESIGN
════════════════════════════════════════
Session: [session-name]
Direction: [chosen aesthetic]
References: [loaded reference files]
Implementation:
Files created/modified: [list]
States designed: [N]/8
Responsive: [yes/no]
Accessibility: [WCAG level]
Quality Gate:
Attempts: [N]
Result: PASS | ESCALATED
Overall score: [N]/10
Execution Receipts:
mode: [auto|audit|critique|polish|distill|clarify|animate|colorize|harden|arrange|typeset]
brand: [name|none]
loaded refs: [list]
adaptation loaded: [yes|no]
brand loaded: [yes|no]
core refs loaded: [yes|no]
quality gate authority kept: yes
fallback: [none|core-references-only]
gate result: PASS | RETRY | ESCALATE
Status: DONE | DONE_WITH_CONCERNS | BLOCKED
════════════════════════════════════════
Report status using the completion protocol. After DONE, suggest next steps:
/front-design mode:polish for a final refinement pass"/front-design mode:audit to verify accessibility compliance"development
Systematic, behavior-preserving code refactoring with safety gates. Dispatches refactoring-agent. Triggers: "refactor", "clean up code", "reduce tech debt", "extract method", "rename". NOT for reactive PR feedback — use code-review for that.
development
Meta-skill: create, install, list, and manage skills and agents within the superomni framework. Merges writing-skills + agent-management into one unified workflow. Triggers: "create skill", "write a skill", "install skill", "list skills", "create agent", "write an agent", "install agent", "list agents", "new skill", "new agent", "add skill", "add agent", "manage framework".
testing
Dependency security, license, and freshness audit. Dispatches dependency-auditor agent to scan all package managers. Triggers: "dependency audit", "check dependencies", "npm audit", "security scan", "check for vulnerabilities", "outdated packages", "license check".
development
Meta-skill: use when creating a new skill for the superomni framework. Guides through the process of designing and writing a well-structured skill. Triggers: "create a new skill", "write a skill for", "add a skill that".