r/SpecDrivenDevelopment • u/Any-Consideration391 • 1d ago
I built a small browser game with Claude Code without opening the code once. Every decision went into the spec.
A while ago I shared Folio, a free, open-source (MIT) Markdown reader for folders of specs, ADRs and notes, with a review loop for Claude Code. This update moves the other half of the conversation into the documents too: Claude Code's questions.
To try it, I built a small browser game (a paper lantern drifting across a pond at night) and never opened the code. Everything was decided in a spec and an ADR. The video is the whole session, about 16 minutes including my review, cut down to two. Every sped-up part is labelled.
How it went:
- Claude Code runs in a panel inside Folio: your own `claude` CLI with your login, started in the workspace. No separate terminal.
- I ran /folio:draft with a two-line description. Claude Code wrote the spec and an ADR, and instead of a list of questions in the chat, it left 12 notes on the passages they were about.
- A decision shows its options as buttons (e.g. "Canvas size: full window, or a fixed 16:9 playfield"). One click to answer. Open questions take a reply in your own words.
- I accepted the spec in a note on the document ("let's implement it") and clicked Send. Claude Code recorded each answer in the spec or the ADR and replied to every note.
- While building, it hit something the spec didn't say: the difficulty numbers. It asked on that passage, I answered "yes, write them down", and the numbers went into the spec.
- Then I typed "run the game" and played it.
What I like about working this way: the decisions don't disappear into a chat history. They're in the documents, next to the text, for the next person or agent to read.
Same as before: Folio never writes to your documents (the agent does, in its own session). Highlights and notes stay in ~/.folio. macOS, Windows and Linux, plus a browser demo.
Repo: https://github.com/crazzybot/folio
Curious how others handle this: do you let your agent ask questions in the chat, or do you push decisions into docs?