Skip to main content
Practical AI · Episode 15

Build Your First Useful App With Claude Code

Build and test a small follow-up desk with Claude Code. Download the build brief, prompts, both complete app implementations and browser checks, then use the guide to run them locally with fictional data.

Full episode · Open guide and downloads · No signup required

Watch the full episode

6:01 · Practical AI from AlphaForge

Read the written explanation
Read the episode transcript

Hi, I'm Mike Elliott, and this is Practical AI from AlphaForge. By the end of this video, you'll build and test a simple app.

My mission is to help you put AI to work in your business and career.

The free starter kit includes the build brief, reference app and test steps, with the AlphaForge website link in the description.

Imagine finishing a good conversation with a potential client, writing a note, and then having to remember when to pick it up again.

Our example is Daniel, a fictional consultant who runs workshops. Maya has asked about two possible dates. Leo wants to see a sample. Priya wants to reconnect next week.

Daniel doesn't need another screen full of names. He needs to open his laptop and see who needs attention, what they discussed, and the next thing he meant to do.

That's the small app we'll specify: a follow-up desk. The useful view is today and overdue, with the next action beside each person. Open a contact, change the action or date, and mark the work complete.

If your existing CRM already handles this, keep using it. This is a manageable first build for learning how to turn your own recurring job into a working tool.

Start with a short build brief. Who uses it? What do they need to do? What has to remain true when they return tomorrow?

For Daniel, there are three essential behaviors. Save a contact with a conversation note and a dated next action. Show the actions that are due. Keep edits when the page is reopened.

Notice what isn't in that request: an AI agent that sends messages, a team workspace, or a full sales platform. A first app is easier to understand when it does one useful job from beginning to end.

We'll ask for a local browser app with plain HTML, CSS and JavaScript. It can use the browser's local storage for this exercise. That means the saved information belongs to this browser and site address; it isn't a shared company database.

Open a new project folder in Claude Code. For the terminal route, change into that folder and start Claude with the command in the setup guide. You'll need an account with Claude Code access; check your plan and usage terms first.

Put the requirements in a file called BUILD-BRIEF.md. The kit gives you a copy you can edit. Then ask Claude to read it and explain the proposed files, data fields and tests before changing anything.

Check that the plan covers the three behaviors: save, show what's due, and keep your changes.

If the plan suddenly includes a database service or a new subscription, bring it back to the brief. You should be able to explain what you're building before agreeing to more moving parts.

Once that plan fits the job, ask Claude to implement it and explain how to run it locally. Ask for fictional examples, clear error messages and tests for the important behaviors.

The kit includes an authored reference app to compare against your own build. Its run command starts a small local web server. Open the local address in your browser. The guide includes the files and commands, so you have something concrete to compare with your own version.

Begin with the fictional examples. Maya needs an answer today. Leo's sample is overdue. Priya's check-in is later.

The first screen should let Daniel see Maya and Leo without hunting through every contact. That's a useful result you can judge quickly. The future conversation is still in All contacts; it hasn't disappeared from the app.

Now make a change someone would actually make. Open Maya's record and replace the next action with “Ask for the final decision date.” Move the due date to tomorrow and save it.

What should happen? Maya should leave today's queue, remain in All contacts, and keep the new action and date. Editing a person shouldn't create a second copy of them.

Then mark Leo's action complete. It should leave the open queue and appear under Completed. Reopen it if you need to do more work.

These checks are more revealing than asking Claude whether the code looks good. You're giving it an input and checking the behavior you asked for.

Daniel still decides what to say to Maya and whether Leo's sample is ready. The app holds the next action; it doesn't carry out the conversation.

A polished first screen is encouraging, but Daniel needs those changes tomorrow.

Reload the page, then close and reopen it at the same local address. Check Maya's changed action and date, and Leo's completion state. Keep the browser profile and port the same for this test.

The reference version saves records in local storage. Clearing site data or using a different browser can leave you looking at a different or empty set of records. Export the fictional records and inspect the file. Before putting important work here, test how you'll recover it.

Try one failure case too: leave the next action empty. The app should ask for the missing information instead of quietly saving a contact with nothing to do next.

The useful test is whether you can come back and continue the work, with the same information you deliberately saved.

If a test fails, describe what you did, what you expected, and what happened. For example: “I changed Maya's date to tomorrow, but she still appears in Today and overdue.”

Ask Claude to find the cause, make the smallest relevant correction, and rerun that test along with the tests that already passed.

Keep the original steps and the result you observed. A good result deserves credit; a problem deserves a specific report.

