Plan an app with Foundry
Foundry is a built-in plugin that turns your app idea into a written plan through a guided AI interview, and can hand that plan to an agent to build.
Foundry helps you write the plan for an app (a product requirements document, or PRD) by interviewing you step by step, instead of leaving you with a blank page. When the plan is done, it can hand it to an agent to build.
Write a plan, one step at a time#
Open Settings > Plugins and turn on Foundry.
Open Developer Tools > Foundry in the sidebar.
Click New PRD. Foundry walks you through 13 steps, from Product Vision to a list of the files to build.
In each step, answer the AI's questions in the chat, then click Complete Step.
When every step is done, click Export PRD Files and pick your project folder.
Export writes one file per step into docs/planning/ in that folder, plus a KICKOFF.md guide an agent can follow. You can go back to a finished step with Reopen to revise.
Build what you planned#
After you export, Build This Now starts an agent in your project with the plan and kickoff guide, so it can build the app. Other cards offer follow-up passes such as Design Overhaul and UX Intuitiveness.
Let Autopilot do it all#
Launch Autopilot takes a one-line description of your idea and runs every step for you while you watch, then builds the project. You can Pause (your progress is saved) or Abort at any time.
Turn it off#
Turn off Foundry in Settings > Plugins. Its sidebar entry goes away; see Add features with plugins for what plugins may do.
Review steps. Steps 8 to 10 (User Red Team, Developer Red Team, Designer Red Team) have the AI argue against your plan from each point of view to find holes before anything is built.
Where your plans live. Plans are kept in Yardmaster's database on this computer, separate from the plugin's files.
Firebase Setup in Foundry's header checks once that the Firebase tools are installed and signed in, for Autopilot deploys.