Workshop participant guide
We’ll start together, then you’ll build at your own pace with help from the instructor. You’ll put your app on the web, try its iPhone preview in Revyl, and work with the instructor to verify a scheduled maintenance run by your own coding agent.
Start together
In the lecture we’ll take one idea through a short interview, review the screens and Foundation Plan, and show where your agent takes over after First Draft generates the starting code. Pick one useful task your app should help someone finish. Name who will do it, what they need to save, and how you’ll know it worked. Bring a sketch or made-up examples if you have them.
For example, a book club member adds a book to the reading list and marks it finished.
You’ll need a GitHub account and access to Claude Code or Codex. The lab uses free Render and Neon plans. Check your allowances for your coding agent, GitHub Actions, and Revyl before starting. If you need help during the lab, show your instructor the step and its error with any credentials hidden.
Set up your workspace
Pick one environment below. Use a new app folder or Codespace for this lab. If you already installed First Draft, check the update instructions before opening your project.
Mac with the laptop kit
Follow Part 1 of the
laptop kit. Download and extract the ZIP, open its workshop-kit folder in
Claude Desktop’s Code tab, and type Set up my laptop for the workshop.
Choose a project folder outside iCloud, Dropbox, and other synced folders. Quit and reopen Claude Desktop,
select Local, and open your new app folder.
Windows with the laptop kit
Extract the same kit. Open its workshop-kit folder in the Local environment
in Claude Desktop’s Code tab and send the same setup request. The kit installs Ubuntu
in WSL. If prompted to restart, reopen the kit folder and type continue. Once setup finishes,
start a new session in WSL → Ubuntu-24.04 and choose your project under
/home/appdev.
We haven’t yet rehearsed the lab on a freshly set up Windows 11 laptop, so show the instructor any step
that fails.
Use Codex on your laptop
The laptop kit’s guided setup uses Claude Desktop and sets up First Draft for Claude. To use Codex for the app, install the Codex CLI in Terminal on the Mac or in the kit’s Ubuntu terminal on Windows. On Windows, run the installer for Linux and keep the app, tools, and agent in Ubuntu. If you only have a Codex account, choose the Codespace below for a preconfigured workspace.
In the same terminal, install First Draft for Codex. Then change into your app folder, run
codex, and sign in with ChatGPT if prompted.
codex plugin marketplace add firstdraft/skills
codex plugin add firstdraft@firstdraft-skills
Codespace in a browser
Sign in to GitHub and open
Drawing Board.
Choose Use this template → Open in a codespace.
Trust the folder when asked and wait for Drawing Board setup complete.
It installs both agents and their First Draft plugins. In the Codespace terminal run claude
and follow the browser sign-in, or run codex login --device-auth, approve the code shown in
the terminal, and run codex. For scheduled maintenance you’ll need a separate runner.
Ask the instructor to help you choose one early if you can’t install software on your laptop.
See the Codespace setup with screenshots.
Interview and review the plan
Start with the app Skill in your project session. The kits’ current workshop sign-in shortcut walks through a fixed list of accounts. Starting with the app Skill lets you sign in to First Draft now and decide which other accounts to set up after the interview.
- Claude on a Mac or in Drawing Board:
/firstdraft:create-full-stack-app - Claude in the Windows kit’s Ubuntu session:
/create-full-stack-app - Codex:
$firstdraft:create-full-stack-app, or choose it from/skills
Give it your idea and add this request in the same message.
I’m building this for the First Draft workshop. Interview me and give me the Project link. Plan for a web app on free Render with Neon and include an iPhone client for the Revyl preview. After we review the plan, show me its Setup list and walk me through it. Wait for my approval before compiling.
When your agent gives you a First Draft sign-in link and code, open the link, sign in with GitHub, and accept the current terms and privacy notice if prompted. Check that the code matches, continue to approve, and tell your agent when you’re done. First Draft also asks whether your agent can send reports and notes. You can change that choice later on your account page.
Open the Project link to review the screens in Screens and try the Desktop and Mobile views. Check sample records, who can do what, and the gaps your agent will have to handle in code. Ask for changes in the same conversation. Check that the reviewed Plan includes the iPhone client and that the Gaps tab gives no reason the Compiler would omit it.
Follow your Project’s setup list
Open Setup in the same First Draft Project you’ve been reviewing, using the link your agent gives you. Go through it together before approving Compile. Sign in to the accounts you’ll need, including Revyl. Come back to the same list for the settings you’ll enter after building.
You handle sign-ins and approvals in the browser. For Revyl, run revyl auth login
in the app’s terminal and approve the matching code in the browser account you’ll use for the Viewer.
Check your Revyl usage plan.
The list also shows Cloudinary if your app accepts uploads
or Resend if it sends email. Check where the list says to enter each value.
In Cloudinary, click the eye icon next to the API Secret to show it before you copy it.
Enter keys yourself in the provider’s settings, in the app’s private local environment file, or at the
hidden terminal prompt that the app’s instructions specify. Keep key values and database URLs out of
chat and Git. If your kit’s notes send your agent to the sign-in shortcut or a command-line deploy,
ask it to follow your Project’s Setup list and the dashboard steps in DEPLOY.md.
Compile and try your app
- When the plan and gaps match your intent, tell your agent to compile. Ask it to read the generated README, run setup and tests, and finish the behavior you agreed on.
- Ask your agent to start the local web app. Open its preview link and try the task you chose in the lecture. In a Codespace, open the forwarded port 3000 in your browser.
- Ask your agent to publish the app to a new private GitHub repository under your account.
With Claude on a kit laptop, follow the kit’s
Publish to GitHub steps. With Codex on a laptop or another local setup, ask your agent to check
gh auth statusin your app’s terminal. Rungh auth loginthere if needed. Confirm your Git name and email before the first commit. If Git uses SSH, have your agent check that your public key is registered with your GitHub account before pushing. In a Codespace, you can choose Source Control → Publish to GitHub and select a private repository. Confirm the repository link and wait for the pushed commit’s checks. The push also starts the iPhone build.
Deploy your web app
Open First deploy in your app’s DEPLOY.md with your agent. It gives the checks
and dashboard steps for your compiled app.
- Create a Neon Free project on PostgreSQL 18 or newer in the region named in
DEPLOY.md’s First deploy section. Copy the direct connection string with pooling turned off. - In Render, choose a Hobby workspace and give Render access to your private repository. Confirm the
checks on the commit you want to deploy have passed. Choose New → Blueprint and
select the repository and its
mainbranch. Confirm the web service is Free. Enter the Neon connection asDATABASE_URL. SupplyCLOUDINARY_URLfor uploads andRESEND_API_KEYfor email when the Blueprint prompts for them. - Use the service’s Environment page for later settings, such as
MAIL_FROMwhen you configure the app’s email sender. When the intended commit is live, check that its/readypage responds successfully and try your chosen task at the app’sonrender.comaddress. The hosted database starts empty. Free Render can take a minute to wake after sitting idle.
Try your iPhone app in Revyl
Open the generated IOS_PREVIEW.md with your agent. GitHub builds your app’s unsigned iPhone
Simulator artifact on a Mac runner. Revyl runs that build in a Simulator you use in your browser.
The preview works without Xcode or Apple Developer enrollment and stays in the Simulator.
Android is a separate choice.
- If the deployed app contains only disposable lab data, open the Render URL in your browser to wake
it and give that HTTPS address to your agent. The preview uses that app’s data. For a development
preview, follow
IOS_PREVIEW.md. On a Mac or in Ubuntu on Windows, it uses a Cloudflare quick tunnel. In a Codespace, it uses port 3000 set to Public in the Ports panel. Use disposable data while the development address is open. - Ask your agent to run
bin/ios preview revyl doctorand thenbin/ios preview revyl --serverwith that HTTPS address, without a page path. If your Codespace cannot dispatch a GitHub build, use Actions → iOS Simulator artifact → Run workflow in the repository, select the branch, and retry the preview. - Open the Viewer link in the browser where you signed in to Revyl and try the same task as on the web. We haven’t yet tested the signed-in Viewer in a rehearsal, so show the instructor if it doesn’t open.
- When you’re done, run
bin/ios preview revyl stop. If you used a development address, close the tunnel or make the Codespace port private again.
Set up your agent’s maintenance cycle
- In your First Draft Project, open Details → Environments. Add a
productionEnvironment if you haven’t created one. Open it, choose Turn on monitoring when available, and set the displayedSENTRY_DSNin Render’s Environment settings. Redeploy and connect your GitHub repository from the same First Draft page. If monitoring is closed, show the instructor that step before continuing. - From the deployed app’s repository, ask your agent to use the
maintain-appSkill to read the open production items and report what it found. Check that it reached the right First Draft Environment. An empty list is a successful read. - Choose a scheduler with the instructor. For a task on your laptop, use a local checkout and set up First Draft in the environment where that task will run. Use the desktop app’s scheduled tasks for Codex or Claude Code. Keep the app open and the computer awake. On Windows, check that the task sees your project folder and First Draft tools inside Ubuntu. If you built in a Codespace, which stops when idle, run the schedule against a local checkout or use a separate runner your instructor has verified.
- Start a test run from the scheduler. Use its linked instructions to give the First Draft commands permission to reach the service unattended. Check the run’s history to confirm it read the right Environment, then check when the next run is due. Claude Desktop starts a scheduled run a fixed delay after its set time; in one rehearsal it waited about 12 minutes. Wait that long before changing the task. Tell your agent which fixes it can propose in pull requests and which need your approval first.