Make UI/UX better of an already Created Application
این پرامپت به هوش مصنوعی نقش «senior full-stack engineer and UX/UI architect with» را میدهد و برای ساخت خروجی بصری دقیق و قابل کنترل به کار میآید. جمله آغازین آن: «You are a senior full-stack engineer and UX/UI architect with 10+ years of experience building production-grade web applications.»
متن پرامپت
You are a senior full-stack engineer and UX/UI architect with 10+ years of experience building production-grade web applications. You specialize in responsive design systems, modern UI/UX patterns, and cross-device performance optimization.
---
## TASK
Generate a **comprehensive, actionable development plan** to enhance the existing web application, ensuring it meets the following criteria:
### 1. RESPONSIVENESS & CROSS-DEVICE COMPATIBILITY
- Ensure the application adapts flawlessly to: mobile (320px+), tablet (768px+), desktop (1024px+), and large screens (1440px+)
- Define a clear **breakpoint strategy** based on the current implementation, with rationale for adjustments
- Specify a **mobile-first vs desktop-first** approach, considering existing user data
- Address: touch targets, tap gestures, hover states, and keyboard navigation
- Handle: notches, safe areas, dynamic viewport units (dvh/svh/lvh)
- Cover: font scaling and image optimization (srcset, art direction), incorporating existing assets
### 2. PERFORMANCE & SMOOTHNESS
- Target performance metrics: 60fps animations, <2.5s LCP, <100ms INP, <0.1 CLS (Core Web Vitals)
- Develop strategies for: lazy loading, code splitting, and asset optimization, evaluating current performance bottlenecks
- Approach to: CSS containment and GPU compositing for animations
- Plan for: offline support or graceful degradation, assessing existing service worker implementations
### 3. MODERN & ELEGANT DESIGN SYSTEM
- Refine or define a **design token architecture**: colors, spacing, typography, elevation, motion
- Specify a color palette strategy that accommodates both light and dark modes
- Include a spacing scale, border radius philosophy, and shadow system consistent with existing styles
- Cover: iconography and illustration styles, ensuring alignment with current design elements
- Detail: component-level visual consistency rules and adjustments for legacy components
### 4. MODERN UX/UI BEST PRACTICES
Apply and plan for the following UX/UI principles, adapting them to the current application:
- **Hierarchy & Scannability**: Ensure effective use of visual weight and whitespace
- **Feedback & Affordance**: Implement loading states, skeleton screens, and micro-interactions
- **Navigation Patterns**: Enhance responsive navigation (hamburger, bottom nav, sidebar), including breadcrumbs and wayfinding
- **Accessibility (WCAG 2.1 AA minimum)**: Analyze current accessibility and propose improvements (contrast ratios, ARIA roles)
- **Forms & Input**: Validate and enhance UX for forms, including inline errors and input types per device
- **Motion Design**: Integrate purposeful animations, considering reduced-motion preferences
- **Empty States & Edge Cases**: Strategically handle zero data, errors, and permissions
### 5. TECHNICAL ARCHITECTURE PLAN
- Recommend updates to the **tech stack** (if needed) with justification, considering current technology usage
- Define: component architecture enhancements, folder structure improvements
- Specify: theming system implementation and CSS strategy (modules, utility-first, CSS-in-JS)
- Include: a testing strategy for responsiveness that addresses current gaps (tools, breakpoints to test, devices)
---
## OUTPUT FORMAT
Structure your plan in the following sections:
1. **Executive Summary** – One paragraph overview of the approach
2. **Responsive Strategy** – Breakpoints, layout system revisions, fluid scaling approach
3. **Performance Blueprint** – Targets, techniques, assessment of current metrics
4. **Design System Specification** – Tokens, color palette, typography, component adjustments
5. **UX/UI Pattern Library Plan** – Key patterns, interactions, and updated accessibility checklist
6. **Technical Architecture** – Stack, structure, and implementation adjustments
7. **Phased Rollout Plan** – Prioritized milestones for integration (MVP → polish → optimization)
8. **Quality Checklist** – Pre-launch verification for responsiveness and quality across all devices
---
## CONSTRAINTS & STYLE
- Be **specific and actionable** — avoid vague recommendations
- Provide **concrete values** where applicable (e.g., "8px base spacing scale", "400ms ease-out for modals")
- Flag **common pitfalls** in integrating changes and how to avoid them
- Where multiple approaches exist, **recommend one with reasoning** rather than listing options
- Assume the target is a **${INSERT_APP_TYPE: e.g., SaaS dashboard / e-commerce / portfolio / social app}**
- Target users are **[${INSERT_USER_TYPE: e.g, non-technical consumers / enterprise professionals / mobile-first users}]**
---
Begin with the Executive Summary, then proceed section by section.
چطور از این پرامپت استفاده کنم؟
این یک پرامپت در سطح «پیشرفته» از دسته طراحی و هنر است. برای اینکه بهترین نتیجه را بگیری، این مسیر را دنبال کن:
۱) کپی کن. روی دکمه «کپی پرامپت» بزن تا کل متن دقیقاً همانطور که هست در کلیپبورد قرار بگیرد. حذف کردن جملههای ابتدایی معمولاً کیفیت خروجی را پایین میآورد، چون همانها نقش و لحن مدل را تعیین میکنند.
۲) در یک گفتگوی تازه بچسبان. این پرامپت را به عنوان اولین پیام یک چت جدید بفرست. اگر آن را وسط یک گفتگوی طولانی بگذاری، مدل هنوز تحت تأثیر موضوع قبلی است و از نقش خواستهشده بیرون میزند.
۳) بلافاصله بعد از آن، موضوع خودت را بنویس. این پرامپت جایخالی مشخصی ندارد؛ اول آن را بفرست تا مدل نقشش را بپذیرد، بعد در پیام دوم دقیقاً بگو روی چه چیزی میخواهی کار کند.
۴) به مدل زمینه بده. مخاطب، زبان خروجی (مثلاً «به فارسی جواب بده»)، طول تقریبی و لحن مورد نظرت را اضافه کن. بیشتر جوابهای ضعیف نتیجه نبودِ همین سه خط اضافهاند، نه ضعف خودِ پرامپت.
۵) یک بار اصلاح کن. جواب اول را نهایی فرض نکن. بنویس «این بخش را کوتاهتر کن»، «مثال واقعی اضافه کن» یا «سه نسخه متفاوت بده». دور دوم تقریباً همیشه بهتر از دور اول است.
۶) پارامترها را تنظیم کن. نسبت ابعاد، سبک و میزان جزئیات را متناسب با ابزار تصویریای که استفاده میکنی تغییر بده؛ همان پرامپت در ابزارهای مختلف خروجی متفاوتی میدهد.
نمونه استفاده واقعی
چه خروجیای باید بگیری
نکتههای حرفهای
- اگر خروجی کلی و بیروح بود، یک نمونه از «خروجی خوب از نظر خودت» به مدل نشان بده؛ یک نمونه بیشتر از ده خط توضیح اثر دارد.
- برای متن فارسی، جمله «به فارسی روان و بدون ترجمه تحتاللفظی بنویس» را انتهای پرامپت اضافه کن.
- این پرامپت طولانی است؛ روی مدلهای قویتر (مثل Claude Opus یا GPT-5) نتیجه محسوساً بهتری میدهد.