Skip to content
Academy ofAI Learning

~/academy $ claude learn vibe-coding-your-first-tool

Vibe code your first tool

Build a working mini app by describing it, then learn the habits that keep vibe coding from becoming a mess. 8 min

Step 1 of 4

$ Read

What vibe coding is

Vibe coding means building software by describing what you want and letting an AI write the code, judging the result by running it rather than reading every line.

It is brilliant for prototypes, personal tools and internal helpers. For anything that handles money, personal data or logins, someone who can read code needs to review it.

Lesson notes: Vibe code your first tool

Everything in this lesson as text, for revision or to read without the interactive steps. By the end you will be able to: You have built and run a small tool without writing the code yourself.

  1. Step 1 of 4 · Read

    What vibe coding is

    Vibe coding means building software by describing what you want and letting an AI write the code, judging the result by running it rather than reading every line.

    It is brilliant for prototypes, personal tools and internal helpers. For anything that handles money, personal data or logins, someone who can read code needs to review it.

  2. Step 2 of 4 · Improve a prompt

    Write the build brief

    Write a first prompt for Claude Code to build a tip calculator web page.

    Starting prompt:

    make a tip calculator

    Hint: Say what the user enters, what it shows, how it should look, the files to create, and how you will check it works.

    Show a strong version
    Build a single page tip calculator in one index.html file with no frameworks. Inputs: bill amount, tip percentage (buttons for 10, 15, 20 and a custom box), number of people. Show tip per person and total per person, updating as I type. Large readable numbers, works on a phone. Reject negative numbers with a friendly message. When done, tell me how to open it and list three test cases I should try.
  3. Step 3 of 4 · Read

    Habits that keep it under control

    Small steps. One feature at a time, run it, then the next.

    Save points. Use git, and ask Claude to commit after each working step. Undo becomes one command.

    Ask for tests. Write tests for this and run them catches the breakage you would not notice.

    Ask what it did. Explain the change you just made in plain English keeps you in charge.

  4. Step 4 of 4 · Quiz

    Check your understanding

    Your vibe coded app now takes card payments. What changes?

    • Nothing. If it runs, it is fine.
    • Get the payment and security code reviewed by someone who reads code, and use a payment provider's hosted checkout.
    • Ask the AI if it is secure and trust the answer.
    Show the answer

    Get the payment and security code reviewed by someone who reads code, and use a payment provider's hosted checkout. Real money and personal data raise the stakes. Hosted checkouts keep card details off your server.

See this lesson put to work: build a small tool without writing code, before and after.