VojtaCode
Subscribe

Loading the index.

$ cd ../articlesSep 23, 2026 · 5 min read

Your own app in Claude Code: from a spec to a working app

Using WALLFLOW, my wallpaper app, I'll show you how to write a spec that Claude Code uses to build, test and fix a whole app.

Claude Code · Apps · Vibe coding

I wanted to change the wallpaper on my computer with one click. So I built my own app in Claude Code: WALLFLOW. The most important part of the whole build wasn't the code, it was the spec. I'll show you what it's made of, so you can use the same approach for your own idea.

You can download the full spec in tools and edit it. I show the build and the test on my computer in the video for this guide (the video is in Czech).

What WALLFLOW does

  • It runs on Windows 11 and finds wallpapers online through Wallhaven. It doesn't need any API key.
  • On the left it has the topics Nature, Space, Cars, Anime, Minimal and Ambient. At the top there's search and a minimum resolution filter for Full HD, 2K or 4K, plus an Ultrawide toggle.
  • You open a wallpaper in a detail view, set it as your desktop or download it. You can restore the original wallpaper.
  • It doesn't need any AI while it runs. Claude only built it.

What you need

  • Claude Code.
  • An empty folder for the new project.
  • The spec. My version builds an app for Windows 11 in Python. For a different system or a different idea, you adapt it.

How to write a spec that actually gets you an app

A vague line like "make me a wallpaper app" gets you a vague result. My spec is long, but each part of it settles one thing Claude would otherwise decide its own way. Let's go through them one by one.

1. Say what the result is

Right at the start it says the output has to be a working program, not a design:

The output is a running desktop window, not a plan or a design mockup.

On top of that, tell Claude to make the routine decisions itself, write a short plan and keep going. It should only stop at a real blocker. And it must not claim it ran or saw something when it didn't check.

2. Write what the app doesn't do

This is the fastest way to prevent wasted work. WALLFLOW has no login, payments, cloud backend, AI wallpaper generation, analytics or installer. It's a tool for me, not a public product. And Claude isn't allowed to commit, push or publish anything.

3. Set the data source and have it check that first

The wallpapers come from Wallhaven's official public API, no account and no key. The spec only allows content that's suitable for everyone and asks Claude to check how the API currently works before it builds anything. If the API is down, the app has to show the real error and a Retry button. No made up results.

4. Keep the tech small

Python, a window through pywebview, plain HTML, CSS and JavaScript, requests for networking and Pillow for images. No extra frameworks for three features. The spec also lists the files the project should be made of, plus a launcher and a short README.

5. Describe the look in numbers, not adjectives

"A nice dark gallery" means something different to everyone. The spec has concrete colors: background #0B0A09, main text #F5F2EC and orange #FF5C00 only for the main action and the selected state. Then font sizes, spacing, corner radius, text contrast of at least 4.5:1 and controls at least 44 px tall. The layout is described too: a bar with search, three columns of large thumbnails, a detail view on click.

6. List the features and the error states

Features are easy to write down. What people forget is what happens when something fails. So the spec asks for short Czech messages for loading, an empty result, the internet going down, a used up API limit, a broken image and a Windows error. The empty result even has a set text:

Nothing in the loaded results matches. Try a different search or filter.

Why like this? The app only goes through part of the results, so it must not claim there's nothing in the whole database.

7. Say what done means

For me this is the most important part. Tests must not change the real desktop, and the network and Windows are only simulated in them. Claude has to run the tests, fix the bugs it finds on its own and open the app. The actual wallpaper change, though, I do myself with a click.

Done means: the app starts, all the required buttons work,
the real wallpaper changes, errors are readable and the UI doesn't require credentials.

When something is waiting for me to check it by hand, it should say "waiting for live verification", not "done".

Start the build in Claude Code

  1. Open Claude Code in an empty folder.
  2. Paste the whole spec at once.
  3. Let it work. How long the build takes doesn't matter, what matters is that it doesn't skip anything.
  4. When it's done, read its summary: how to start the app, what passed and what's still left to check.
  5. Try the app yourself. Search, open a detail view and finally click Set wallpaper.

In the video you'll see Claude found a bug while testing. That's exactly why tests have their place in the spec: a bug the test finds is a bug you don't have to hunt down.

tip

Write in the spec that the length of the build doesn't matter. Then Claude won't skip the tests or the visual check just to be fast. Feel free to cut out the waiting, like I do in the video.

Make your own app

You can use the same skeleton for any idea. Fill in the square brackets:

Build a simple personal app for [system]: [name].
I want [one sentence on what the app does and why I need it].
The output is a running app, not a plan.
 
The app doesn't do: [login, payments, anything extra].
Data source: [official API or my own files]. Check it first.
Tech: [the smallest possible set].
Look: [colors in hex, font, sizes, layout].
Features: [list] and what the app shows when something fails.
 
Done means: [what really has to work].
Run the tests, fix the bugs you find and don't claim anything you haven't verified.

Common mistakes

  • Describing the process instead of the result. Write what has to work at the end. Let Claude figure out how.
  • Leaving out what the app doesn't do. Without that you'll get features you don't want.
  • No definition of done. Claude then stops when the code is written, not when the app works.
  • Made up data. When the source is down, you want to see an error, not fake results.
  • Images in public output. A wallpaper on your own desktop is private use. If you wanted to show an image publicly, in a video for example, check separately whether you're allowed to.

What next

Download my spec in tools, open it in a text editor and rewrite it for your own idea. And tell me under the video what you built.


Kafe a cígo, fajně si sednout a jdeme na to.

Coffee and a smoke, get comfy and let's go.

Vojta Horava

Want to know when the next one is out?

Now and then I write about what's new: a video, a tool, an article. Unsubscribe with one click.