borghei/Claude-Skills / engineering/interface-refinement
interface-refinement
VerifiedRefine an existing interface with named commands (critique, polish, distill, typeset, colorize ...), a product and design context file, and a static detector of generic UI patterns. Use when UI looks generic, cluttered or unfinished.
assets/sample_refinement_plan.json
View on GitHub{
"target": "src/pages/invoices.tsx",
"mode": "operate",
"evidence": "detector report 2026-11-08: 14 findings, 5 high",
"steps": [
{
"command": "audit",
"changes": [],
"must_not_touch": [],
"verify": ["audit report scored on five dimensions with file:line for every P0/P1"]
},
{
"command": "harden",
"changes": ["restore a 2px focus-visible ring on row actions and the bulk-reminder button"],
"must_not_touch": ["table column order", "invoice copy", "reminder send logic"],
"verify": ["tab through the table with the keyboard; every control shows a ring with 3:1 contrast", "rerun detector: focus-ring-removed gone"]
},
{
"command": "distill",
"changes": ["turn the nested status cards inside each invoice card into one metadata row", "keep one status chip (overdue) and print the rest as text"],
"must_not_touch": ["amount and due-date columns", "the overdue-first sort"],
"verify": ["rerun detector: nested-cards and chip-soup gone", "screenshot at 375px and 1280px before/after"]
},
{
"command": "typeset",
"changes": ["raise row metadata from 11px to 14px", "set amounts in tabular numerals"],
"must_not_touch": ["the type family", "heading sizes"],
"verify": ["rerun detector: tiny-text gone", "zoom to 200% and confirm no row clips"]
},
{
"command": "polish",
"changes": ["align row paddings to the 8/12/16 steps", "theme text selection and the table scrollbar from the palette"],
"must_not_touch": ["anything outside src/pages/invoices.tsx and its stylesheet"],
"verify": ["rerun detector with --fail-on advisory: exit 0", "keyboard pass and screenshot pass at 375px and 1280px"]
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |