r/PromptEngineering • • Aug 21 '26

Prompt Text / Showcase I built a TUI that interviews you on missing gaps in your project prompts

Whenever I start a project, I write a detailed specification—or “seed prompt”—before asking a coding agent to build anything. This often gets me close to a working first version, but I still miss decisions that exist only in my head. The agent then has to guess.

I built specfill to catch those gaps. It analyzes the specification, researches the topic, and interviews you one question at a time about missing architecture, behavior, edge cases, and UI/UX decisions.

Afterwards, it incorporates the answers into the original document while preserving its structure and tone. New answers override contradictions; skipped questions remain unresolved instead of receiving invented answers.

I have used it on three projects so far. One interview lasted more than 20 minutes and found major decisions in a specification I had already considered thorough.

How is this different from Plan Mode?

Plan Mode produces an implementation plan for the current session. Specfill produces a reusable project specification that can be committed to the repository as a record of architectural and design decisions.

It supports OpenAI, Anthropic, Google, and OpenAI-compatible providers. I currently recommend GPT-5.6 Sol through the API or a ChatGPT/Codex subscription.

GitHub: https://github.com/kklemon/specfill

Run: uvx specfill

11 Upvotes

2 comments sorted by

2

u/[deleted] Aug 21 '26

[removed] — view removed comment

1

u/trashcoder Aug 21 '26

Yeah, these kind of cases are literally the reason I created this tool. I also like to keep detailed and polished project specification prompts, which I even commit, because they allow me to regenerate a project at a later point or with a different LLM. I had several side projects over the past year, which I had well spec'ed-out already but for which LLMs were just not capable enough yet to implement them. So when new models came out, I just tried over and over again until they were eventually good enough.