Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)5.5k · #14803

prettify

Skill này làm gì

Skill này dạy agent cách cải thiện diện mạo của một trang đã có. Skill thực hiện các thay đổi nhỏ qua nhiều vòng, kiểm tra nhiều kích thước màn hình, và giữ nguyên cấu trúc, nội dung và thương hiệu.

Khi nào nên dùng

  • ✓Khi một trang hoặc màn hình trông phẳng hoặc chung chung và đội muốn làm nó tinh tế hơn.
  • ✓Khi người dùng yêu cầu làm đẹp trang đích, trang giá, bảng điều khiển hoặc modal.
  • ✓Khi một đội muốn nhiều vòng đánh bóng thị giác mà không thiết kế lại toàn bộ.

Liên kết skill

https://github.com/yournextstore/yournextstore/blob/main/.agents/skills/prettify/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/yournextstore/yournextstore/blob/main/.agents/skills/prettify/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm đẹp trang giá này. Nó trông phẳng, nên hãy làm nó phong phú hơn mà không đổi nội dung hay cấu trúc bố cục.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chụp ảnh màn hình trang hiện tại ở ba chiều rộng, chấm điểm theo danh sách kiểm tra thiết kế, rồi thực hiện một cải thiện có trọng tâm mỗi vòng. Agent lặp vòng này trong số vòng đã định và so sánh trước và sau.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Prettify

Improve the visual quality of an existing UI surface through small, targeted iterations. Works on any page or component: landing/marketing, pricing, docs, dashboards, admin tables, settings panels, modals, empty states, etc. Preserve the existing structure, copy, and brand. Do not redesign.

Inputs

The user gives you a target — a route (e.g. /, /pricing, /admin/products), a component file, a running URL, or a specific section/modal/state of a page. If unclear, ask once:

  • Which surface? (route, file path, or component)
  • For component-level targets: what state/route exposes it? (e.g. "the empty state on /admin/orders when there are no orders")
  • What feels off? (optional — gives you a starting hypothesis)
  • How many iterations? (default 5; user can request more)

If the dev server isn't running, start it (bun dev) before iterating. For authed surfaces (admin, settings), make sure you're signed in before screenshotting.

The Loop

Run this loop N times. Each pass should make one focused improvement, not a sweeping rewrite.

1. Screenshot the current state

Use Chrome DevTools MCP. Capture at all three required widths (mobile-first is mandatory for YNS):

  • 320px (mobile)
  • 768px (tablet)
  • 1280px (desktop)

Save screenshots so you can compare before/after across iterations.

2. Critique against the rubric

Score the current state across these dimensions. Focus the next change on the lowest-scoring one — don't try to fix everything at once.

Dimension What to look for
Visual hierarchy Does the eye know where to land first? Is the primary heading/action dominant? Are CTAs obvious without being loud? On data-heavy surfaces: is the most important column/value emphasized?
Typography Type scale ratio (1.25–1.5×). Heading weight contrast vs body. Tracking on display sizes. Line-height on body (~1.5). Tabular numerals on numeric tables.
Spacing & rhythm Vertical rhythm between sections/rows/cards. Generous breathing room around primary content. Consistent spacing scale (Tailwind 4/6/8/12/16/24). No cramped edges on mobile.
Color & contrast Is the palette doing work? Accent color used sparingly for emphasis (status, focus, primary action). Neutrals layered (not just white + black). Sufficient contrast (WCAG AA).
Depth & texture Subtle shadows, borders, gradients, noise, or backdrop blur where appropriate. Avoid flat-everywhere or shadow-everywhere.
Detail & richness Micro-details that signal craft: refined dividers, subtle animations, considered iconography, well-tuned focus rings, balanced asymmetry, considered empty/loading states.
Consistency Border radii, shadow tokens, button styles, table cell padding, form field heights all aligned. No one-off styles.
Mobile fidelity Mobile is not a shrunken desktop. Adjusted type sizes, stacked layouts, full-bleed sections, scrollable tables with sticky headers where appropriate.

3. Apply ONE targeted improvement

Pick the single highest-leverage change for this iteration. Examples of good targeted changes:

Marketing / landing surfaces:

  • "Increase H1 from text-4xl md:text-6xl to text-5xl md:text-7xl, tighten tracking to -0.02em."
  • "Add a subtle gradient backdrop behind the hero (bg-gradient-to-b from-white via-zinc-50 to-white)."
  • "Replace solid border on feature cards with border border-zinc-200/60 shadow-[0_1px_2px_rgba(0,0,0,0.04)]."
  • "Bump section padding from py-16 to py-24 md:py-32 for more breathing room."

App / admin / dashboard surfaces:

  • "Apply tabular-nums and right-align numeric columns; soften header row to text-zinc-500 uppercase text-xs tracking-wider."
  • "Tighten table row padding (py-3 → py-2.5) and add divide-y divide-zinc-100 for a calmer rhythm."
  • "Replace heavy card shadow with a hairline border + 1px shadow combo (border border-zinc-200/70 shadow-[0_1px_0_rgba(0,0,0,0.02)])."
  • "Add focus-visible:ring-2 ring-zinc-900/10 ring-offset-2 to interactive rows for a more refined focus state."

Component-level (modals, empty states, forms):

  • "Increase modal max-width and inner padding; make the title heavier and add a subtle muted subtitle."
  • "Replace the empty-state stock illustration with a refined icon, soften the helper text, lift the primary CTA."
  • "Align form field heights, increase label tracking, and unify input border to a single token."

Ex

Câu hỏi thường gặp

Nó chạy bao nhiêu vòng?

Skill mặc định là năm vòng, và người dùng có thể yêu cầu nhiều hơn.

Nó có thiết kế lại trang không?

Không. Skill nói giữ nguyên cấu trúc, nội dung và thương hiệu.

Nó kiểm tra những chiều rộng màn hình nào?

Nó kiểm tra 320 pixel cho điện thoại, 768 cho máy tính bảng và 1280 cho máy tính để bàn.

Chi tiết

Mô tả gốc của tác giả

Iteratively improves the visual design of an existing page — making it more sophisticated, richer, and prettier — without redesigning from scratch. Works on any page or UI surface: landing pages, marketing pages, pricing, docs, dashboards, admin views, settings, modals, empty states, etc. Use when the user says "prettify", or that a page/screen/component "looks flat", "feels generic", "needs more polish", "make it prettier", "more sophisticated", "richer", or asks to improve, refine, or enhance an existing UI surface. Loops screenshot → critique → targeted edit → re-screenshot until it meets a

repo: yournextstore/yournextstore

Độ phổ biến

Sao GitHub
5.5k
Vị trí xếp hạng
#14803
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự