Skip to content
Agent Orchestration
Skill

/polish

Performs a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the user mentions polish, finishing touches, pre-launch review, something looks off, or wants to go from good to great.

From plugin
ccg
6k47 skills19 commands

Claude Code

$ npx -y skills add fengshao1227/ccg-workflow --skill polish --agent claude-code

SKILL.md

polish.SKILL.md
name: polish
description: "Performs a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the user mentions polish, finishing touches, pre-launch review, something looks off, or wants to go from good to great."
argument-hint: "[target]"
user-invocable: false

MANDATORY PREPARATION

Invoke /frontend-design — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /teach-impeccable first. Additionally gather: quality bar (MVP vs flagship).

---

Perform a meticulous final pass to catch all the small details that separate good work from great work. The difference between shipped and polished.

Pre-Polish Assessment

Understand the current state and goals:

1. **Review completeness**:

  • Is it functionally complete?
  • Are there known issues to preserve (mark with TODOs)?
  • What's the quality bar? (MVP vs flagship feature?)
  • When does it ship? (How much time for polish?)

2. **Identify polish areas**:

  • Visual inconsistencies
  • Spacing and alignment issues
  • Interaction state gaps
  • Copy inconsistencies
  • Edge cases and error states
  • Loading and transition smoothness

**CRITICAL**: Polish is the last step, not the first. Don't polish work that's not functionally complete.

Polish Systematically

Work through these dimensions methodically:

Visual Alignment & Spacing

  • **Pixel-perfect alignment**: Everything lines up to grid
  • **Consistent spacing**: All gaps use spacing scale (no random 13px gaps)
  • **Optical alignment**: Adjust for visual weight (icons may need offset for optical centering)
  • **Responsive consistency**: Spacing and alignment work at all breakpoints
  • **Grid adherence**: Elements snap to baseline grid

**Check**:

  • Enable grid overlay and verify alignment
  • Check spacing with browser inspector
  • Test at multiple viewport sizes
  • Look for elements that "feel" off

Typography Refinement

  • **Hierarchy consistency**: Same elements use same sizes/weights throughout
  • **Line length**: 45-75 characters for body text
  • **Line height**: Appropriate for font size and context
  • **Widows & orphans**: No single words on last line
  • **Hyphenation**: Appropriate for language and column width
  • **Kerning**: Adjust letter spacing where needed (especially headlines)
  • **Font loading**: No FOUT/FOIT flashes

Color & Contrast

  • **Contrast ratios**: All text meets WCAG standards
  • **Consistent token usage**: No hard-coded colors, all use design tokens
  • **Theme consistency**: Works in all theme variants
  • **Color meaning**: Same colors mean same things throughout
  • **Accessible focus**: Focus indicators visible with sufficient contrast
  • **Tinted neutrals**: No pure gray or pure black—add subtle color tint (0.01 chroma)
  • **Gray on color**: Never put gray text on colored backgrounds—use a shade of that color or transparency

Interaction States

Every interactive element needs all states:

  • **Default**: Resting state
  • **Hover**: Subtle feedback (color, scale, shadow)
  • **Focus**: Keyboard focus indicator (never remove without replacement)
  • **Active**: Click/tap feedback
  • **Disabled**: Clearly non-interactive
  • **Loading**: Async action feedback
  • **Error**: Validation or error state
  • **Success**: Successful completion

**Missing states create confusion and broken experiences**.

Micro-interactions & Transitions

  • **Smooth transitions**: All state changes animated appropriately (150-300ms)
  • **Consistent easing**: Use ease-out-quart/quint/expo for natural deceleration. Never bounce or elastic—they feel dated.
  • **No jank**: 60fps animations, only animate transform and opacity
  • **Appropriate motion**: Motion serves purpose, not decoration
  • **Reduced motion**: Respects `prefers-reduced-motion`

Content & Copy

  • **Consistent terminology**: Same things called same names throughout
  • **Consistent capitalization**: Title Case vs Sentence case applied consistently
  • **Grammar & spelling**: No typos
  • **Appropriate length**: Not too wordy, not too terse
  • **Punctuation consistency**: Periods on sentences, not on labels (unless all labels have them)

Icons & Images

  • **Consistent style**: All icons from same family or matching style
  • **Appropriate sizing**: Icons sized consistently for context
  • **Proper alignment**: Icons align with adjacent text optically
  • **Alt text**: All images have descriptive alt text
  • **Loading states**: Images don't cause layout shift, proper aspect ratios
  • **Retina support**: 2x assets for high-DPI screens

Forms & Inputs

  • **Label consistency**: All inputs properly labeled
  • **Required indicators**: Clear and consistent
  • **Error messages**: Helpful and consistent
  • **Tab order**: Logical keyboard navigation
  • **Auto-focus**: Appropriate (don't overuse)
  • **Validation timing**: Consistent (on blur vs on submit)

Edge Cases & Error States

  • **Loading states**: All async actions have loading feedback
  • **Empty states**: Helpful empty states, not just blank space
  • **Error states**: Clear error messages with recovery paths
  • **Success states**: Confirmation of successful actions
  • **Long content**: Handles very long names, descriptions, etc.
  • **No content**: Handles missing data gracefully
  • **Offline**: Appropriate offline handling (if applicable)

Responsiveness

  • **All breakpoints**: Test mobile, tablet, desktop
  • **Touch targets**: 44x44px minimum on touch devices
  • **Readable text**: No text smaller than 14px on mobile
  • **No horizontal scroll**: Content fits viewport
  • **Appropriate reflow**: Content adapts logically

Performance

  • **Fast initial load**: Optimize critical path
  • **No layout shift**: Elements don't jump after load (CLS)
  • **Smooth interactions**: No lag or jank
  • **Optimized images**: Appropriate formats and sizes
  • **Lazy loading**: Off-screen content loads lazily

Code Qual

Read more
@fengshao1227
Ships withccg

多模型协作工作流引擎 — /ccg:go 一个命令,AI 自动分析意图、选择策略、编排 Codex + Gemini + Claude 协作执行

Stars on GitHub

Momentum

stars in total
6.0k
Star history of fengshao1227/ccg-workflow on GitHub, a chart by star-history.com

Other skills on ccg.

ccg-workflow

ccg-workflow

How to run a non-trivial change end to end with the CCG role tools (ccg_analyze / ccg_design / ccg_build / ccg_debug /…

@fengshao1227@fengshao1227Install Skill
gen-docs

gen-docs

文档生成器。自动分析模块结构,生成 README.md 和 DESIGN.md 骨架。当用户提到生成文档、创建README、创建DESIGN、文档骨架、文档模板时使用。在新建模块开始时自动触发。

@fengshao1227@fengshao1227Install Skill
verify-change

verify-change

变更校验关卡。分析代码变更,检测文档同步状态,评估变更影响范围。当用户提到变更检查、文档同步、代码审查、提交前检查、diff分析时使用。在设计级变更、重构完成时自动触发。

@fengshao1227@fengshao1227Install Skill
verify-module

verify-module

模块完整性校验关卡。扫描目录结构、检测缺失文档、验证代码与文档同步。当用户提到模块校验、文档检查、结构完整性、README检查、DESIGN检查时使用。在新建模块完成时自动触发。

@fengshao1227@fengshao1227Install Skill
verify-quality

verify-quality

代码质量校验关卡。检测复杂度、重复代码、命名规范、函数长度等质量指标。当用户提到代码质量、复杂度检查、代码异味、重构建议、lint检查、代码规范时使用。在复杂模块、重构完成时自动触发。

@fengshao1227@fengshao1227Install Skill
verify-security

verify-security

安全校验关卡。自动扫描代码安全漏洞,检测危险模式,确保安全决策有文档记录。当用户提到安全扫描、漏洞检测、安全审计、代码安全、OWASP、注入检测、敏感信息泄露时使用。在新建模块、安全相关变更、攻防任务、重构完成时自动触发。

@fengshao1227@fengshao1227Install Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw7d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca5d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip6d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about polish.

Which coding agents can use polish?
polish installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.