How to reverse-engineer almost any app with AI — and why you’d want to try it

Splitting a dinner bill is easy until two people share an appetizer, one person orders a second drink and someone says, “Let’s just divide it by four.” If you ordered a sandwich and a soda, that’s how you end up paying $38 for lunch. We've all been there. A bill-splitting app already gives you the basic idea. You enter what everyone owes and it does the math. But for a restaurant check, it would be easier to start with what everyone ordered. Tap the names of the people who shared the fries, enter the tax and tip once and let the app work out what each person owes.
That’s a small example of what it means to reverse-engineer an app with AI. You figure out what goes in, what comes out and what rules connect the two. Then you give an AI coding tool like Claude Codex or ChatGPT Work those rules and ask it to build a version that works the way you want.
Work backward from the result you wantIn the situation above, just picture the screen you’d want to see when the check comes. You need a total next to each person’s name, and those totals should add up to what the restaurant charged. Work backward from there. Each menu item goes to the person who ordered it, shared dishes are divided among the people who ate them, and tax and tip are split based on each person’s share of the food and drinks.
It helps to write out one example before you touch a prompt. If three people split a $12 appetizer, each should owe $4 for it. When you add a fourth person to the table, their share should change only if you assign them to that dish. Tiny rules like that are easy to skip. They’re also what make the tool work the way you expect.
Give Claude a real example to build aroundClaude can preview small interactive tools as Artifacts, so you can try this in a chat and see how the calculator behaves as you use it. An example prompt could be: Build a restaurant bill splitter as an interactive Artifact. Let me add people by name, enter each menu item and its price, and select who ordered or shared it. Split shared items evenly among the people I select. Give me fields for the dollar amounts of tax and tip, then divide those amounts in proportion to what each person ordered. Show each person’s itemized share and final total. Make sure all the totals add up to the full check down to the cent.
Once the app has been created, give it a try. Start with a check you can verify in your head. Two people order $20 and $10 entrées and share a $10 appetizer. Add $4 in tax and $4 in tip. The person who ordered the $20 entrée should owe $30. The other should owe $18.
Then try a $10 dish split three ways. If the app charges everyone $3.33, it’s a penny short. Ask Claude to handle the leftover cent and run both checks again. It’s easier to catch that at home than with four people waiting to see what they owe.
Play around with the app before you use it in the real world. If you spot any issues, run it by Claude and explain the problems. It can work them out just by using simply language; no coding needed. Start with the thing you keep doing by handYou can try reverse engineering just about anything. Maybe you already know which app you’d pick. It’s the one you open to get a number and then copy that number into a spreadsheet because the app stops one step short. A recipe scaler might get you from four servings to seven, but you still have to combine the ingredients from two recipes into one grocery list. That extra step is a good first project. You already know how it should work because you’ve been doing it yourself.
You can reverse engineer just about anything with Claude Code or Gemini or Codex. Give it a try and let me know what you make in the comments.
This summary is from Tom's Guide, published Dec 3, 2026. NewsFusion links to the original reporting and groups related coverage.

![[Initiative] Assistente 247](https://www.brasil247.com/wp-content/uploads/2026/12/ff870480-207c-46cc-921b-b11a1931a2c3-e1796142622496.png?w=1200&quality=88&strip=all)