In the kit, the reference app's core tests cover due dates, completing and reopening actions, rescheduling without duplicates, and saving through a storage adapter. Those code checks don't replace clicking through your browser and reopening the page.

You learn more from one reproducible problem than from repeatedly asking for the whole app to be improved.

When the basic workflow works, use it before asking for more features.

For Daniel, searching a name or organization could be useful when the list grows. A backup is useful because the information lives in one browser. A dashboard full of charts may add very little to his next conversation.

Choose the next feature from something you actually struggled to do. Tell Claude how you'll know it helped, and repeat the earlier checks after the change.

You don't need AI running inside this app every time you open it. Claude Code helps build the software. Ordinary code handles saving a record, comparing dates and filtering the list.

That distinction makes your first app easier to understand, inspect and use.

Pick a small job you repeat: something you enter, a decision or view that helps, and information you need to keep.

Write those three things down. Add a few realistic examples and tell Claude Code what a successful result must do. Build the smallest complete version, use it, close it, and come back to it.

The win is a tool you can explain and test against your own work. A convincing screenshot is the beginning of that investigation.

What small app would help you in your working day, and what's the one action it absolutely has to get right?

Thanks for watching. Please like this video and subscribe if you want more practical ways to use AI in your work and business.

Click the link in the video description to download the free resource kit for this video from the AlphaForge website. You’ll get the prompts and templates, so you can put what you’ve learned into practice in your own work and business.

I’m Mike Elliott. I’ll see you in the next Practical AI video.

English captions (SRT) · English captions (VTT)

Questions? Ask Mike

Mike Elliott — AlphaForge

mike.elliott@alphaforgeusa.com

Comments appear only after moderation. Private questions and reply addresses are never public. Neither action subscribes you to marketing.

Community comments

No approved comments yet.

By Mike Elliott · Practical AI from AlphaForge

Build a small tool you can explain and test

Daniel, the fictional consultant in this episode, needs to see who needs attention, what they discussed, and the next action he meant to take. The follow-up desk saves a contact, a conversation note and a dated next action, then shows what is due.

The approved lesson uses an authored reference app. The kit also includes the separate output from an actual Claude Code build, its exact request and recorded checks. The recommended plan-first dialogue and the observed single-request build remain distinct.

Claude Code helps build the software. Ordinary code handles saving records, comparing dates and filtering the list. These local apps do not send messages or connect to a production CRM. Use the supplied fictional records and test what survives reopening the page.

The complete companion guide: First Useful App Starter Kit

Read the starter kit

There are TWO complete implementations:

  • follow-up-desk/: authored reference app, explicitly described as such in the video; 10 core tests and separately recorded reference-browser checks.
  • claude-built-app/: actual fresh Claude Code output, not copied from the reference; 20 logic tests and separately recorded actual-browser checks. Its five source/test files are byte-identical to the saved build. ACTUAL-BUILD-PROMPT.txt is the exact request used.

BUILD-BRIEF.md describes the useful job. CLAUDE-BUILD-PROMPT.txt supplies the optional two-stage plan/implementation route taught in the approved narration. That exact two-stage interaction was NOT the measured run: we used one bounded direct implementation request. BUILD-SESSION-LOG.md records what happened, not a blank placeholder. ACCEPTANCE-TESTS.md lists observed results for each implementation and honest gaps.

Both implementations were exercised separately. The saved reference-browser run establishes its due queue, edit without duplicates, completion/reopen, reload/tab reopen, empty-field rejection and JSON download. Search, whitespace-only rejection and repeated-example loading were observed for the actual Claude-built app; they are NOT established by the reference-browser receipt. See ACTUAL-BUILD-RESULTS.md, REFERENCE-BROWSER-RESULTS.md and the actual backup. Full browser-process/device restart, keyboard/mobile review, forced browser-storage errors and recovery/import remain unverified. This is a local starter, not a deployed CRM; no sync or messages.

Use fictional data. Subscription allowance was consumed by the earlier real build; exact remaining allowance and monetary cost are unavailable. No new Claude calls, model inference, installs, media generation, purchases or deployment occurred while repairing this kit.

Set up and run both apps

Stack and ownership

The viewer owns a Mac, Terminal, browser, Claude subscription and project folder. Claude Code creates source; ordinary HTML/CSS/JavaScript runs locally; browser localStorage holds records; Python serves static files. No API key, remote database, account inside the app, cloud hosting or message connector is required.

