prettify
ما الذي تفعله
تعلّم هذه المهارة الوكيل كيفية تحسين مظهر صفحة موجودة. تجري تغييرات صغيرة على عدة جولات، وتفحص عدة أحجام شاشات، وتحافظ على البنية والنص والعلامة التجارية كما هي.
متى تستخدمها
- ✓عندما تبدو صفحة أو شاشة مسطحة أو عامة، وتريد الفرقة صقلها أكثر.
- ✓عندما يطلب المستخدم تحسين صفحة هبوط أو صفحة أسعار أو لوحة تحكم أو نافذة منبثقة.
- ✓عندما تريد فرقة عدة جولات من التحسين البصري دون إعادة تصميم كاملة.
رابط المهارة
https://github.com/yournextstore/yournextstore/blob/main/.agents/skills/prettify/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“حسّن صفحة الأسعار. تبدو مسطحة، فاجعلها أغنى دون تغيير النص أو بنية التخطيط.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يلتقط وكيلك لقطات الصفحة الحالية بثلاثة عروض، ويقيّمها مقابل قائمة تصميم، ثم يجري تحسيناً مركزاً واحداً في كل جولة. ويكرر الحلقة لعدد محدد من الجولات، ويقارن قبل التغيير وبعده.
المحتوى التقني (ملف 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
audit
5.5kيساعد وكيلك على مراجعة واجهة ويب من حيث إمكانية الوصول والأداء والسمات والتصميم المتجاوب، وكتابة تقرير مرتب حسب الأولوية دون تغيير الكود.
clone-website
5.5kيساعد وكيلك على إعادة بناء تخطيط موقع ويب وأنماطه ومحتواه كمشروع جديد، فيعمل قسماً بقسم ويحفظ مواصفة لكل جزء.
critique
5.5kيساعد وكيلك على تقديم نقد بأسلوب مدير تصميم لواجهة، يفحص التسلسل البصري وتدفق المعلومات، وهل يبدو التصميم عاماً أو مولداً بالذكاء الاصطناعي.
migrate-radix-to-base
5.5kيساعد وكيلك على نقل مكونات React من Radix UI إلى Base UI خطوة بخطوة، مع إبقاء المشروع قابلاً للبناء في كل مرحلة.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.