prettify
できること
このスキルは、すでにあるページの見た目を改善する方法を説明します。小さな変更を複数のラウンドで行い、複数の画面サイズを確認します。構造、文言、ブランドは変えません。
使う場面
- ✓ページや画面が平板で一般的に見え、チームがより洗練させたいとき。
- ✓ユーザーが、ランディングページ、料金ページ、ダッシュボード、モーダルを見た目よく整えるよう求めるとき。
- ✓チームが、全面的な再設計なしに、複数回の見た目の調整を望むとき。
スキルのリンク
https://github.com/yournextstore/yournextstore/blob/main/.agents/skills/prettify/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“料金ページを整えてください。平板に見えるので、文言とレイアウトの構造を変えずに、より豊かにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、現在のページを三つの幅でスクリーンショットし、デザインのチェックリストで採点します。ラウンドごとに一つの焦点を絞った改善を行い、決められた回数だけ繰り返して、変更前後を比べます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
何ラウンド行いますか?
既定では五ラウンドで、ユーザーはさらに多く指定できます。
ページを再設計しますか?
いいえ。構造、文言、ブランドはそのまま保つとされています。
どの画面幅を確認しますか?
モバイルは320ピクセル、タブレットは768ピクセル、デスクトップは1280ピクセルを確認します。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 5.5k
- ランキング
- #14803
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
audit
5.5kエージェントが、Webインターフェースのアクセシビリティ、パフォーマンス、テーマ、レスポンシブデザインを確認し、コードを変えずに優先順位付きのレポートを作れるよう支援します。
clone-website
5.5kエージェントが、Webサイトのレイアウト、スタイル、コンテンツを新しいプロジェクトとして再現できるよう支援します。セクションごとに作業し、各部分の仕様を保存します。
critique
5.5kエージェントが、インターフェースについてデザインディレクターの視点で批評し、視覚的な階層、情報の流れ、デザインが一般的すぎないかや AI が作ったように見えないかを確認できるよう支援します。
migrate-radix-to-base
5.5kエージェントが、React のコンポーネントを Radix UI から Base UI へ段階的に移行できるよう支援します。各段階でプロジェクトがビルドできる状態を保ちます。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。