Dev.to AI 🤖 Ai 👁 0 📖 2 min read

I vibe coded Tinder for dogs in 2 minutes 38 seconds. Here is the exact prompt, and the bug the agent caught itself

I wanted to see how far a single request could go. So I opened an empty folder, typed one paragraph, and let an AI agent do the rest. Two minutes and 38 seconds later I had Pawmatch: a swipe app for adopting dogs, with

I wanted to see how far a single request could go. So I opened an empty folder, typed one paragraph, and let an AI agent do the rest.

Two minutes and 38 seconds later I had Pawmatch: a swipe app for adopting dogs, with ten drawn dogs, a working drag gesture, a matches tab and an "It's a match!" screen with confetti. It cost 5 cents of model use (Claude Haiku).

Here is the real run, sped up:

The prompt

Build a swipe app like Tinder but for adopting dogs, called Pawmatch, shown inside a phone frame in the middle of the page. A stack of ten dog cards, each with a dog drawn in SVG, a name, age, breed and a short funny bio. I can drag a card left or right with the mouse and it flies away, or use the heart and cross buttons. Liked dogs go to a Matches tab. Show a big It is a match screen now and then. Warm, playful design. Give it its own name, colours and logo; do not copy any brand. Plain HTML, CSS and JavaScript, no build tools and no installs.

What the agent actually did

  • It wrote three files: index.html, styles.css and app.js.
  • It opened the page in its own browser and looked at the result.
  • It found a bug by itself: the match overlay was hidden behind the card stack. The cards had a z-index but the stack had no stacking context of its own, so they competed with the overlay. It gave the stack its own stacking context and checked again.
  • It tried a mouse drag, the like and pass buttons, and the Matches tab before it said it was done.

That third step is the one I care about. I did not find that bug. The agent did, because it tests what it builds.

Then I asked for one more thing

Add a super like button with a star that makes the card fly up, and marks the dog with a star in Matches.

That took 49 seconds and about 3 more cents.

What I learned about writing the prompt

  • Say what the app does, not how to build it. I never mentioned a framework or a file name.
  • Ask for something you can look at straight away. "Plain HTML, CSS and JavaScript, no installs" means the result opens in a preview with nothing to set up.
  • Tell it to use its own name, colours and logo. The idea can be borrowed from a famous app; the branding should not be.
  • Keep the follow-ups small. One feature per request is easy to check.

What this is not

It is a front end. There are no accounts and no server, and the dogs are drawings, not real listings. For a real product this is the first hour, not the last one. But it is a first hour that used to be a first week.

The tool

I built this with VibeCode.surf, the desktop code editor I am working on. A crew of AI agents works on your project with you, with any model you like: Claude, GPT, Gemini or a local one. It is free during the beta.

What should I vibe code next?

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.