Home › All prompts › AI Reverse Engineering

Mini pack

Free

AI Reverse Engineering

Want to understand how an app was made? These 10 free prompts help you check what is fair game to study, rebuild a flow from screenshots in your own style, make sense of code you didn't write, and learn from competitors' public pages.

Learn how an app works from its screenshots, its code, or its public pages, then build your own version the honest way.

10 prompts in 4 sections. Replace everything in [BRACKETS IN CAPS], then copy and paste into your AI tool.

Download the free PDF

PDF, 18 pages

Written for use with

  • ChatGPT or Claude, in a normal chat: Prompts 1.1, 4.1, and 4.2 only need what you paste in, like a license, a site's terms, or text from a competitor's public pages. Prompts 2.1, 2.3, and 3.3 also work here with screenshots or code you attach.
  • Claude Code or Cursor's Agent: Prompts 2.2, 3.1, 3.2, and 3.4 read or change your project, so they need a coding tool opened in it. Both can read screenshots, checked against their docs.
  • Chrome DevTools: the tips use its pretty-print, source maps, and HAR export (which leaves out cookies and login headers by default), checked against Chrome's docs.

Written for use with ChatGPT, Claude, Claude Code or Cursor's Agent. Not yet tested against them.

All 10 prompts

  1. 1.1 Am I Allowed to Study This?
  2. 2.1 Screenshots to Feature Map
  3. 2.2 Rebuild the Flow in My Own Style
  4. 2.3 Make Sure It's Mine
  5. 3.1 Map an Unfamiliar Project
  6. 3.2 Trace One Feature From Click to Database
  7. 3.3 Read Minified Code I'm Allowed to Inspect
  8. 3.4 Write Down the API My App Already Uses
  9. 4.1 Public Feature Teardown
  10. 4.2 Turn Teardowns Into My Own Plan

Section 1: Check It's Fair Game

1.1 Am I Allowed to Study This?

Untested: not yet run against a model.

Use this when you want to study or reuse an app, a piece of code, or a website and aren't sure what's okay. It's for sorting your plan into safe, check-first, and don't-do-it parts before you start.

Use in: ChatGPT or Claude, in a normal chat.

Fill in: [WHAT I WANT TO STUDY] (e.g. "the signup flow of a popular habit-tracker app"), [WHERE IT CAME FROM] (e.g. "screenshots I took of the public app", "a GitHub repo", "code I bought with a template"), [WHAT I WANT TO DO WITH IT] (e.g. "build my own app with a similar flow"), [LICENSE OR TERMS TEXT, OR "NONE FOUND"].

I want to study something and build my own version, and I want to stay on the legal and honest side. I'm a beginner, so keep it plain. I know you can't give legal advice.

What I want to study: [WHAT I WANT TO STUDY]
Where it came from: [WHERE IT CAME FROM]
What I want to do with it: [WHAT I WANT TO DO WITH IT]
License or terms I found (pasted): [LICENSE OR TERMS TEXT, OR "NONE FOUND"]

Please:
1. Split my plan into three lists:
   - Fine: things like learning from public screens, rebuilding a common idea in my own style, reading code whose license allows it.
   - Check first: things that depend on a license, the site's terms, or what I'd copy.
   - Don't: things like copying code, text, logos, icons, or images; getting around logins, paywalls, or copy protection; or scraping when the terms say not to.
2. If I pasted a license or terms, quote the exact lines that matter and explain them in one plain sentence each. If I didn't, tell me where to look (for example a LICENSE file, or a "Terms" link in the site's footer).
3. If there's no license on the code, say so clearly and explain what that usually means.
4. Rewrite my plan so it only uses the "Fine" parts, in 3 to 5 steps.
5. Tell me when this is a question for a lawyer instead of you.
Don't guess at what a license or terms say. If you haven't seen the text, say so.

Tips to customize: For code on GitHub, look for a file called LICENSE in the main folder. The guide at choosealicense.com says that code with no license generally means you have no permission to use, modify, or share it, even if you can view it. A common open-source license like MIT does let you reuse code, but asks you to keep its copyright and permission notice in your copy. When in doubt, learn from the code and write your own.

Section 2: Rebuild a Flow From Screenshots

2.1 Screenshots to Feature Map

Untested: not yet run against a model.

Use this when you have screenshots of an app's screens and want to know what's behind them. It's for a plain list of the screens, the steps, the data each screen needs, and the parts you'd have to build.

Use in: ChatGPT, Claude, Claude Code, or Cursor's Agent. Attach the screenshots in order.

