7 prompts to review your AI-built app before production
Ask your coding agent for evidence before asking it to fix everything. These seven prompts help you inspect an AI-built app in small steps. They are Ready or Not review templates, not a security certificate or a substitute for testing. Run one at a time and carry its findings into the next step.
Before you start: limit access and define the environment
Use a branch or disposable copy and a test environment with synthetic data. Give the agent only the access needed for the agreed check. A prompt is not a security boundary: enforce read-only access through tool permissions where possible. Replace bracketed placeholders before use. Do not paste credentials, customer records or private logs into a chat. These templates are tool-neutral; if your agent cannot inspect a system or run a check, the correct output is “not verified”, not a guessed result.
1. Map the promises to the implementation
Start with the real product brief and one critical journey. A useful response identifies implementation locations and missing evidence, not just a list of filenames.
Prompt to copyReview only; do not modify files or external systems. Product: [brief]. Critical journey: [steps]. Revision: [revision]. Map each promised step to its UI, server logic, storage and integrations. For each step report the expected result, file or route evidence, and status: implemented but untested, verified with an actual test, incomplete, or unknown. Identify mock data and placeholder handlers, but do not label them defects without checking their intended use. List the access and context you lack.
2. Review authorization boundaries
Look for ownership enforcement rather than assuming that authentication covers it. Proposed tests should use only authorized synthetic records.
Prompt to copyReview the access model without making changes. Roles: [roles]. Record ownership: [rules]. Trace read, create, update and delete paths for [record types], including file storage and admin endpoints. Identify where identity, tenant membership and ownership are enforced. Check for privileged server clients that bypass database rules. Cite code and policy locations. Propose an access matrix for signed-out users, customer A, customer B and admins. Do not execute requests without an approved test environment. Separate confirmed issues from hypotheses; never print secret values.
3. Find unfinished or simulated features
Ask the agent to follow the action all the way to the stored result. Manually reproduce the highest-impact example before accepting the finding.
Prompt to copyInspect [feature list] for incomplete paths: placeholder data, no-op handlers, client-only persistence, missing integration calls, swallowed errors and success states shown before confirmation. Do not edit code. For each candidate trace the complete action and intended durable result. Report evidence, user impact, reproduction steps using synthetic data and a proposed acceptance criterion. Distinguish intentional prototypes or deferred features from defects. If a backend or provider cannot be inspected, mark that part unverified.
4. Check payments and integration failures
Choose failures relevant to the product. The agent should propose a test plan before it performs any action that can charge money or send a message.
Prompt to copyReview [payment/email/AI integration] against these business rules: [rules]. Trace success, failure, timeout, retry and duplicate-event handling. Inspect webhook verification and idempotency where applicable. Do not charge real cards, send messages, change subscriptions or call production providers. Produce a sandbox test plan with starting state, event, expected stored state and customer-visible outcome. Cite code evidence for each risk and distinguish a missing test from a confirmed bug.
5. Rank technical debt by release impact
Avoid a generic cleanup list. Request a limited number of tasks with a reason each matters to the next release.
Prompt to copyReview the code supporting [critical journey]. Do not refactor or upgrade packages. Find duplicated business rules, conflicting data models, obsolete paths and fragile dependencies that could affect this journey. Return at most five prioritized items with evidence, concrete failure risk, smallest reasonable fix and regression checks. For dependency alerts, identify the installed version, affected functionality and compatibility questions. Do not recommend forced upgrades or a rewrite without a specific justification. Mark effort estimates as provisional and state assumptions.
6. Draft tests that could falsify the happy path
A passing test is useful only if it checks the promised behavior. Review proposed assertions before running anything against an environment.
Prompt to copyBased on the findings above, propose acceptance and regression tests for [journey]. Include a fresh user, persisted data after reload, a denied cross-user action and relevant provider failures. For each test state setup, action, expected result and cleanup. Specify whether it needs a browser, API, database or sandbox provider. Do not run or create tests yet. Explain what each test would fail on and what remains outside coverage. Do not replace meaningful assertions with mocks that guarantee success.
7. Produce a release decision with explicit unknowns
After you or an authorized engineer executes the agreed checks, give the agent their actual results. Missing evidence must remain missing evidence.
Prompt to copyUse only the supplied code review and actual test results to summarize release readiness for [revision and environment]. Do not change or deploy anything. Group findings into blockers, accepted limitations, later improvements and unverified areas. Cite evidence and the exact check for every verified claim. Do not report a proposed test as passed. Recommend the smallest next step and list who must approve unresolved business decisions. Avoid a numerical security score or any claim that the app is fully secure.
How to judge the response and turn it into a fix
Reject unsupported reassurance such as “everything looks production-ready”. A stronger response names a route, the rule it should enforce, the evidence inspected and what still needs testing. For an illustrative invoice-access finding, check that the cited endpoint exists and reproduce the denied cross-customer case with synthetic accounts. Then agree a separate repair task, review the diff and rerun the failed check plus the original allowed flow. Keep the evidence with the revision. If the agent cannot explain why a finding matters or how to verify it, treat it as a question for investigation.
Frequently asked questions
Can I use these prompts in Lovable or another coding agent?
Yes, adapt the context and available tools. The agent needs access to the relevant code and policies. If the environment cannot expose a dependency or execute a test, it should identify that limit rather than claim it has verified the result.
Should I ask the agent to fix every finding automatically?
No. Verify findings and prioritize them first. Approve a bounded repair with acceptance checks, review its changes and test the affected journey before deployment.
Do these prompts replace a security audit?
No. They structure an initial review and help you collect evidence. Their coverage depends on the context, access and tests available; independent review may still be needed for sensitive or critical flows.
What if the agent says there are no issues?
Ask which revision and paths it inspected, which tests actually ran and which systems were inaccessible. No findings in a limited review does not establish that the entire product is safe to launch.
Related field note: the detail behind this check ↗
Platform references
Platform behavior is referenced below. The review steps above are our recommendations. Ready or Not is independent and is not affiliated with these platforms.
Keep reading
Common gaps to check in a Lovable project: security, technical debt and unfinished features ↗
Lovable app due diligence: what to check before buying or taking over ↗
AI-built MVP handover checklist: what to test before client delivery ↗
Is your Lovable app ready for real customers? ↗
A Replit app launch checklist for nontechnical founders ↗