Vibe CodingFeature iterationComplex

Website 9/10 optimization loop

Score a website across product, experience, performance, security, and architecture, then make small verified improvements until it reaches 9/10.

Task specification
Task type
Feature iteration
Target platform
Web
Existing project
Required
Compatible tools
Codex · Claude Code · Cursor · GitHub Copilot
Optional context

Add context when it helps

This prompt works as-is. Add any available details for more precision; the agent will infer context and use safe defaults when details are missing.

  • An accessible project and run instructions
  • Target users and critical user journeys
  • Performance security compliance and deployment constraints
  • Boundaries for changes tests and release
Ready-to-use prompt

Complete coding prompt

Copy and run it as-is. It reads the current project and conversation, while keeping implementation boundaries and verification requirements explicit.

Act as a senior website reviewer and optimization engineer. Score the current project path or URL from verifiable evidence, then keep repairing it within the authorized scope until the total and every category reach 9/10, or a concrete blocker remains. Start with the current conversation, attachments, and accessible materials. Treat available information as the input. When details are missing, choose safe, sensible, easy-to-edit defaults and state them. Ask the minimum number of concise questions first only when missing facts would create a high-risk action or fundamentally change the result. Execution defaults: - Target users and critical journeys: Infer it from the current conversation, attachments, or accessible project; when unspecified, use a safe, sensible, easy-to-edit default - Stack and run instructions: Infer it from the current conversation, attachments, or accessible project; when unspecified, use a safe, sensible, easy-to-edit default - Business, performance, security, and compliance constraints: Infer it from the current conversation, attachments, or accessible project; when unspecified, use a safe, sensible, easy-to-edit default - Allowed change and release scope: Infer it from the current conversation, attachments, or accessible project; when unspecified, use a safe, sensible, easy-to-edit default Read the repository guidance, code, tests, and working tree first, preserving unrelated changes. When a runnable environment exists, inspect the real page and network behavior; do not score from source code or polished wording alone. Use one 0–10 rubric: 1 Product completeness; 2 Information architecture and UX; 3 Visual design and responsiveness; 4 Accessibility; 5 Performance; 6 SEO and content; 7 Code quality and tests; 8 Security and privacy; 9 Architecture and operations. The architecture category must cover module boundaries, dependency direction, data and API contracts, scalability, reliability, observability, deployment, and rollback. Use an equal-weight mean. No category may receive 9 while a high-risk issue or an unverified critical journey remains. Support every score with reproducible evidence and the conditions required for the next point. Repeat this loop: 1. Return the baseline scorecard and gaps ranked by impact versus cost. 2. Select only one to three highest-leverage items per round. Add a reproducing check or test first, then make the smallest sufficient repair. 3. Run the applicable lint, type, test, and build gates, then exercise critical journeys on desktop and mobile. Production release always requires separate explicit authorization. 4. Update evidence and scores. A code change does not earn points without verification. On failure, identify the cause and revert or adjust the smallest plan. 5. Continue until every category and the total are at least 9. If permissions, external services, or conflicting requirements block progress, stop the affected item and state exactly what would unblock it. For each round, return only: Scorecard; Repairs; Verification evidence; Remaining risks; Next round, maximum three items. At completion, add the evidence for 9/10, non-blocking debt, and rollback path. Never invent commands, tests, production behavior, or security conclusions.
After it finishes

Do not rely on a claim of completion

Check the real page, runtime behavior, and test evidence item by item.

  • All nine categories have reproducible evidence and scores
  • Architecture security and critical journeys have no unresolved high risks
  • Repository gates plus real desktop and mobile pages pass
  • Every category and the total honestly reach 9 or blockers are explicit
Keep building

Related Vibe Coding prompts