Fill in: [ATTACH SCREENSHOTS IN ORDER], [WHAT THE APP DOES] (e.g. "a habit tracker"), [THE FLOW I CARE ABOUT] (e.g. "signing up and creating a first habit").

I've attached screenshots of an app, in the order a user sees them. I want to understand how this flow works so I can build my own version in my own style. Don't write any code yet.

[ATTACH SCREENSHOTS IN ORDER]

What the app does: [WHAT THE APP DOES]
The flow I care about: [THE FLOW I CARE ABOUT]

Please give me:
1. A numbered list of the screens, with one line on what each one is for.
2. The steps a user takes to get through the flow, including what happens if they make a mistake or leave halfway.
3. For each screen, the data it shows or saves (for example "habit name, start date, reminder time"). Then a simple guess at the database tables behind it.
4. The parts I'd need to build: pages, forms, login, saving data, emails, notifications, payments.
5. What you can't tell from the screenshots, marked as "Guess:", so I know what to decide myself.
6. Anything that's clearly the app's own brand, like its name, logo, illustrations, or distinctive wording, so I know not to copy it.
Keep it short and plain. I'm a beginner.

Tips to customize: Take your own screenshots of screens you can reach as a normal user. Blur or crop out other people's names and personal details first. Claude Code's docs show you can drag an image into the session or give it the file path, and Cursor's docs say its Agent can read image files in your project. Ask for "the same map as a table" if you want to paste it into a planning doc.

2.2 Rebuild the Flow in My Own Style

Untested: not yet run against a model.

Use this when you've mapped a flow you like and want to build your own version of it. It's for working code that follows the same steps but uses your brand, your words, and your design.

Use in: Claude Code or Cursor's Agent, opened in your project.

Fill in: [PASTE THE FEATURE MAP FROM 2.1], [MY APP AND WHO IT'S FOR] (e.g. "a study planner for high school students"), [MY BRAND] (e.g. "calm, friendly, green and white"), [WHAT I'LL CHANGE] (e.g. "skip the paywall screen, add a 'pick your subjects' step").

I want to build my own version of a user flow I studied. Use the feature map below for the steps, but make everything else mine. Plan first, then build.

Feature map: [PASTE THE FEATURE MAP FROM 2.1]
My app and who it's for: [MY APP AND WHO IT'S FOR]
My brand: [MY BRAND]
What I'll change: [WHAT I'LL CHANGE]

Rules:
- Don't copy the other app's name, logo, icons, illustrations, text, or exact colors and layout. Write fresh text in my voice and use my brand.
- Use my project's existing framework, components, and styles. Read the project first.
- Use placeholder images (for example from placehold.co) until I add my own.

Please:
1. Show me a short plan: the screens you'll make, the files you'll add or change, and how each step will be saved. Wait for me to say GO.
2. After I say GO, build one screen at a time and tell me how to check each one.
3. Handle the cases from the map: mistakes, empty fields, and leaving halfway.
4. At the end, list what's different from the original flow and why it fits my users better.

Tips to customize: In Claude Code, press Shift+Tab until the status bar shows plan mode, so it plans before it edits. Cursor's Agent has a Plan mode too. Work on a new git branch so you can throw the whole thing away if you don't like it. If you want to add a step the original doesn't have, that's often where your app gets its edge.

2.3 Make Sure It's Mine

Untested: not yet run against a model.

Use this when your version is built and you want to check it doesn't look like a copy. It's for a side-by-side check of text, images, colors, and layout, with fixes for anything too close.

Use in: ChatGPT, Claude, Claude Code, or Cursor's Agent. Attach screenshots of both apps.

Fill in: [ATTACH THEIR SCREENSHOTS], [ATTACH MY SCREENSHOTS], [MY APP NAME].

I built my own version of a flow I studied. Compare my screens with theirs and tell me honestly if anything looks copied rather than inspired. I want my app to clearly be its own thing.

Their screens: [ATTACH THEIR SCREENSHOTS]
My screens: [ATTACH MY SCREENSHOTS]
My app's name: [MY APP NAME]

Please check:
1. Text: any sentences, headings, or button labels that match theirs word for word or nearly.
2. Images: any logos, icons, illustrations, or photos that look like theirs.
3. Look: whether my colors, fonts, and layout together look so close that someone might mix up the two apps.
4. Name: whether my app name or wording could be confused with theirs.
For each problem, rate it "change it" or "fine, it's common" (for example, a login form with email and password is common to every app). Then give me a fix for each "change it" item, like new wording or a different color.
End with a one-line verdict.

Tips to customize: Common patterns are fine. Every app has a login screen, a settings page, and a "Next" button. What makes a copy is the specific things: their exact words, their artwork, their name, and the overall look all at once. If your app name is close to theirs, change it before you launch, not after.

Section 3: Understand Code You Didn't Write

3.1 Map an Unfamiliar Project

Untested: not yet run against a model.

Use this when you open a project you didn't write and don't know where anything is. It's for a plain map of the whole project: what it does, where it starts, and which folders matter.

Use in: Claude Code or Cursor's Agent, opened in the project. Plan mode is a good fit.

Fill in: [WHERE THE PROJECT CAME FROM] (e.g. "my friend's app I'm taking over", "an open-source repo with an MIT license"), [WHAT I WANT TO DO WITH IT] (e.g. "add a dark mode", "just understand it").

I didn't write this project and I don't understand it yet. Read it and give me a beginner-friendly map. Don't change any files.

Where it came from: [WHERE THE PROJECT CAME FROM]
What I want to do with it: [WHAT I WANT TO DO WITH IT]

Please give me:
1. A 3-sentence summary of what this project does and what it's built with (framework, language, database, hosting).
2. How to run it on my computer, from the README or package files. Say if anything is missing.
3. The main folders, one line each, and which ones I can mostly ignore.
4. Where it starts: the entry file, the main pages or routes, and where data is saved.
5. Any outside services it uses (login, payments, email, AI) and which settings or secret keys they need. Name the setting, never print a real key.
6. The license, if there is one, in one plain sentence.
7. The 3 files I should read first for what I want to do, in order.
Keep each part short. Explain any jargon the first time you use it.

Tips to customize: Claude Code's docs suggest starting with broad questions like "give me an overview of this codebase", then asking about specific parts. Ask it to save the map as PROJECT-MAP.md so you and future AI chats can reuse it. If the project is huge, add "Only map the [FOLDER NAME] folder for now."

3.2 Trace One Feature From Click to Database

Untested: not yet run against a model.

Use this when you need to know exactly what happens when someone uses one feature. It's for a step-by-step trace from the button on screen to the data that gets saved, with the file for each step.

Use in: Claude Code or Cursor's Agent, opened in the project.

Fill in: [THE FEATURE] (e.g. "clicking Save on the profile page", "signing up with email").

Trace one feature through this project for me, step by step. I want to understand how it really works, not how it's supposed to. Don't change any files.

The feature: [THE FEATURE]

Please:
1. Find where it starts on screen (the button, form, or page) and name the file.
2. Follow it step by step: what code runs, what gets sent, where it goes on the server, what gets checked, and what gets saved or sent back. One numbered line per step, with the file and function name.
3. Show what the user sees at the end, when it works and when it fails.
4. Point out anything surprising: steps that are skipped, checks that are missing, or code that seems to do nothing.
5. Draw the steps as a simple text diagram, like: Button > form check > API route > database > success message.
If you're guessing about a step because you can't find the code, say "Guess:" and tell me what to search for.

Tips to customize: Once you have the trace, ask "Where would I change this to [WHAT I WANT TO CHANGE]?" and you'll get the exact file. If the trace turns up a missing security check, the Ship It Safe pack has prompts to fix it.

3.3 Read Minified Code I'm Allowed to Inspect

Untested: not yet run against a model.

Use this when you're stuck looking at squashed, one-line JavaScript, like your own app's built files or an open-source package. It's for turning it into readable code with clear names and notes, for learning and debugging.

Use in: ChatGPT, Claude, Claude Code, or Cursor's Agent.

Fill in: [WHAT THIS CODE IS AND WHY I'M ALLOWED TO READ IT] (e.g. "the built file from my own app, I lost the original", "an open-source package with an MIT license"), [WHAT I'M TRYING TO FIND] (e.g. "why the date shows in the wrong time zone"), [PASTE THE CODE].

Help me understand this minified code. I'm allowed to read it, and I'm using it to learn or debug, not to copy someone else's product.

What this is and why I'm allowed to read it: [WHAT THIS CODE IS AND WHY I'M ALLOWED TO READ IT]
What I'm trying to find: [WHAT I'M TRYING TO FIND]

[PASTE THE CODE]

