r/SpecDrivenDevelopment • • 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?

3 Upvotes

2 comments sorted by

1

u/simasch 1d ago

The AI Unified Process has an open questions document. https://unifiedprocess.ai

2

u/Any-Consideration391 1d ago

Thanks for the pointer! Folio reads any folder of Markdown, so an AIUP open questions document already renders and can be reviewed like any other: highlight a question, answer it in a note, send it to the agent. And /folio:draft follows the project's own templates and folders, so in an AIUP repo it writes in that structure.

What it doesn't do yet is know about the framework itself: which documents are which, their lifecycle, which questions are still open. Supporting spec-driven frameworks like AIUP, Spec Kit and OpenSpec is something I'm working towards for future releases. If you use AIUP day to day, I'd love to hear which parts of it you'd want a reviewer's tool to understand first.