Rescue a vibe-coded mess

Model notes: Use a strong reasoning model

Fill in the variables (optional — they're inserted live below):

This codebase was built quickly with AI help and is getting hard to change. Act as a pragmatic tech lead. 1. Map the architecture as it actually is (not as intended). 2. List the top 10 problems ranked by (risk × how often they'll bite us): duplicated logic, dead code, missing error handling, security issues, inconsistent patterns, missing tests. 3. For each, give the smallest fix and an effort estimate (S/M/L). 4. Propose an order of work where the app keeps working after every step. Do not change code in this pass. Focus area if any: {{focus}}

How to use it

  1. Fill the variables above, or replace each {{variable}} after pasting.
  2. Paste into your AI tool (ChatGPT, Claude, Gemini, Cursor, Claude Code, or a local model in Ollama/LM Studio).
  3. Review the output. Models make mistakes, especially with facts, numbers and code.
Pro Prompt Pack · US$12

Get all 209 prompts + agent workflows

Every prompt as Markdown and JSON, 10 multi-step agent workflows, and 12 ready-made slash commands for Cursor and Claude Code. Instant zip download, one-time purchase.

Buy the Pro Pack for US$12 What's inside

More Vibe coding prompts

Vibe coding

Project rules file generator

Output goes in AGENTS.md / CLAUDE.md / .cursor/rules

Read this repository and write an AGENTS.md file for AI coding agents working on it.

Include:
- Stack, versions and how to install/run/test/lint (exact commands from package files).
- Code conventions you observe (naming, file layout, error handling, state management).
- "Always" rules (e.g. run tests before finishing) and "Never" rules (e.g. never commit secrets, never edit generated files: list them).
- Where things live (routes, components, data, config).
- Definition of done for a change.
Keep it under 120 lines. Only state what you can verify from the repo.
Open & fill variables: Project rules file generator →
Vibe coding

Ship checklist before launch

Any model

Variables: app_namestack

I'm about to launch {{app_name}} ({{stack}}) to real users. Give me a pre-launch checklist tailored to this stack, grouped as: security, data & backups, errors & monitoring, performance, SEO/social previews, legal (privacy policy, cookies, terms), payments (if any), and analytics.

For each item: why it matters in one line, and how to check it in under 5 minutes. Mark the 5 items I absolutely must not skip.
Open & fill variables: Ship checklist before launch →
Vibe coding

Database schema from plain English

Any model; review before migrating

Variables: app_descriptiondatabasemigration_tool

Design a database schema for: {{app_description}}. Database: {{database}}.

Give: tables with columns, types, constraints and indexes; relationships; a migration file in {{migration_tool}} format; 3 example queries the app will run most and whether the indexes support them. Point out any data that should NOT be stored (e.g. raw card numbers) and any column likely to need changing later.
Open & fill variables: Database schema from plain English →
Vibe coding

Acceptance tests from a user story

Any model; give the tests to your agent before it writes the feature

Variables: user_storytest_framework

Turn this user story into acceptance tests before any code is written.

User story: {{user_story}}
Test framework: {{test_framework}}

1. Restate the story as 3-8 concrete acceptance criteria in Given / When / Then form.
2. Add the edge cases a real user will hit, where they apply: empty input, double submit, logged-out user, very long text, slow or failed network, plus anything specific to this story.
3. Write the tests in {{test_framework}}. They should fail right now because the feature doesn't exist yet.
4. List any criteria you had to guess, as questions for me.

Don't write the feature itself. The tests are the spec.
Open & fill variables: Acceptance tests from a user story →

All Vibe coding prompts

New prompts every week

One short email a week: new tested prompts and agent workflows. Free. Unsubscribe any time.

Subscribe free →