Please:
1. Reformat it so it's readable, with one statement per line.
2. Give short, clear names to things where the meaning is obvious, and mark each name you made up with a comment, like // guessed name.
3. Add a one-line note above each function saying what it seems to do.
4. Point me to the part that answers what I'm trying to find.
5. Tell me what you can't know from minified code, like original names or comments that were removed.
If the code looks like it's there to stop people reading it on purpose (for example license checks or copy protection), stop and tell me instead of explaining how to get around it.

Tips to customize: Chrome's DevTools docs say the Sources panel pretty-prints minified files by default, so the code is already spread over lines when you open it there. If it's your own app, check whether your build tool can make a source map. Chrome's docs explain that with source maps, DevTools shows your original files while the browser still runs the minified ones, which is often much easier than reading the minified code at all.

3.4 Write Down the API My App Already Uses

Untested: not yet run against a model.

Use this when your own app talks to its own server or database, but nobody ever wrote down how. It's for a simple API guide built from your code and your own browser's traffic.

Use in: Claude Code or Cursor's Agent, opened in your project.

Fill in: [THE PART OF THE APP] (e.g. "everything about tasks: list, add, edit, delete"), [PASTE REQUESTS FROM MY BROWSER, OR "NONE"].

This is my own app. Write a plain guide to the API it uses, so I (and future AI chats) know exactly how the front end talks to the back end. Don't change any code.

The part of the app: [THE PART OF THE APP]
Requests I copied from my own browser's Network tab (with keys and cookies removed): [PASTE REQUESTS FROM MY BROWSER, OR "NONE"]

Please:
1. Find every request this part of the app makes, by reading the code.
2. For each one, write: the address and method (like GET /api/tasks), what it's for, what it sends, what it gets back, and who's allowed to call it.
3. Show one short example request and response for each, using fake data.
4. List the errors each one can return and what the user sees.
5. Flag anything that looks wrong: requests with no login check, data sent that the screen never uses, or two requests that do the same thing.
6. Save it as API-NOTES.md in the project.
Only use my own app's code and the requests I gave you. If something isn't in either, say so.

Tips to customize: To see your app's requests, open Chrome DevTools, go to the Network tab, and use your app. Chrome's docs say you can save the requests as a HAR file, and by default the export leaves out cookies and login headers. Still read the file before you paste it anywhere, since it can hold personal data. Only do this with apps you own or are allowed to test.

Section 4: Study Competitors the Honest Way

4.1 Public Feature Teardown

Untested: not yet run against a model.

Use this when you want to understand what a competitor offers and how they explain it. It's for a clear feature table built only from public pages and notes you paste in.

Use in: ChatGPT or Claude, in a normal chat.

Fill in: [COMPETITOR NAME], [PASTE TEXT FROM THEIR PUBLIC PAGES] (e.g. their home page, features page, help docs, changelog), [MY APP IN ONE LINE].

Help me study a competitor using only public information. I want to learn from them, not copy them.

Competitor: [COMPETITOR NAME]
Text from their public pages (home, features, help docs, changelog): [PASTE TEXT FROM THEIR PUBLIC PAGES]
My app in one line: [MY APP IN ONE LINE]

Please:
1. Make a table of their features: feature, what it does in plain words, and who it seems to be for.
2. Pick out the problems they say they solve, in their customers' words where they quote them.
3. Describe how they explain their product: the main promise, the tone, and what they put first.
4. Note what they don't mention, or seem weak at, based only on what I pasted.
5. Mark anything you're guessing with "Guess:". Only use what I gave you; don't add facts about them from memory.
Don't rewrite their text for me to use. I'll write my own.

Tips to customize: Good public sources are their home page, plans page, help center, changelog, and public reviews. Don't log in to accounts you don't have, use someone else's login, or scrape pages when the site's terms say not to. Run this for two or three competitors, then use Prompt 4.2 to compare.

4.2 Turn Teardowns Into My Own Plan

Untested: not yet run against a model.

Use this when you have notes on one or more competitors and need to decide what to build. It's for finding the gap you can fill and a short build list that makes your app different.

Use in: ChatGPT or Claude, in a normal chat.

Fill in: [PASTE TEARDOWNS FROM 4.1], [MY APP AND WHO IT'S FOR], [WHAT I'VE BUILT SO FAR], [HOW MUCH TIME I HAVE] (e.g. "weekends for a month").

I studied some competitors. Help me turn that into my own plan, so my app stands out instead of being a copy.

Competitor teardowns: [PASTE TEARDOWNS FROM 4.1]
My app and who it's for: [MY APP AND WHO IT'S FOR]
What I've built so far: [WHAT I'VE BUILT SO FAR]
How much time I have: [HOW MUCH TIME I HAVE]

