Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

interface-refinement

БесплатноЗапускает вложенные скриптыНе проверен

Refine an existing interface with named commands (critique, polish, distill, typeset, colorize ...), a product and design context file, and a static detector…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

Interface Refinement

A shared vocabulary for improving interfaces that already exist. Each command names one kind of change (distill removes, typeset fixes type, colorize gives colour a job, harden survives real content), says what it may change and what it must leave alone, and ends with a check that produces evidence. A context file records the product and its visual system so commands decide from facts. A static detector finds the patterns that make an interface look assembled from defaults: side stripes on rounded cards, gradient text, violet-to-cyan gradients, cream page grounds, eyebrow labels over headings, cards inside cards, chip soup, rows of identical cards, emoji icons, radial hazes, clip-path blobs, faint grey text, removed focus rings, broken images, template headlines and vague button labels. Given the context file, it also reports every literal colour, face, size and radius that has drifted outside the recorded system.

The agent reads the context file and the craft floor before any edit, keeps every change inside the named target, and never calls a refinement done without the evidence its command reference asks for: a rerun scan, a contrast ratio, a keyboard pass, screenshots at real widths.

Two rules hold across every command:

  • Refinement preserves. Identity, behaviour, copy and everything outside the named target stay as they are. If the concept itself is wrong, say so and recommend a redesign; do not smuggle one into a polish pass.
  • Scope is the contract. Every edit step lists what changes, what must not be touched, and how the result is verified. command_router.py --plan refuses plans that skip any of the three.

When to use this skill

  • "This looks generic / AI-made / like every other SaaS page" on an existing page or app
  • Critique or audit a surface before release, with scores and a prioritised fix list
  • A focused pass: typography, colour and contrast, spacing and hierarchy, motion, UX copy, edge cases and focus, responsive adaptation, first-run and empty states
  • "Tone it down" / "make it bolder" on a named section without restyling the rest
  • Gate a pull request that touches markup or styles on generic-pattern and quality findings
  • Write or check the project context file (product brief + design brief) that steers later work
  • Native screens: platform conformance review for iOS and Android

Use engineering/design-auditor for letter grades and landing-page template detection, engineering/a11y-audit for a WCAG scan of alt text, labels and landmarks. To choose a visual direction or build a new site from nothing, use a design-direction or frontend-build skill; this one refines what exists.

Clarify First

The target and its mode change every recommendation. Settle these before editing. When one is missing or vague and would change the result, ask; when it would not, use a sensible default and say which one you used.

  • Target: the file, component or route, and what is out of scope. Refinement edits only the named target.
  • Surface mode: persuade, operate, read or showcase (see references/surface-modes.md). "Quieter" on a dashboard and on a landing page are different jobs.
  • Context file: does interface-context.md exist and pass the linter? If not, offer init for anything bigger than a one-line fix; do not block a narrow fix on it.
  • Binding brand decisions: faces, colours or devices the owner chose on purpose. They override detector findings (waive with a reason).
  • Platform: web, iOS, Android or cross-platform; the web detector does not read native code.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Quick Start

# 1. Scan for generic and quality patterns (exit 1 on findings at or above medium)
python3 engineering/interface-refinement/scripts/ui_slop_detector.py \
  engineering/interface-refinement/assets/sample_ui_flawed.* --format text

# 2. Route the findings to the next commands (exit 1 when access-blocking work exists)
python3 engineering/interface-refinement/scripts/ui_slop_detector.py src/ --format json > detector.json
python3 engineering/interface-refinement/scripts/command_router.py --report detector.json --mode operate

# 3. Validate the refinement plan before editing
python3 engineering/interface-refinement/scripts/command_router.py \
  --plan engineering/interface-refinement/assets/sample_refinement_plan.json

# 4. Check shipped values against the recorded visual system (off-system-* rules, refusals fail)
python3 engineering/interface-refinement/scripts/ui_slop_detector.py src/ \
  --context engineering/interface-refinement/assets/sample_context.md --format text

# 5. Lint the project context file
python3 engineering/interface-refinement/scripts/context_linter.py \
  --input engineering/interface-refinement/assets/sample_co
Полный SKILL.md на GitHub

Установить interface-refinement в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/interface-context-template.mdassets/refinement-report-template.mdassets/sample_context.mdassets/sample_context_flawed.mdassets/sample_detector_report.jsonassets/sample_detector_report_flawed.jsonassets/sample_refinement_plan.jsonassets/sample_refinement_plan_flawed.jsonassets/sample_ui_flawed.cssassets/sample_ui_flawed.htmlassets/sample_ui_flawed.tsxassets/sample_ui_sound.cssassets/sample_ui_sound.htmlassets/sample_ui_sound.tsxreferences/command-adapt.mdreferences/command-animate.mdreferences/command-audit.mdreferences/command-bolder.mdreferences/command-clarify.mdreferences/command-colorize.mdreferences/command-critique.mdreferences/command-delight.mdreferences/command-distill.mdreferences/command-document.mdreferences/command-extract.mdreferences/command-harden.mdreferences/command-init.mdreferences/command-layout.mdreferences/command-onboard.mdreferences/command-optimize.mdreferences/command-polish.mdreferences/command-quieter.mdreferences/command-typeset.mdreferences/craft-floor.mdreferences/detector-rules.jsonreferences/detector-rules.mdreferences/native-platforms.mdreferences/review-protocol.mdreferences/surface-modes.mdscripts/class_checks.py

FAQ

Что делает скилл interface-refinement?

Refine 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.

Как установить скилл interface-refinement?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл interface-refinement запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить interface-refinement с