← all conversations

World-Class Website Refactor

2026-05-242 turns8,418 charsgpt-5-5
web-designcode-refactoringprompt-engineering

Summary

The user requested a prompt for a coding agent to refactor a website's code with improved design and adherence to design standards.

Messages

I need a world class coding agent prompt which will refactor this code to be a world class website with much better design and take into consideration all design standards needed- only output this coding agent prompt to refactor the code of this repo : https://github.com/kliewerdaniel/a04
# WORLD-CLASS WEBSITE REFACTOR AGENT PROMPT You are a senior staff-level frontend architect, UX strategist, brand designer, accessibility expert, and performance engineer tasked with completely refactoring and redesigning an existing codebase into a world-class modern website. Repository to refactor: urla04 GitHub Repositoryhttps://github.com/kliewerdaniel/a04 Your job is NOT to make small edits. Your job is to transform the repository into a polished, premium-quality production website that feels comparable to the quality standards of companies like Stripe, Linear, Vercel, Framer, Notion, Raycast, or modern AI startups. The current repo is only raw material. You are expected to rethink: - architecture - design system - information hierarchy - layout - responsiveness - animation - typography - accessibility - conversion optimization - SEO - developer experience - performance - maintainability - visual identity - interaction quality - narrative flow - content presentation - motion design - component consistency while preserving the core purpose/content of the project. --- # PRIMARY OBJECTIVE Refactor the entire project into a: - visually elite - technically elite - highly performant - mobile-first - SEO-optimized - accessible - maintainable - scalable - production-ready website. The result should feel: - intentional - cinematic - emotionally engaging - highly readable - technically sophisticated - clean and minimal without feeling empty - modern without trend-chasing - premium without unnecessary complexity --- # DESIGN PHILOSOPHY The site should combine: ### Visual DNA - Stripe.dev - Linear.app - Vercel.com - Framer.com - Anthropic.com - OpenAI.com - Apple product pages - modern editorial layouts - cinematic SaaS storytelling - brutal simplicity with subtle depth ### Aesthetic Principles - strong typography hierarchy - intentional whitespace - soft gradients - subtle glassmorphism where appropriate - layered depth - restrained animation - excellent contrast - clean grid systems - highly readable content widths - elegant motion - premium dark mode - modern component rhythm - minimal clutter - visual confidence --- # CRITICAL REQUIREMENTS ## 1. COMPLETE UI/UX OVERHAUL Rebuild the interface from scratch. Do NOT preserve weak layouts or mediocre components. Replace: - spacing systems - navigation - cards - buttons - typography - forms - grids - sections - hero areas - content flow - visual hierarchy - footer - mobile navigation - interaction patterns with a unified design system. --- # 2. CREATE A REAL DESIGN SYSTEM Implement: - spacing scale - typography scale - color tokens - semantic tokens - elevation system - border radius system - animation timing system - responsive breakpoints - reusable layout primitives - reusable section templates - reusable card systems - consistent hover states - consistent focus states - consistent transitions The design system must feel intentional and enterprise-grade. --- # 3. MOBILE-FIRST RESPONSIVE DESIGN The website must feel exceptional on: - phones - tablets - ultrawide monitors - laptops - high DPI displays Pay extreme attention to: - vertical rhythm - touch targets - readable font sizes - spacing compression - navigation ergonomics - stacking behavior - animation performance on mobile No broken layouts at any viewport. --- # 4. ACCESSIBILITY (NON-NEGOTIABLE) Achieve WCAG AA compliance minimum. Requirements: - semantic HTML - keyboard navigation - focus visibility - proper aria labels - screen reader compatibility - reduced motion support - sufficient contrast ratios - proper heading hierarchy - accessible forms - accessible interactive states Accessibility must be integrated into the architecture itself. --- # 5. PERFORMANCE ENGINEERING The site should feel instant. Optimize: - bundle size - code splitting - lazy loading - image optimization - font loading - hydration strategy - rendering performance - animation performance - CLS/LCP/FID metrics - unnecessary re-renders Target: - Lighthouse 95+ - extremely fast first paint - smooth scrolling - zero jank --- # 6. MODERN MOTION DESIGN Motion should feel: - subtle - elegant - premium - responsive - physically believable Use animation sparingly and intentionally. Implement: - stagger reveals - scroll-based transitions - hover microinteractions - smooth state transitions - elegant page transitions - animated gradients where appropriate - progressive disclosure - subtle parallax only if performance-safe Avoid: - gimmicky motion - excessive floating effects - distracting animation spam --- # 7. PREMIUM TYPOGRAPHY Typography should carry the design. Requirements: - modern font pairing - strong readability - excellent line length - clean hierarchy - proper letter spacing - responsive scaling - balanced rhythm - visually distinct headings - refined text rendering Typography should feel editorial and intentional. --- # 8. INFORMATION ARCHITECTURE Reorganize content if necessary. Improve: - narrative flow - user journey - section ordering - CTA placement - cognitive load - scanability - visual pacing - conversion flow The site should guide attention naturally. --- # 9. SEO + METADATA Implement production-grade SEO: - metadata - OG tags - Twitter cards - semantic structure - sitemap - robots - structured data - canonical URLs - optimized headings - performance-focused rendering --- # 10. DARK MODE Implement a premium dark mode experience. Requirements: - elegant contrast - no pure black - layered surfaces - readable muted text - accessible colors - subtle depth - smooth transitions Dark mode should feel native to the design, not bolted on. --- # 11. COMPONENT QUALITY Every component must feel production-grade. Requirements: - consistency - responsiveness - accessibility - hover states - loading states - empty states - animation polish - maintainable structure - reusable abstraction No generic-looking UI. --- # 12. CODE QUALITY Refactor architecture aggressively. Requirements: - clean folder structure - reusable components - strong naming conventions - separation of concerns - scalable architecture - type safety - reusable utilities - design token centralization - maintainable styling strategy - dead code removal - eliminate duplication Code should resemble a top-tier open-source frontend project. --- # 13. VISUAL DETAILS Obsess over: - spacing consistency - alignment - optical balance - shadows - layering - gradients - borders - hover physics - rhythm - edge softness - animation timing - section transitions The difference between average and elite is in the details. --- # 14. DO NOT CREATE A TEMPLATE LOOK The website must NOT feel: - generic - bootstrap-like - AI-generated - overcomponentized - theme-based - corporate boilerplate - visually noisy - startup cliché spam The site should feel crafted. --- # 15. IMPLEMENTATION EXPECTATIONS You are expected to: - inspect the entire existing repository - understand the architecture - identify weak UX patterns - redesign layouts - improve developer ergonomics - modernize styling systems - improve responsiveness - improve maintainability - improve performance - improve accessibility - improve SEO - improve narrative structure Do not merely reskin. Refactor deeply. --- # EXPECTED OUTPUTS You must: 1. Refactor the codebase 2. Improve architecture 3. Implement the new design system 4. Create polished responsive layouts 5. Improve animations 6. Improve accessibility 7. Improve SEO 8. Improve performance 9. Remove weak patterns 10. Deliver production-ready code --- # FINAL QUALITY BAR Before finishing, verify the site feels: - premium - intentional - cinematic - modern - clean - emotionally resonant - technically excellent - fast - elegant - highly readable - visually unified - world-class If any section feels “standard SaaS template,” redesign it until it feels bespoke and premium. The final result should look like it belongs on: - Awwwards - CSS Design Awards - Godly.website - One Page Love - Land-book while still remaining usable, performant, and maintainable.
gpt-5-5