Please:
1. List the basics every competitor has that my users will expect too. Keep it short.
2. Find 2 or 3 gaps: users or problems they ignore, or things they make hard.
3. Pick the one gap that fits my users and my time best, and explain why in two sentences.
4. Give me a build list of 3 to 6 items, in order, starting with the smallest thing that shows off my difference.
5. Write one plain sentence I could put at the top of my home page that says what makes my app different. Use my own words, not theirs.
6. List 2 things I should not build yet.
Be honest if my idea looks too close to an existing app.

Tips to customize: Before you build, ask a few real people from your target group whether the gap matters to them. The First 100 Users pack has prompts for finding those people. Revisit your teardowns every few months, since competitors change too.

Get new free packs in your inbox

Optional. Every prompt here is free, and you don't need to sign up to use any of them. We email when we add new free packs. Unsubscribe anytime.

More free packs: Vibe Code Starter Pack Ship It Safe Fix My Bugs Ship It Live Make It Pretty Get Paid Signup Emails That Actually Arrive Lovable Credit Saver One Rules File for Every AI Tool Make Your Claude Code Limit Last Graduate From Lovable First App Store Submission Survive Your First Traffic Spike Get Found on Google First 100 Users Two AIs, One Project It Broke in Production Hit the Slop Wall? Refactor Without Breaking Everything Vibe Code From Your Phone Run Several AI Agents at Once Claude Code Guardrails Let AI Review Your AI's Code Make Your Cursor Usage Last Privacy Policy and Terms That Match Your App Install Skills, Plugins and MCP Servers Without Getting Burned Say What You Mean Prompt Injection: Don't Let a Web Page or a Strange File Hijack Your Agent Hit Your Limit Mid-Task? Switch AI Tools Without Losing Your Place Don't Let the AI Delete Your Data: Safe Database Changes Make the AI Teach You While It Builds Bolt Token Saver v0 to Production Claude Code Subagents and Skills for Beginners Logins, Tokens and JWTs in Plain English Put Your Web App on Their Phone Add AI Features in Lovable Is Anyone Using It? Simple Analytics for Vibe Coders Use the Cheap Model for the Easy Stuff: Claude Code Model Mixing Ship Updates Without Breaking the Live App: Preview Links, Checks and One-Click Rollback Try to Break It: Stress-Test Your App Before Strangers Do Claude Code Memory: Stop It Forgetting Your Decisions Fix Your Lovable Security Warnings Without Breaking the Live App What Will My App Cost to Run? A Monthly Bill You Can Predict Leave Claude Code Running Without It Getting Stuck Put Your Lovable App on Autopilot: Automations That Check and Report for You Spec and Tests First: Tell the Agent When It's Done Only Change What I Asked: Stop the AI Rewriting Code You Didn't Mention Stop Getting 429'd: Call Other People's APIs Without Hitting Limits Use the Current Version: Stop the AI Writing Outdated Library Code What Did My Agent Actually Do? Read Your Claude Code Session History Your First Google Play Launch: Get Through the 12-Tester, 14-Day Closed Test Will Anyone Want It? Check Your App Idea Before You Build Claude Code Code Mode: Try It Without Breaking Your Safety Checks Coding With Gemini 4 Neon: Make It Double-Check Its Own Work Understand the App You Already Built: A Guided Tour of Your Own Code Your Guess Might Be Wrong: Make the AI Find the Real Cause Before It Fixes Replit Missions: Give Agents a Goal, a Budget and Approval Rules Make Your Antigravity Quota Last: Pick the Right Gemini Model and Check /usage Turn a Claude Artifact Into a Desktop App, Without Giving It Too Much Access Built It for Work? Make Sure Only Your Team Can Open It Plan Before It Builds: Use GitHub Spec Kit So the Agent Builds the Right Thing Saves That Stick: Fix Data That Disappears Rebuilt Your Site With AI? Make Sure Google Can Still See Every Page Subscriptions and Paywalls: Gate Features by Plan Your AI App Builder Is Shutting Down: Get Your Code, Data and Domain Out Your Own Android App From a Prompt: Build It in Google AI Studio and Put It on Your Phone Backups You Can Actually Restore: Check, Copy and Test Your Supabase Data Accessibility Pass Before You Ship: Make Your App Work With a Keyboard, a Screen Reader and Zoom Update Your Dependencies Without Breaking the App: npm Updates, Audits, Major Upgrades and Dependabot