The AI skill system that turns coding agents into disciplined UI/UX engineers.
Every pixel has purpose. Every interaction has logic. Every movement has choreography.
Most AI skill files are static instruction sheets. This one is a living cognitive system โ it gives AI agents the ability to see, reason about, and self-correct their own designs.
| Capability | What It Does |
|---|---|
| ๐ง Design Cognition | Agents understand why designs work using Gestalt laws, Hick's Law cognitive budgets, and APCA contrast calculus |
| ๐๏ธ Terminal Vision | Non-multimodal agents can "see" their output via truecolor ANSI rendering and ASCII luminance maps |
| ๐ Self-Evolving Loop | Agents build โ screenshot โ analyze โ mutate in an autonomous reflexion cycle until design passes audit |
| ๐ฏ SVG Precision Engine | Mathematical vector logo generation in 4 styles โ no external APIs needed |
| ๐ Built-in Search | CLI search across 1000 design elements, 1000 fonts, and royalty-free images โ saving thousands of tokens |
| ๐ก๏ธ Anti-AI-Slop | 1000 documented banned patterns from 2025-2026. No generic gradients, no card soup, no Inter/Roboto |
Generated with node skills/utils/svg-generator.js. These are real SVGs from the engine, not mockups:
One command:
node skills/utils/svg-generator.js --type bento --name "Brand" --output logo.svg
The simulator audits any HTML file and outputs spatial analysis:
๐ง COGNITIVE DESIGN SIMULATOR & AUDITOR
๐ File: "index.html"
--- VISUAL DENSITY BALANCE CANVAS ---
= = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = = = = = = = =
@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @
* * * * * * * : : : : : : :
* * * * * * * : : : : : : :
* * * * * * * : : : : : : :
--- COGNITIVE METRICS REPORT ---
- Visual Weight Centroid: (0.342, 0.323) | Total Weight Mass: 6207
- Cognitive Load Index: 82 | Rating: Visual Overload (Friction High)
[Elements Count: 10 | Interactive Count: 2 | Colors: 39]
- Layout Balance Advice: Warning: Too many colors or interactive targets.
--- STRUCTURAL DESIGN CRITIQUE ---
- Visual Weight Centroid is skewed significantly LEFT.
- Typographic Rhythm warning: No max-width: 65ch paragraph boundary detected.
Run it:
node skills/utils/design-simulator.js --file ./index.html
$ node skills/utils/search.js --fonts "elegant" --classification "Serif"
| NAME | CLASSIFICATION | USE_CASE | MOOD | PAIRING |
| ------------------ | -------------- | --------------------- | ------------------------------- | --------------- |
| Instrument Serif | Serif | Editorial headlines | Elegant authority | Instrument Sans |
| DM Serif Display | Serif | Display serif headers | Elegant display serif | DM Sans |
| Cormorant Garamond | Serif | Elegant Garamond body | Elegant Garamond sophistication | Work Sans |
| Arapey | Serif | Elegant serif body | Elegant serif warmth | Open Sans |
Searches 1000 underrated fonts without burning tokens parsing CSV files.
Launch with
node skills/explorer/server.jsand openhttp://localhost:3000. Features glassmorphic Bento cards, live Google Fonts previewing, masonry image grid, and dark/light mood toggle.
Agents build โ screenshot โ analyze โ mutate in an autonomous reflexion cycle. The self-evolver generates
evolution-prompt.mdwith specific CSS repair recipes. Even GPT-3.5 class models can use this loop.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ORCHESTRATOR โ
โ SKILL.md (root) โ
โ Intent detection โ Skill routing โ Token budget โ
โโโโโโโโโโโโฌโโโโโโโโโโโโฌโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โ โ โ
โโโโโโโผโโโโโโ โโโโโผโโโโ โโโโโโผโโโโโ
โ Design โ โ Front โ โ Backend โ
โ Skill โ โ end โ โ Skill โ
โ 18 refs โ โ16 refsโ โ 8 refs โ
โโโโโโโฌโโโโโโ โโโโโฌโโโโ โโโโโโฌโโโโโ
โ โ โ
โโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโ
โ TOOLING SYSTEM โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ search.js CLI search โ
โ ๐ฏ svg-generator Vector logos โ
โ ๐ธ screenshot.js Vision bridge โ
โ ๐งฎ design-sim Layout audit โ
โ ๐ผ๏ธ image-analyzer PNG decoder โ
โ ๐ self-evolver Reflexion loopโ
โ ๐ server.js Web explorer โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The orchestrator detects request intent and loads only the relevant skill to conserve tokens:
| Your Request | Skill Loaded |
|---|---|
| "Build a stunning hero with scroll animations" | design-skill |
| "Create a responsive landing page" | web-dev-frontend-skill |
| "Add OAuth to our API" | web-dev-backend-skill |
| "Award-winning SaaS landing page" | design-skill โ web-dev-frontend-skill |
| "Fix this typo" | No skill loaded (token optimization) |
npx --package skills -- skills add aggu000000-lgtm/UI-UX-skill -yPlace SKILL.md in your project root. The orchestrator auto-loads the appropriate skill based on request intent.
Paste the contents of SKILL.md at the start of your conversation, then describe your UI task.
Every tool is zero-dependency โ runs on Node.js stdlib alone. No npm install required.
Query 1000 handcrafted design elements, 1000 underrated fonts, and royalty-free images โ without burning tokens parsing CSV files:
# Search design elements
node skills/utils/search.js --elements "glassmorphism" --category "Layout"
# Search fonts by mood
node skills/utils/search.js --fonts "elegant" --classification "Serif" --mood "Luxury"
# Search royalty-free images (Unsplash CDN + offline fallback)
node skills/utils/search.js --images "mountain landscape" --viewThe --view flag renders image thumbnails directly in your terminal as colored ANSI blocks โ so even text-only agents can "see" search results.
Generate mathematically precise vector logos in 4 distinct styles:
# Geometric Bento style
node skills/utils/svg-generator.js --type bento --name "Acme" --output logo.svg
# Organic hand-crafted style
node skills/utils/svg-generator.js --type organic --name "Mindfulness" --output logo.svg
# Brutalist industrial style
node skills/utils/svg-generator.js --type brutalist --name "SysControl" --output logo.svg
# Cinematic portal style
node skills/utils/svg-generator.js --type cinematic --name "Infinite" --output logo.svg| Style | Visual DNA |
|---|---|
| Bento | OKLCH gradients, concentric mesh, glassmorphic shield, squircle rotation |
| Organic | Paper grain texture, wobble displacement, botanical leaf, watercolor washes |
| Brutalist | Blueprint grid, radar rings, 3D isometric wireframe cube, crosshair ticks |
| Cinematic | Portal loop curves, gradient glow, gaussian blur, serif italic typography |
Give text-only AI agents the ability to see what they build:
# Capture and visualize in terminal
node skills/utils/screenshot.js --url http://localhost:3000 --output screenshot.png --view
# Capture a local HTML file
node skills/utils/screenshot.js --url ./my-page.html --output capture.png --view --width 1440Output includes:
- Truecolor ANSI block rendering (colored pixels in terminal)
- ASCII luminance blueprint (brightness character map)
- Average luminance, visual weight center, dominant color palette (RGB/HSL/OKLCH)
Programmatic layout auditor that mathematically analyzes your HTML:
node skills/utils/design-simulator.js --file ./index.htmlAnalyzes:
- Visual weight centroid (center-of-mass of layout density)
- Hick's Law Cognitive Friction Index (elements ร interactivity ร color complexity)
- ASCII density map (24ร12 grid visualization of visual weight)
- Structural warnings (centroid skew, missing
max-width: 65ch, non-spring easing)
Autonomous design repair โ coordinates screenshot + simulator to generate mutation recipes:
node skills/utils/self-evolver.js --file ./index.html --generation 1The loop:
- Build โ Agent writes HTML/CSS
- Capture โ Headless screenshot + terminal vision
- Analyze โ Design simulator scores layout, contrast, cognitive load
- Mutate โ Generates
evolution-prompt.mdwith specific CSS repair directives - Repeat โ Agent reads mutations, applies fixes, re-runs until audit passes
Premium Bento Grid web interface for browsing all assets:
node skills/explorer/server.js
# Open http://localhost:3000Features: Glassmorphic cards, live Google Fonts previewing, masonry image grid, dark/light mood toggle, category filters, copy-to-clipboard CSS imports.
This isn't blind token prediction. Agents using this skill understand the mathematics behind why designs work:
| Principle | Formula / Rule | Application |
|---|---|---|
| Visual Weight | W = S ร ฮL ร (1 + C) |
Size ร lightness contrast ร chroma determines visual gravity |
| Hick's Law | T = b ร logโ(n + 1) |
Max 7 interactive elements per section, max 3 color hues |
| APCA Contrast | Lc > 75 for body text | Size-dependent perceptual contrast replacing outdated 4.5:1 ratios |
| Gestalt Spacing | 8pt modular grid | Proximity groups, similarity via CSS variables, continuity via subgrid |
| Typography Rhythm | max-width: 65ch |
Line-height inverse scale: 1.1 display โ 1.5 body โ 1.8 captions |
| Spring Physics | cubic-bezier(0.34, 1.56, 0.64, 1) |
Natural motion feel โ no linear easing, no jQuery defaults |
| Dopamine Budget | 3 reward moments max | Strategic delight placement based on neuroscience |
Every interface gets ONE motion personality. This drives all animation choices:
| Personality | Best For | Easing | Duration | Character |
|---|---|---|---|---|
| Whisper | Luxury, editorial | cubic-bezier(0.25, 0.1, 0.25, 1) |
400-600ms | Subtle fades, gentle slides |
| Breathe | Wellness, lifestyle | cubic-bezier(0.34, 1.56, 0.64, 1) |
300-500ms | Organic expansions |
| Snap | SaaS, fintech | cubic-bezier(0.34, 1.56, 0.64, 1) |
150-300ms | Quick, elastic |
| Flow | Creative agencies | cubic-bezier(0.4, 0, 0.2, 1) |
400-800ms | Liquid, connected |
| Pulse | Social, real-time | cubic-bezier(0.4, 0, 0.6, 1) |
200-400ms | Rhythmic, heartbeat |
1000 documented banned patterns. Non-negotiable.
| Category | โ Banned | โ Use Instead |
|---|---|---|
| Layout | 12-column grids, centered heroes | Bento grids, asymmetric layouts |
| Color | Light-only, purple-blue gradients | Dark mode first, OKLCH perceptual color |
| Animation | Linear easing, GSAP-only | CSS Scroll-Driven, spring physics |
| Typography | Inter / Roboto / Poppins | Underrated fonts from curated CSV |
| Components | Card soup, generic modals | Contextual surfaces, bento cells |
| Icons | Font Awesome defaults | Custom SVG, brand-specific marks |
| Skill | Purpose | References |
|---|---|---|
| design-skill | Creative choreography, motion, dopamine mapping | 18 reference docs |
| web-dev-frontend-skill | Production UI engineering, accessibility, performance | 16 reference docs |
| web-dev-backend-skill | API design, security, database architecture | 8 reference docs |
| Asset | Size | Content |
|---|---|---|
1000-human-made-design-elements.csv |
93 KB | 1000 handcrafted elements across 50+ categories |
1000-underrated-google-fonts.csv |
176 KB | 1000 fonts with mood profiles, pairing suggestions |
ai-slop-banned.csv |
111 KB | Anti-AI-slop pattern library |
| Tool | Purpose |
|---|---|
search.js |
CLI search across elements, fonts, images |
svg-generator.js |
Mathematical vector logo generation |
screenshot.js |
Headless browser capture + terminal vision |
design-simulator.js |
Cognitive layout auditor |
image-analyzer.js |
Raw PNG decoder + visual analyzer |
self-evolver.js |
Autonomous reflexion loop coordinator |
UI-UX-Skill/
โโโ SKILL.md # Orchestrator โ routes to skills
โโโ README.md
โโโ LICENSE
โโโ 1000-human-made-design-elements.csv # Handcrafted design patterns
โโโ 1000-underrated-google-fonts.csv # Curated font database
โโโ assets/ # README demo images
โ
โโโ skills/
โ โโโ design-skill/
โ โ โโโ SKILL.md # Creative design persona
โ โ โโโ references/
โ โ โโโ ai-slop-banned.csv # 1000 banned AI patterns
โ โ โโโ bento-grid-layouts.md
โ โ โโโ choreography-patterns.md
โ โ โโโ css-2026-features.md
โ โ โโโ design-canvas-protocol.md
โ โ โโโ design-cognition-calculus.md # Math framework
โ โ โโโ design-persona-tones.md
โ โ โโโ motionsites-analysis.md
โ โ โโโ stunning-web-patterns.md
โ โ โโโ 3d-web-integration.md
โ โ โโโ ai-first-ui-patterns.md
โ โ โโโ ethical-privacy-ux.md
โ โ โโโ hero-video-cdn-resources.md
โ โ โโโ sustainable-ux.md
โ โ โโโ wcag-3-reference.md
โ โ
โ โโโ web-dev-frontend-skill/
โ โ โโโ SKILL.md # Engineering persona
โ โ โโโ references/
โ โ โโโ accessibility-checklist.md
โ โ โโโ color-systems.md
โ โ โโโ design-tokens.md
โ โ โโโ industry-benchmarks.md
โ โ โโโ interaction-physics.md
โ โ โโโ performance-budgets.md
โ โ โโโ responsive-engineering.md
โ โ โโโ typography-scale.md
โ โ
โ โโโ web-dev-backend-skill/
โ โ โโโ SKILL.md # Backend persona
โ โ โโโ references/
โ โ โโโ api-design.md
โ โ โโโ authentication-authorization.md
โ โ โโโ database-architecture.md
โ โ โโโ deployment-ops.md
โ โ โโโ performance-scaling.md
โ โ โโโ security-hardening.md
โ โ โโโ testing-strategy.md
โ โ
โ โโโ utils/ # Zero-dependency tooling
โ โ โโโ search.js # CLI search engine
โ โ โโโ svg-generator.js # Vector logo generator
โ โ โโโ screenshot.js # Headless capture + vision
โ โ โโโ design-simulator.js # Cognitive layout auditor
โ โ โโโ image-analyzer.js # PNG decoder + analyzer
โ โ โโโ self-evolver.js # Reflexion loop engine
โ โ
โ โโโ explorer/ # Visual dashboard
โ โโโ server.js # Zero-dep HTTP server
โ โโโ index.html # Bento Grid UI
โ โโโ explorer.css # OKLCH glassmorphic styles
โ โโโ explorer.js # Client-side logic
โ
โโโ .github/
โโโ workflows/ # Gemini Code Assist CI
โโโ commands/ # Gemini command configs
| Standard | Implementation |
|---|---|
| Bento Grid 2.0 | Asymmetric, dynamic card layouts with deep organic squircles |
| Generative UI | 4-state AI lifecycle: idle โ thinking โ streaming โ stabilizing |
| APCA & WCAG 3.0 | Advanced Perceptual Contrast replacing outdated 4.5:1 ratios |
| CSS Scroll-Driven | Native scroll-linked animations via animation-timeline: view() |
| Container Queries | Component-level responsiveness via @container |
| OKLCH Colors | Perceptually uniform color adjustments and "Mood Modes" |
| WebGPU | Three.js compute shaders for high-framerate 3D |
| Sustainable UX | Eco-brutalism, edge rendering, carbon-aware budgets |
We've analyzed 500+ award-winning websites from Awwwards SOTM, FWA, and CSS Design Awards to extract the god-tier patterns that make designs truly premium.
- The Line Agency (Awwwards SOTM) - Custom variable fonts, Lenis smooth scroll, named color systems
- Adrian Hajdin's Award-Winning Site - Video frame clip-path animations, progressive loading, GSAP transitions
- Cuberto Sequence Scroll - Canvas + scroll animations, smooth scrollbar integration
- Bruno Simon Patterns - Three.js scenes, character animations, scroll-driven 3D cameras
Access: See premium-award-winning-patterns.md
New CLI tool to scan your code for banned patterns and verify premium quality:
# Check a single file
node skills/utils/anti-slop-checker.js --file index.html
# Check an entire directory
node skills/utils/anti-slop-checker.js --dir ./srcFeatures:
- โ Scans for 1000+ banned AI-slop patterns
- โ Detects premium feature usage
- โ Outputs detailed audit report
- โ Calculates Premium Score (0-100)
- โ Provides actionable recommendations
Visual references and 3D scenes now use local, machine-readable contracts under assets/. Each contract records origin, license, responsive visual evidence, fallback behavior, accessibility notes, and resource budgets.
node skills/utils/visual-contract-checker.js --assets assetsThe included Prism Stage is an original, poster-first 3D asset example with semantic and low-power fallbacks. The corpus also includes four original direction imagesโeditorial material, product precision, wellness tactile, and cultural archiveโfor comparing composition before a project picks a visual system. Contract validation is intentionally not a visual-quality certificate: browser screenshots, accessibility/performance testing, and human review remain release requirements. See the 3D production protocol, AI design quality handbook, and visual validation protocol.
node skills/utils/reference-to-code.js --image ./authorized-reference.png --output ./reconstruction --title "Project name"This zero-dependency feature reads an authorized PNG for palette and visual-weight hints, then creates a semantic responsive HTML starter and a machine-readable reconstruction brief. It deliberately does not promise exact conversion: a screenshot cannot reveal fonts, DOM, responsive rules, interactions, content semantics, or licensing. Use the generated brief to run render-and-compare repair iterations.
Works with 45+ coding agents including:
Claude Code ยท Cursor ยท Codex ยท GitHub Copilot ยท Gemini CLI ยท Windsurf ยท OpenCode ยท Cline ยท Aider ยท Continue ยท Void ยท PearAI ยท Amp ยท and more.
Elegance is not about adding beauty. It is about removing friction.
A well-built interface does not announce itself. It disappears into the task. The user does not notice the design โ they notice that everything just works.
This skill system doesn't just instruct AI what to build. It teaches AI why designs work, gives it eyes to see its own output, and gives it a feedback loop to self-correct. That's the difference between decoration and discipline.
This project is built and maintained by a dedicated team of three:
- Author: aggu000000-lgtm (X: @silent_butagrim)
- Co-Author: Antigravity AI (AI Coding Assistant by Google DeepMind)
- Co-Author: Jules Google Bot (Autonomous Workflow Agent)
MIT โ Copyright (c) 2026 aggu000000-lgtm, Antigravity AI, Jules Google Bot.
Do what you want with this. Just keep the license intact.