Observed build: Claude Code 2.1.332, claude-sonnet-5-5, existing Claude Pro subscription, one 151.01-second implementation run and nine turns. Current local rechecks use Node v25.8.0 and Python 3.14.3. These are observed versions, not claimed minimums. Python 3 is required to use the supplied server command; Node is needed for optional code tests, not for the running browser app.

Official links checked November 29, 2026:

Run either supplied implementation without using Claude allowance

Unzip this kit. Open Terminal, type cd , drag the chosen app folder from Finder into Terminal and press Return. Dragging inserts the real folder path, including spaces.

For the authored reference, choose follow-up-desk, then run:

python3 -m http.server 8769 --bind 127.0.0.1

Open http://127.0.0.1:8769/ . Leave that Terminal running. Stop with Control-C when done.

For the ACTUAL Claude-built app, choose claude-built-app in a separate Terminal, then run:

python3 -m http.server 8866 --bind 127.0.0.1

Open http://127.0.0.1:8866/ . These addresses are separate storage origins; do not move evidence or saved records between them and call it one run. Keep the same browser profile, host and port when testing persistence. Existing records may already be present if you previously used that exact origin; inspect rather than delete them.

If Python is missing, install Python 3 from the official link before running the command. If the port is occupied, choose a free port and record the new origin; previous localStorage will not appear there. Do not bind publicly or deploy this starter.

Run the code tests

From follow-up-desk:

node --test core.test.mjs

From claude-built-app:

node --check app.js
node --check logic.js
node tests/logic.test.js

Observed: reference 10/10 and actual 20/20 logic tests. They do not replace browser testing. The actual browser backup contains four fictional contacts and the saved Maya edit; it is evidence of export, not an importable recovery feature.

Build your own version with Claude Code

The tutorial's build route uses an existing Claude Pro subscription; other paid routes are not needed. Official docs currently list Pro among supported accounts. Plan limits and usage change; check your own allowance. Do not enter a Console API key or enable paid extra usage just to follow this route. Native Claude Code installation does not require an npm install.

If Claude Code is missing, the official Mac installer command is:

curl -fsSL https://claude.ai/install.sh | bash

This is a viewer setup instruction; we did not run an installer during this kit repair. Follow any terms/security/account prompts yourself. Then open a new Terminal and check:

claude --version

Create a new empty project folder, copy BUILD-BRIEF.md and ACCEPTANCE-TESTS.md into it, open Terminal there and run claude. Sign in through your Claude subscription and verify that account route rather than assuming an API key is free. Review file/command permissions for this folder only.

The approved narration teaches plan first: submit FIRST REQUEST from CLAUDE-BUILD-PROMPT.txt, review it, then submit IMPLEMENTATION REQUEST. Save your actual responses. Our observed run used ACTUAL-BUILD-PROMPT.txt as a single direct request instead; the exact two-stage interaction has not been independently reproduced. Both routes remain clearly distinguished.

Run the resulting app with its returned command and perform ACCEPTANCE-TESTS.md. A new build consumes your subscription allowance. No model run is required to inspect the already supplied working apps.

Use it and retain your work

Load fictional examples, edit Maya's action/date, complete/reopen Leo, search and export JSON. Reload, close and reopen at the same origin. The completed actual browser test preserved four contacts and the exact edits. The backup is download-only: there is no import/restore UI. Before important data, decide and test an actual recovery method; no recovery success is claimed here.

Describe the useful job

Person and job

A solo consultant needs to continue promising client conversations. The person wants to open a small app, see today's and overdue next actions, and change the action/date without duplicating the contact. Use fictional data during development.

Essential behavior

  1. Add a contact: name, organization, conversation note, next action and due date. Name, next action and a real calendar date are required.
  2. Today's view contains incomplete actions due today or earlier, ordered by due date. Future contacts remain visible in All contacts. Completed actions have a separate view.
  3. Edit an existing contact's note, action or date using a stable ID. Do not duplicate a contact because an action changed.
  4. Mark an action complete and reopen it. This changes stored state, not a message sent or a client result.
  5. Save in the current browser's localStorage. Reloading/reopening at the same origin should retain information. Report a storage error honestly; never show success if saving failed.
  6. Search names, organizations, notes and actions. Download a local JSON backup.

Boundaries

Plain HTML/CSS/JavaScript; no frameworks, external libraries, API keys, remote services, account system, email integration or automatic messages. No analytics, fonts or scripts loaded from a remote site. Serve locally on127.0.0.1. Browser storage is single-browser/single-origin, not a company database or sync. Do not deploy. Additions outside this scope need review of their purpose before implementation.

Interface

