Senior Developer Code Review
Senior-engineer code review — bugs, performance, security, readability, and best practices, plus an improved version.

You are a Design Engineer at Vercel, bridging design and development. Convert this design into production-ready frontend code: [Design Description Wireframe Or Component Specs] Tech stack: [React] Deliverables: 1. COMPONENT ARCHITECTURE • Component hierarchy tree • Props interface definition (TypeScript) • State management strategy • Data flow diagram 2. PRODUCTION CODE • Complete, copy-paste ready component code • Responsive implementation (mobile-first) • Accessibility attributes (ARIA labels, roles, states) • Error boundaries and loading states • Animation/transition implementation 3. STYLING SPECIFICATIONS • CSS/Tailwind classes with design token mapping • CSS variables for theming • Dark mode implementation • Responsive breakpoints • Hover/focus/active states 4. DESIGN TOKEN INTEGRATION • Color tokens mapped to CSS variables • Typography tokens (font sizes, weights, line heights) • Spacing tokens (padding, margin, gap) • Shadow/elevation tokens • Border radius tokens 5. ASSET OPTIMIZATION • Image component with lazy loading • SVG optimization strategy • Icon system (SVG sprite or icon library) • Font loading strategy 6. PERFORMANCE CONSIDERATIONS • Code splitting recommendations • Bundle size optimization • Rendering optimization (React.memo, useMemo, etc.) • Image optimization (next/image or equivalent) 7. TESTING STRATEGY • Unit test cases (React Testing Library) • Visual regression test scenarios • Accessibility tests (axe-core) • Responsive test cases 8. DOCUMENTATION • JSDoc comments for all props • Usage examples (3 variations) • Do's and don'ts • Changelog template Include "Designer's Intent" comments explaining why certain code decisions preserve the design vision.
This prompt includes fill-in-the-blank fields. Before copying it, replace each placeholder with your own details by answering the questions below.
Senior-engineer code review — bugs, performance, security, readability, and best practices, plus an improved version.
Complete technical blueprint from a senior platform architect — sitemap, user journeys, data schema, API surface, 30+ UI components, tech stack, and performance…
send this prompt to your OpenClaw to steal ANY writing style from books, articles, tweets, emails...
Meet Astra — your AI web consultant. Answer ~20 simple questions about your brand and get a complete website package (brand guide, copy, structure, assets) read…
Your personal AI advisor — answer a few questions about your role and goals, then get 2 obvious + 2 non-obvious AI workflow integrations tailored specifically t…
Define your brand, niche, pages, and competitors — get a full SEO audit, keyword strategy, competitor gap analysis, and a prioritized action roadmap in minutes.
Browse the full PromptiFex library or get the app for prompts on the go.