Prompts are code, .json/.md files are state

A post proposing that prompts are programs and JSON or Markdown files hold state.

Author
Mario Zechner
Published
2025-06-02
Kind
Personal blog post with one worked example from the author's own project
Original
mariozechner.at/posts/2025-06-02-prompts-are-code/
Subject
File-based agent memory
Themes
Saying it exactly, What lasts

What it is

Mario Zechner is a developer who maintains the Spine runtimes. The post sets out the mental model first. It then walks through a prompt file that ports Java changes to other languages.

What it says

What evidence it gives

The evidence is one real project. The post shows the prompt file, the JSON state format and the jq queries. A video recording is described. The time saving is the author's own report with no measurement.

Interests and limits

Zechner maintains the codebase and designed the workflow, so the result is self-reported. Only one task and one coding tool were used. The post says the LLM cannot do the full port alone. It also says this is not a panacea. The long code listings and middle workflow steps were skimmed, not read in full.

Connections

These links are this wiki's own reading, not claims the sources make.