← 返回
未分类

Frontend Improving

Improve the visual design, usability, responsiveness, and polish of existing frontend interfaces. Use when Codex is asked to beautify, restyle, redesign, refine, modernize, or visually improve web UI, React/Vue/Svelte components, HTML/CSS layouts, dashboards, forms, landing pages, tools, or app screens while preserving existing behavior.
Improve the visual design, usability, responsiveness, and polish of existing frontend interfaces. Use when Codex is asked to beautify, restyle, redesign, refine, modernize, or visually improve web UI, React/Vue/Svelte components, HTML/CSS layouts, dashboards, forms, landing pages, tools, or app screens while preserving existing behavior.
user_17062593
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 56
下载
💾 0
安装
1
版本
#latest

概述

Beautify Frontend

Purpose

Use this skill to turn a working frontend into a more polished, coherent, production-quality interface without changing the product's intent or breaking existing behavior.

Core Workflow

  1. Inspect the current UI structure, styles, routes, and component boundaries before editing.
  2. Identify the product type and audience: dashboard, SaaS tool, content site, creative page, ecommerce, game, or utility.
  3. Preserve existing user flows, state, data contracts, accessibility intent, and tests unless the user explicitly asks for behavior changes.
  4. Improve the design system first: spacing scale, typography, color roles, surface hierarchy, controls, icons, empty/loading/error states, and responsive rules.
  5. Implement the smallest coherent set of changes that makes the interface feel intentional across desktop and mobile.
  6. Run the project checks available in the repository, then inspect the rendered UI when a dev server or static preview is available.

Design Priorities

Prioritize clarity over decoration. Make important actions obvious, secondary information scannable, and repeated workflows efficient.

Use visual hierarchy deliberately:

  • Establish one primary focal point per screen or section.
  • Keep headings sized to their container; avoid hero-scale type inside panels, cards, sidebars, and compact tools.
  • Use spacing, alignment, and contrast before adding borders or shadows.
  • Prefer consistent component variants over one-off styling.

Use color with restraint:

  • Assign semantic roles for background, surface, text, muted text, border, primary action, danger, success, and warning.
  • Avoid one-note palettes dominated by a single hue family.
  • Avoid excessive purple/blue gradients, beige/tan themes, dark slate themes, and orange/brown palettes unless the existing brand requires them.
  • Check CSS colors before finishing; revise if the page reads as visually monotonous.

Use assets and icons appropriately:

  • Use the project's existing icon library when available; prefer lucide icons if it is already installed.
  • Use bitmap or real product/place/person imagery for websites where visuals matter.
  • Avoid decorative orbs, bokeh blobs, generic abstract SVG hero art, and stock-like dark blurred backgrounds.

Layout Rules

Use stable dimensions for fixed-format UI:

  • Boards, grids, toolbar buttons, counters, tiles, and controls need explicit sizing, aspect ratios, or responsive constraints.
  • Hover states, icons, dynamic labels, and loading text must not shift the layout.

Keep layout architecture clean:

  • Do not put UI cards inside other cards.
  • Do not make every page section a floating card.
  • Use cards for repeated items, modals, and genuinely framed tools.
  • Use full-width bands or unframed constrained layouts for major page sections.

Make responsive behavior real:

  • Test narrow mobile, tablet-ish, and desktop widths when possible.
  • Ensure text does not overflow buttons, tabs, cards, panels, or nav items.
  • Do not scale font size directly with viewport width.
  • Keep letter spacing at 0 unless matching an existing design system.

Interaction And Accessibility

Use familiar controls for familiar jobs:

  • Icon buttons for tools and compact commands, with accessible labels or tooltips.
  • Segmented controls for modes.
  • Toggles or checkboxes for binary settings.
  • Sliders, steppers, or numeric inputs for numeric values.
  • Menus for option sets.
  • Tabs for switching views.

Check interactive states:

  • Hover, focus-visible, active, selected, disabled, loading, empty, and error states should be visually distinct.
  • Keyboard focus must remain visible.
  • Contrast must be sufficient for body text, muted labels, borders that carry meaning, and disabled states.

Frontend Implementation Guidance

Follow the repository's existing framework, file structure, styling method, and component conventions.

When editing React or component-based code:

  • Keep state and data flow unchanged unless visual behavior requires a small local adjustment.
  • Extract reusable UI pieces only when it reduces meaningful duplication or matches local patterns.
  • Avoid broad refactors during visual polish.
  • Prefer CSS classes, tokens, and component variants over inline one-offs when the codebase supports them.

When editing CSS:

  • Consolidate repeated values into existing tokens or local custom properties when appropriate.
  • Remove obsolete style rules only after confirming they are unused by the edited UI.
  • Keep animations subtle, purposeful, and respectful of prefers-reduced-motion when motion is substantial.

Verification Checklist

Before finishing, verify:

  • The app builds or the relevant checks pass, when available.
  • The primary screen renders without broken assets or console-visible layout failures.
  • Desktop and mobile layouts are coherent.
  • No text overlaps or escapes its container.
  • Primary actions, navigation, form fields, and dialogs remain usable.
  • Visual changes preserve existing functionality.

If verification cannot be run, state what was not run and why.

版本历史

共 1 个版本

  • v1.0.0 Initial release 当前
    2026-05-24 22:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,470
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,682
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 326,810