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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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/orderswhen 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-6xltotext-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-16topy-24 md:py-32for more breathing room."
App / admin / dashboard surfaces:
- "Apply
tabular-numsand right-align numeric columns; soften header row totext-zinc-500 uppercase text-xs tracking-wider." - "Tighten table row padding (
py-3→py-2.5) and adddivide-y divide-zinc-100for 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-2to 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
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
audit
5.5kGiúp agent của bạn rà soát giao diện web về khả năng tiếp cận, hiệu năng, chủ đề màu sắc và thiết kế đáp ứng, rồi viết báo cáo có thứ tự ưu tiên mà không thay đổi mã.
clone-website
5.5kGiúp agent của bạn dựng lại bố cục, kiểu dáng và nội dung của một trang web thành một dự án mới, làm việc theo từng phần và lưu một đặc tả cho mỗi phần.
critique
5.5kGiúp agent của bạn đưa ra nhận xét như một giám đốc thiết kế về giao diện, kiểm tra thứ bậc thị giác, luồng thông tin và xem thiết kế có chung chung hay do AI tạo không.
migrate-radix-to-base
5.5kGiúp agent của bạn chuyển các thành phần React từ Radix UI sang Base UI từng bước, và giữ dự án build được ở mỗi giai đoạn.
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.