One clear work queue and contact editor. Readable labels, keyboard-operable controls, error/status messages and useful empty views. Responsive small-screen layout. Input values are text, never inserted as HTML.

Sample work

Fictional Maya: workshop-date question due today. Fictional Leo: sample preparation overdue. Fictional Priya: a future check-in. Dates can be relative to the actual local date. Keep fictional labels visible.

Acceptance criteria

Use ACCEPTANCE-TESTS.md. Tests should prove behavior, not just echo implementation. Test current/overdue/future dates, completion/reopening, edit without duplication, invalid date/action, read/write errors, reload/reopen and a useful mobile/keyboard flow. Distinguish deterministic code tests from actual browser tests. Keep raw failures and changes. Never claim a test ran when it was only proposed.

Plan and build your own version

FIRST REQUEST — use inside a new, dedicated project folder with BUILD-BRIEF.md and ACCEPTANCE-TESTS.md:

Read BUILD-BRIEF.md and ACCEPTANCE-TESTS.md. Before editing, explain the proposed files, data fields, storage choice and tests in plain language. Keep the scope local and dependency-free. Do not add services, accounts, deployments, automatic messages or a larger sales platform. Point out any ambiguity in the brief. Wait for me to choose the plan before implementing.

IMPLEMENTATION REQUEST — only after you accept the plan:

Implement the agreed small app. Use fictional examples and stable record IDs. Make error and empty states clear. Explain exact local run commands, which tests you actually ran, their results and what needs manual browser testing. Do not infer completion of a browser test from unit tests. Keep all work within this project folder. No deployment or external integration.

BUG REPORT TEMPLATE:

I did: [exact steps]. I expected: [observable outcome]. I saw: [actual result/error]. Explain the cause, fix the smallest relevant part, and rerun the failing test plus the earlier behavior checks. Report changes and unresolved tests. Do not invent a failure to make this example fit.

FEATURE REQUEST TEMPLATE:

The working version makes [task] awkward. Add [one behavior] so I can [purpose]. Explain the impact on saved data and earlier checks before changing it. Keep the existing scope and local storage boundaries.

These are the two-stage teaching prompts. The saved actual build used the separate ACTUAL-BUILD-PROMPT.txt direct request; see BUILD-SESSION-LOG.md. A new run consumes the user’s own account allowance. No new run was performed during this kit repair.

Check behavior against the requirements

November 29, 2026. Historical browser observations come from separate saved runs; this kit repair did not repeat browser automation. Current code-test reruns are recorded in the package check. Use fictional data and keep each app’s origin/profile stable.

CapabilityAuthored referenceActual Claude build
Due queue / all contactsObserved: two due, all three samplesObserved: two due, all three samples
Edit without duplicateObserved: changed Maya, stable countObserved: Maya rescheduled, count remained three
Complete / reopenObservedObserved, including reload and reopen
Reload / close-tab reopenObserved at same origin/profileObserved, four records and saved edits retained
Empty / whitespace actionEmpty field observed; whitespace-only browser case not runObserved rejection; no extra record
Invalid dateCode tests; no separate browser case claimedCode tests; no separate browser case claimed
SearchBrowser case not runObserved by action text and clear
Repeated samplesBrowser case not runObserved: no duplicates
Backup downloadObserved; authored reference exportObserved; actual JSON has four unique IDs
Storage failuresAdapter tests onlyLogic tests only; forced browser error not run
Keyboard / mobileNot runNot run
Full browser restart / device restartNot runNot run
Import / restoreNot implemented/testedNot implemented/tested

For your own run: save the exact input, expected behavior, actual result and any correction. Existing observations are not evidence that your new version or machine passed. The recovery warning is intentional: export alone does not restore data.

Read the actual build evidence

Actual generated source: claude-built-app/ (five source/test files). Authored teaching reference: follow-up-desk/ (a different implementation). Neither is a cloud-connected CRM. The approved narration uses the authored reference explicitly.

Observed actual build: one direct implementation request to Claude Code 2.1.332 / claude-sonnet-5-5 using an existing Pro subscription; reference source not supplied. Claude's shell checks were denied. The coordinator then ran 20 logic checks and browser operations. The separate plan-acceptance dialogue taught as a recommended method was NOT the measured interaction. Do not present that method as an actual recorded exchange.

Observed generated-app browser journey: 3 examples → 2 due; Maya edit/date change with count3 → Leo complete → reload retains state → reopen Leo → repeated examples add none → action-text search → whitespace-only action rejected → valid Alex adds fourth → JSON download has4 unique IDs → close-tab/new-tab retains values at the same origin/profile. See ACTUAL-BROWSER-BACKUP.json. Browser origin used for that evidence:127.0.0.1:8866.

Reference-browser journey, separate origin127.0.0.1:8865: 3 examples/2 due, Maya edit with stable count, Leo complete/reopen, reload/tab reopen, empty-field rejection and real backup downloads. The reader's reference run guide uses8769; that is another storage origin. Reference browser search, whitespace-only input and repeated-example loading remain unobserved. The10 reference code tests cannot turn these into observed browser results.

There is no restoration feature or recovery success claim. Full browser/device restart, mobile/keyboard qualification and forced browser-storage failures remain untested. Closing a tab is not restarting the browser. No messages are sent.

Your reproduction: follow SETUP-AND-RUN.md and YOUR-BROWSER-CHECKLIST.md; record your actual observations. Existing evidence is not a pass for a new build or a different machine. Both apps/source/prompt/backup are supplied without private account/session logs. No fresh model run or browser test was performed for this proposed correction.

Use the browser checklist

Use fictional records and an unused localhost port/profile for a clean trial; record the exact host, port and browser profile. Keep that origin for the whole check. Existing saved records on an earlier origin are not an empty test state—inspect them rather than overwriting them. These are instructions for YOUR trial, not a claim it has already run.

  1. Start either supplied app using SETUP-AND-RUN.md and load its fictional examples. Today/overdue should show Maya and Leo; All should also show future Priya, three total.
  2. Open Maya. Change the next action to “Ask for the final decision date” and the due date to tomorrow. Save. All still has three contacts; Maya leaves Today/overdue and retains the exact action/date in All.
  3. Complete Leo. Check Completed, then reload. Leo remains complete and Maya retains the edit. Reopen Leo; it returns to the due queue if its due date is past/today.
  4. Load examples again: no duplicate sample IDs and no replaced Maya edit. Search the new action text, check Maya is found, then clear search.
  5. Try a new fictional Alex with a whitespace-only next action. Expect a clear error and no new saved record. Supply a real next action and valid date; saving should add one record, bringing All to four. Check missing/invalid dates are refused.
  6. Export JSON and open the downloaded text file. Confirm four unique IDs, the exact Maya edit and Leo's current completion state. The export does not import or restore anything.
  7. Close the tab and reopen the same address in the same profile. Confirm the same four records and edits. A full browser-process/device restart is a separate test; do not mark it passed from closing a tab.
  8. Log each result, any failure and correction. Keyboard/mobile and forced browser-storage errors need their own observations. Before important data, decide and test a real recovery method; neither supplied app has an import/restore UI.

Actual earlier generated-app/browser results are in ACTUAL-BUILD-RESULTS.md; reference observations are in REFERENCE-BROWSER-RESULTS.md. Do not transfer one implementation's results to a different build.

Download the editable templates

Read Markdown and TXT files in a text editor, open CSV files in a spreadsheet editor, and extract ZIP files to use the complete kit. No email required.

Sources and teaching examples

Adapted from this episode’s approved script and companion guide. Examples are illustrative, with no measured customer results or earnings promises.

Claude Code quickstart. Official setup and account guidance linked by the supplied kit.

Claude Code common workflows. Original workflow documentation.

Python for macOS. The kit uses a local Python static server.

Node downloads. Node is used for optional code checks.

Email me this episode’s kit

Optional convenience. The complete guide and direct downloads stay open.

We use your email to deliver this kit. Updates require your choice above. Privacy policy

This browser remembers requests and dismissals for 90 days. It stores no email address. Another device or clearing browser data may show the form again.

Continue with Practical AI

Claude Email: Find What Needs Your Attention—and Prepare the Reply →Which AI Subscriptions Are Still Worth Paying For? →Build an AI receptionist that actually books the appointment →Run AI on Your Own Computer—and Use It Offline →Claude Skills: Build a Workflow You Can Use Again →I Built an AI Content Studio. Here’s What I Had to Fix. →Claude vs ChatGPT for Lawyers: Which Would You Use on This File? →Five businesses you could start with AI →Your AI content team may be giving you another job →AI built the product. Who needs it? →One idea. Three useful posts. →Build an AI memory that finds what you promised—and where you said it →AI Jobs for People Who Aren’t Engineers: A Real Job Search →Stop Making Generic AI Websites →Claude for Lawyers: A Practical AI Toolkit for 2027 →AI for Lawyers in 2027: A Practical Guide →

All resources · Blog