Borrowing it
Nothing to install: this file belongs to rafaelghif/antigravity-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rafaelghif/antigravity-agents/main/.agents/skills/design/SKILL.mdgit clone --depth 1 https://github.com/rafaelghif/antigravity-agentsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/rafaelghif/antigravity-agents/design)<a href="https://agentmods.dev/skills/rafaelghif/antigravity-agents/design"><img src="https://agentmods.dev/badge/skills/rafaelghif/antigravity-agents/design/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rafaelghif/antigravity-agents/design"><img src="https://agentmods.dev/badge/skills/rafaelghif/antigravity-agents/design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.01159 |
| Opus 5 | $0.00018 | $0.00580 |
| Sonnet 5 | $0.00007 | $0.00232 |
| Haiku 4.5 | $0.00004 | $0.00116 |
Grade A, and why
design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UI Design, Accessibility & Web Performance Protocol
Role: Staff Frontend Architect & Design Systems Lead.
Overview & Trigger Conditions
Activate this skill when creating or modifying UI components, styling layouts (CSS/Tailwind), implementing design token systems, auditing accessibility (WCAG 2.2 AA), or optimizing frontend runtime performance (Core Web Vitals).
Trigger Scenarios & Keywords:
- UI/UX component development, styling refactors, responsive layouts, web performance audits.
- Keywords:
ui,ux,component,styling,css,tailwind,accessibility,a11y,wcag,webperf,core web vitals,lcp,inp,cls.
Core Standards & Invariants
-
DTCG 3-Tier Design Tokens (SSOT):
- Tier 1 (Primitive): Raw palette scales and fixed metrics (
colors.slate.900,spacing.4). - Tier 2 (Semantic): Intent-driven tokens (
color.bg.surface,color.text.muted,action.primary.hover). - Tier 3 (Component): Scoped component tokens (
button.primary.bg,input.border.focus). - Strictly ban hardcoded hex codes (
#1e293b) and arbitrary pixel values inside components. Map styles to design tokens or Tailwind theme utilities.
- Tier 1 (Primitive): Raw palette scales and fixed metrics (
-
WCAG 2.2 Level AA Accessibility (a11y):
- Color Contrast: Minimum contrast ratio of $\ge 4.5:1$ for normal text, and $\ge 3:1$ for large text and interactive boundaries.
- Focus Visible: NEVER remove outlines (
outline-none) without an explicit replacement (focus-visible:ring-2 focus-visible:ring-offset-2). Enforced byui_hygiene_guard.py. - Touch Target Sizing: Interactive elements must provide a minimum $44 \times 44\text{ px}$ target area with $\ge 8\text{px}$ spacing between adjacent targets.
- Semantic Markup: All
<img>tags must include meaningfulaltattributes (oralt=""if decorative);<button>elements require explicittype="button"ortype="submit".
-
Core Web Vitals & Runtime Performance:
- LCP ($\le 2.5\text{s}$): Preload hero images (
fetchpriority="high"). Self-host web fonts withfont-display: swap. Eliminate render-blocking waterfalls. - INP ($\le 200\text{ms}$): Chunk long JavaScript tasks $> 50\text{ms}$ using
scheduler.yield(). Throttle/debounce scroll and resize listeners. - CLS ($\le 0.1$): Always specify explicit
width/heightor CSSaspect-ratioon images, videos, and dynamic iframes.
- LCP ($\le 2.5\text{s}$): Preload hero images (
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed b479bda6abaa
- 2d ago Changed · +33 lines 74bb3b7f724a
- 4d ago Changed · -11 lines · +8 tokens per session 95824d8f1ac5
- 9d ago First seen · 51 lines · 29 tokens per session scan A c60cf2abc031
design is a skill published in the GitHub repository rafaelghif/antigravity-agents (5 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 1,159 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
ui-first-builder
Creates production-ready UI immediately from any description. Generates complete pages, components, and realistic mock data in FIRST response. Uses Next.js 16 + Tailwind + shadcn/ui. Never asks questions - infers everything from context. Triggers: UI creation, page building, component generation, build interface…
frontend-ui-engineering
Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.
antigravity-design-expert
Core UI/UX engineering skill for building highly interactive, spatial, weightless, and glassmorphism-based web interfaces using GSAP and 3D CSS.
mcp-host-styling-integration
Integrates MCP App UI with host theming system. Applies host CSS variables, handles onhostcontextchanged, safe area insets, display mode detection, and fullscreen configuration.
moai-design-tools
Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.
premium-experience
Premium app generation that creates WOW-factor experiences. Multi-page apps with smooth animations, zero TypeScript errors, and production-ready quality. Lovable-style experience: one prompt, complete app, instant delight. MUST be used alongside vibe-orchestrator for new projects.