Real Agent Cases

Port a backend to Convex in four hours with Factory's Droid

Posted
by dallen (@Dallenpyrah)
Last checked
Method:
How we verify

Evidence: Described by posterThe person describes what happened in words, without screenshots or video.

Outcome

The poster reports that Factory's Droid ported their tRPC/Drizzle custom backend to Convex in about 4 hours, with some bugs left to fix.

Agent

Factory Droid

Prompt Recreated prompt

The source didn't share its exact prompt, so we wrote this from what it describes.

Here's a task I'd like your help with. Read it all the way through before you start.

Goal: Port my app's backend to a new platform.

Check with me first: Which parts of the backend matter most to get right first?

What I'll give you:
- My codebase
- Access to the new platform

Rules:
- List anything you couldn't port cleanly.
- If something is missing or unclear, ask me instead of guessing.
- For safety, keep my original code untouched until I've reviewed the port.

Output: The ported backend on a branch plus a list of known issues.

You'll know it worked when: the app runs on the new backend and I have a short bug list to finish.

Try this in:

Sends the Recreated prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini opens empty, so we copy the prompt for you to paste. Every button also copies it.

The source used Factory Droid, which can take actions in a browser or app. These are general chat tools, so results may differ, and a normal chat may only give you a plan.

Opens in a new tab. We don't see what you send.

These links are only a shortcut. We're not affiliated with OpenAI, Google or xAI, and your results may not match the source.

Optional stronger version

Our rewrite with extra checks. The poster didn't test it.

Here's a task I'd like your help with. Read it all the way through before you start.

Goal: Port my app's backend to the new platform, keeping the original code intact until I've reviewed the port.

Quick check first: tell me if anything below is missing or unclear.

Inputs (fill in or confirm):
- Codebase and the parts that matter most
- New platform account and project
- Test suite or key user flows
- Data that must be migrated

Rules:
- Map every existing endpoint, schema and background job to its equivalent on the new platform before writing code.
- Port the most important area first and get it working end to end.
- Keep the old backend untouched on its own branch; work on a new branch.
- Write or port tests for each area and run them after each step.
- List anything you couldn't port cleanly with the reason and a suggested workaround.

Checkpoint: Ask before migrating production data or switching the app to the new backend.

If you get stuck: If a feature has no equivalent on the new platform, stop and propose options rather than hacking around it. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords.

Verify before you finish: Run the full test suite and walk through the key flows on the new backend.

Output: Port branch, mapping table, test results and a known-issues list.

Done when: the app works on the new backend with a clear list of remaining bugs.

Source

https://x.com/Dallenpyrah/status/1971996302746824729

  • Migrate a 50-screen app from Firebase to Supabase with Claude CodeRecreated promptEvidence: Described by poster

    Going feature by feature, the poster used Claude Code to generate database schemas, write queries and fix daily errors; they report migrating about 85% of a 45–50 screen Flutter app from Firebase to Supabase in 10–20 days.

    Poster says:~85% migrated in 10–20 days

    Claude Code · Coding · Source date:

  • Codex CLI (GPT-5.2) ran for hours largely unattended and produced about 9,000 lines of dependency-free JavaScript passing 9,200 html5lib tests, in about 4.5 hours start to finish.

    Poster says:Passes 9,200 html5lib tests

    OpenAI Codex CLI · Coding · Source date:

  • Migrate two websites from WordPress to Wagtail with Claude CodeRecreated promptEvidence: Described by poster

    Over a weekend Claude Code migrated two sites from WordPress to Wagtail (PHP to Python), including server setup, data transfer, testing and fixes, and redesigned a homepage; the poster reports nothing broke and traffic and tools stayed in place.

    Claude Code · Coding · Source date: