prettify
Ce qu’il fait
Cette compétence apprend à un agent à améliorer l'apparence d'une page existante. Elle apporte de petites modifications en plusieurs tours, vérifie plusieurs tailles d'écran et conserve à l'identique la structure, le texte et la marque.
Quand l’utiliser
- ✓Quand une page ou un écran paraît plat ou générique et que l'équipe veut un rendu plus raffiné.
- ✓Quand un utilisateur demande d'embellir une page d'accueil, une page tarifaire, un tableau de bord ou une fenêtre modale.
- ✓Quand une équipe veut plusieurs tours de finition visuelle sans refonte complète.
Lien du skill
https://github.com/yournextstore/yournextstore/blob/main/.agents/skills/prettify/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Embellis la page tarifaire. Elle paraît plate, rends-la plus riche sans changer le texte ni la structure de la mise en page.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent fait une capture de la page actuelle à trois largeurs, la note selon une liste de contrôle de design, puis apporte une amélioration ciblée par tour. Il répète la boucle sur un nombre donné de tours et compare l'avant et l'après.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Combien de tours effectue-t-elle ?
La compétence en fait cinq par défaut, et l'utilisateur peut en demander davantage.
Redessine-t-elle la page ?
Non. La compétence indique de conserver la structure, le texte et la marque tels quels.
Quelles largeurs d'écran vérifie-t-elle ?
Elle vérifie 320 pixels pour le mobile, 768 pour la tablette et 1280 pour le bureau.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 5.5k
- Position au classement
- #14803
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
audit
5.5kAide votre agent à auditer une interface web en matière d'accessibilité, de performance, de thème et de conception adaptative, et à rédiger un rapport priorisé sans modifier le code.
clone-website
5.5kAide votre agent à reconstruire la mise en page, les styles et le contenu d'un site web sous forme de nouveau projet, en travaillant section par section et en enregistrant une spécification pour chaque partie.
critique
5.5kAide votre agent à formuler une critique de directeur artistique sur une interface, en vérifiant la hiérarchie visuelle, le parcours de l'information et si le design paraît générique ou produit par une IA.
migrate-radix-to-base
5.5kAide votre agent à migrer des composants React de Radix UI vers Base UI étape par étape, en gardant le projet compilable à chaque étape.
Skills similaires
canvas
394kPermet à votre agent d'afficher un widget visuel hébergé sur un panneau Mac connecté, puis de masquer ce panneau ou de le déplacer vers une autre page.
control-ui
394kAide votre agent à organiser et dépanner l'interface de contrôle d'OpenClaw, y compris les sessions, les tableaux de bord et les passerelles connectées.
diagram-maker
394kAide votre agent à créer des diagrammes clairs en SVG, HTML ou Excalidraw modifiable, pour des processus, des architectures système et des croquis de tableau blanc.