polished-ui-skills
v1.0.1
Published
Install the polished-ui-design agent skill into any AI coding agent or IDE (Cursor, Kiro, Antigravity, Codex, Claude, Copilot, Windsurf, Gemini).
Maintainers
Readme
Polished UI Skills
A portable Agent Skill that guides AI coding agents to produce polished, professional web UI instead of the generic "AI slop" / "vibe coded" look — with one-command install for every major AI coding agent and IDE.
The problem it solves: left unconstrained, an AI generates the statistical average of its training data — purple gradients, Inter everywhere, glowing cards, emojis as icons, and a card around every block. This skill gives the agent the constraints, checklist, and workflow to make deliberate, brand-appropriate design choices instead.
Quick install (CLI)
Run this in your project root — it auto-detects which agents you use and installs the rules in the right place and format for each:
npx polished-ui-skills@latestOther modes:
npx polished-ui-skills@latest --all # install for every supported agent
npx polished-ui-skills@latest --agent cursor # install for one specific agent
npx polished-ui-skills@latest --list # list supported agents + target paths
npx polished-ui-skills@latest --dir ./app # target a different project root
npx polished-ui-skills@latest --help # usageThe installer is idempotent and non-destructive: for shared files like
AGENTS.md it injects a marked block between
<!-- POLISHED-UI-SKILLS:BEGIN --> / <!-- ...:END --> sentinels, preserving
your existing content and updating cleanly on re-run.
Supported agents & IDEs
| Agent / IDE | Installed to | Format |
|---|---|---|
| Cursor | .cursor/rules/polished-ui-design.mdc | .mdc + frontmatter (globs, alwaysApply) |
| Kiro | .kiro/steering/polished-ui-design.md | steering + inclusion: fileMatch |
| Claude Code | .claude/skills/polished-ui-design/SKILL.md | native Agent Skill |
| Antigravity (Google) | .agent/rules/polished-ui-design.md | flat rules markdown |
| Windsurf | .windsurf/rules/polished-ui-design.md | rules markdown |
| GitHub Copilot | .github/copilot-instructions.md | injected section |
| Codex (OpenAI) | AGENTS.md | injected section (AGENTS.md standard) |
| Gemini CLI | GEMINI.md | injected section |
The
AGENTS.mdfile is a cross-tool standard also read by Copilot, Cursor (as a fallback), and others — so even agents not listed here often pick it up.
What's inside
polished-ui-skills/
├── bin/cli.js # the installer (zero-dependency Node)
├── skills/polished-ui-design/
│ ├── SKILL.md # full skill: workflow + pre-ship self-check
│ └── references/
│ ├── anti-patterns.md # the 7 tells of vibe-coded UI + fixes
│ ├── design-tokens.md # 3-tier token architecture + guardrails
│ └── prompting.md # effective prompting loop + template
├── adapters/ # per-tool source templates
│ ├── cursor.mdc
│ ├── kiro-steering.md
│ └── generic.md
├── shared/RULES.md # canonical compact rules body
├── package.json
└── LICENSESKILL.md starts with YAML frontmatter (name, description) that native-skill
agents preload for discovery; the reference files load on demand (progressive
disclosure), keeping context lean until a topic is needed. For rules-based
agents, the CLI installs a compact version of the same guidance.
Manual install (no CLI)
Prefer to copy files yourself? Use the table above to place the matching adapter:
- Native skill (Claude, or any skill-aware agent): copy
skills/polished-ui-design/into your skills directory (e.g..claude/skills/). - Cursor: copy
adapters/cursor.mdcto.cursor/rules/polished-ui-design.mdc. - Kiro: copy
adapters/kiro-steering.mdto.kiro/steering/polished-ui-design.md. - Everything else (Antigravity, Windsurf, Copilot, Codex, Gemini): copy the
body of
adapters/generic.mdinto that tool's rules/instructions file (see table).
The rules in one line
Constrain first (design system) → generate against the constraints → critique against the anti-pattern checklist → add guardrails so quality holds.
The seven anti-patterns it steers away from: competing neon palettes, decorative
dark-mode glow, emojis as UI chrome, the ubiquitous purple gradient, cards around
everything, rainbow accent side-tabs, and meaningless status dots. See
skills/polished-ui-design/references/anti-patterns.md.
Sources
Synthesized and rephrased (for licensing compliance) from:
- Firebase Studio: Effective prompting
- Google Labs: Stitch AI UI design
- The Fountain Institute: 7 Signs a UI Has Been Vibe Coded
- BrainGrid: Design Systems for AI Coding — Stop Getting Purple Gradients
- Anthropic: Equipping agents with Agent Skills
Agent config-file conventions referenced from each tool's official docs
(OpenAI Codex AGENTS.md, Cursor rules, Kiro steering, Google Antigravity,
GitHub Copilot custom instructions, Windsurf rules, Gemini CLI).
License
MIT — see LICENSE.
