agentleFS
cano721cano721/ai-harness/skills/design-polish/SKILL.md

design-polish

Skill1 starsChanged 4 months agoMITView on GitHub

Polish existing screens as a whole — hierarchy, spacing, color, consistency with sibling screens and the design rules — by measuring them in a real browser, listing what to fix with evidence, and (in a repository whose harness has the design-polish workflow) fixing the items the person picks and measuring again. Use when a working screen should look and read better ("이 화면 전반적으로 다듬어줘", "polish this page", "보드 화면 품질 좀 올려줘"). In a repository without that workflow it critiques and lists the fixes only. Do not use to draw a new screen or mockup (design-screen), to build a feature (implement-feature), to fix broken behavior (fix-bug), for a marketing page (landing-page), or to create design rules (design-system-builder).

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    no design rule document or reference screen → /ai-harness:design-system-builder creates them.

    line 23
  2. Distinctive:

    Do not edit the repository in this path, and do not report a screen as polished without an after measurement.

    line 27

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design Polish

Make existing screens better against the project's own rules, with before-and-after evidence. A polish nobody measured is an opinion; this skill measures first and last.

Route first

  1. The repository has the design-polish workflow — .ai-harness/workflows/design-polish-graph.json exists. Follow the project entry instead of this file: .claude/commands/design-polish.md (Claude) or .agents/skills/design-polish/SKILL.md (Codex). It runs bash .ai-harness/workflows/workflow-driver.sh start --workflow polish --request "<screens and what to improve>": baseline measure → independent diagnose → the person picks items → fix → checks → measure again → independent review, and publishes as the project's git_policy allows. Stop reading here.
  2. The repository has a harness but not this workflow (.ai-harness/harness.json exists) — tell the person /harness-init --sync --apply adds it, then continue below for a critique now.
  3. No harness — continue below. This path changes no file.

Critique and fix list (no file changes)

  1. Find the screens and the rules. Read the request, then find how to open the screens (README, package scripts, a static HTML file) and the design rules: a design rule document (DESIGN.md, docs/design-system.md, docs/design/*.md), tokens, shared components, and a reference screen (Storybook or an example page). Note what is missing; do not invent rules.
  2. Measure. Open each target screen in a real browser (Playwright or the browser tool you have) at a mobile width (about 375px), a tablet width, and a desktop width, in every theme the screens support, in the default state before hovering. Save the captures outside the repository (for example ~/.ai-harness/polish/<repository>/<date>/). Also capture one or two screens that share the target's components, so a later fix to a shared part is visible. Do not start servers with production credentials, and stop what you started. Before judging anything else, look at each capture for an empty band (a row or column stretched with no content), horizontal overflow, and clipped or cut-off text — a score can miss them. A full-page capture shows a sticky or fixed sidebar or header only at the top of the page, so its background seems to stop at the viewport height; scroll the live page before calling that a defect.
  3. Critique independently. Hand the captures and the rule sources to a reviewer that did not make the screens: the ai-harness:design-reviewer agent on Claude, or a fresh read-only session elsewhere. Give it the capture paths, the rule document path, and the request — not your conclusions. When the rule document's ## 원칙 has ### 서비스, name it as critique evidence too: a screen that breaks its character or its avoid list is a finding. If no separate reviewer can run, critique yourself and say so in the report.
  4. Write the fix list, most severe first, ids P1, P2, …. Each item: severity (major — a broken hierarchy or primary action, unreadable contrast or a missing focus state, a rule-document violation, a screen that disagrees with its siblings, a layout broken at a viewport or theme; minor — the rest worth fixing), what is wrong, evidence (the capture file and the rule-document section it breaks, when there is one), and the fix in tokens and shared components rather than raw values. Mark items a machine check could catch. Put anything that needs a product or content decision in a separate list.
  5. Report the capture folder, the fix list, and the next step:
    • no design rule document or reference screen → /ai-harness:design-system-builder creates them; without them a polish cannot be scored, only critiqued;
    • rules exist but the repository has no harness → /harness-init, enabling the UI review and design scoring stacks (ui, design-system), adds this workflow with the measure–fix–review loop;
    • the person wants the fixes now anyway → the fixes are ordinary code changes; after them, capture the same screens at the same sizes again and compare before calling it done.

Do not edit the repository in this path, and do not report a screen as polished without an after measurement.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.