From one sentence to a working Domain App, and what it took to get there.
by Richard Roberts
This morning I typed one sentence into a box:
I work for an auto sales company and want to track sales commissions and our inventory.
A few seconds later the screen filled with cards. There was a card for the vehicles on the lot, one for the salespeople, one for the deals and one for commissions. Each card listed its columns and showed a few rows of believable made-up data, with lines between the cards showing how the tables connect. Under all of it was a short list of suggested documents, including a commission statement for each salesperson.
I told it to add a column. I told it to move another one. I clicked a card and changed a field's type. Then I pressed one button, and DataPublisher created a real Data Set with real tables, real links and sample rows. It laid out each suggested document, saved them, and listed them as reports. When I opened Table Manager, everything was there: the tables, the lookups between them, and a Reports tab with the documents ready to merge in Word.
That is a Domain App, and I built it with a prompt.
I've been doing database publishing for more than thirty years, and I don't say this lightly: this is the most important thing we've built.
What a Domain App is, for anyone new here
DataPublisher for Word turns structured data into finished Word documents and sends them out: letters, invoices, report cards, statements, contracts, listings. One row of data becomes one document.
A Domain App is that capability packaged for one kind of business. It holds the tables that business needs, how those tables connect, and the documents it produces every week. Our Homeschool Co-op app knows about families, students, classes and invoices. The Real Estate app knows about listings, showings and buyers. Someone who opens a Domain App doesn't start with a blank page. They start with a working system shaped like their business.
Until today, building one took skill. You had to design the tables, choose the keys, wire up the links, write the templates with merge fields and loops in the right places, and then test that every join produced the right rows. That's a few days of work for me, and I've done it for decades. For a new user it is a wall.
The wall is gone now. The new way in is a sentence.
We wrote this down before it existed
When I saw it working, I went back to the books.
In Volume 1 of Building Intelligent Systems, Chapter 12 ("Future Directions") has a section called "AI: From Hype to Helper." We looked ahead to 2025–2027 and described what we called Intelligent Template Creation:
User: "I need a report card template for middle school students"
AI: "I'll create that. Should it include:
- Academic performance by subject?
- Attendance summary?
- Teacher comments?
- Behavioral notes?
- Extracurricular activities?"
User: "Yes to all except behavioral notes"
AI: [Generates Word template with merge fields, formatting, sample data]
User: [Reviews, tweaks, saves]
A few pages later we drew a "Visual Document Builder": upload a sample, let the AI suggest a data structure, map the columns, preview, publish. Then we wrote the line I keep coming back to: "Consider building platforms, not just solutions. Enable others to solve their own problems."
Read that scenario again with today in mind. It asks clarifying questions. It produces merge fields, formatting and sample data. The user reviews, tweaks and saves. That part came true.
What we didn't predict was the scale. We imagined a template. What we got was the whole application: the data model, the relationships, the sample records, a set of documents and the reports menu, all from a description of the business and not of a single document.
In Volume 3, Chapter 18 ("Conversational Interfaces") we traced interfaces from the command line, where the person had to remember the machine's syntax, to the web form, where the person had to fit the machine's boxes, to the conversation, where the machine finally does the remembering and fitting. This feature is that idea applied to building software, not only to using it.
I've been working on a side project about the old "vision videos" from around the turn of the century, the ones where a narrator walks you through a day in a computerized future. Much of what they promised was lost to bad timing and immature technology. Every so often one of those promises comes back in a form that actually works. This is one of them.
How it works: the screen
The feature is called Describe your business, and it's the first button in the layout designer's picker. It sits next to the options for starting from one of your Data Sets or one of our Domain Apps.
You type what you do in plain words. Claude answers by proposing a design, which appears as cards:
- one card per table, with its purpose, its key column and its columns with their types
- a few rows of sample data in each card, so you're looking at something concrete
- links between tables ("Deals belong to a Salesperson", "Deals belong to a Vehicle")
- a short list of suggested documents to lay out first
From there you steer, in words or with clicks. You can say "Add a column for the trade-in value" or "Commissions should be by month, not by deal." Each card has buttons to change a column's type, rename it, add a column, say what a table belongs to, or remove things. Undo works at every step.
When it looks right, you press Create the Data Set and lay out documents. You get:
- A real Data Set. It's the same kind you'd make with New Data Set, with one file per table, real links between them, and the Sample Data badge, which clears as soon as you replace a table with your own rows.
- The documents, already laid out. Each suggested document gets a starting layout built for its table and its related lists, so a commission statement shows the salesperson and lists their deals. Each one is saved to your templates and listed under the Data Set's Available Reports & Documents.
- A Domain App shape. The configuration gets field types (money, dates, numbers with ranges, choice lists, yes/no, email, phone) and real lookups, so a deal shows its car as "2022 Honda Accord" and not as a bare ID. It also gets the Data and Reports groups that make Table Manager show its Reports tab, the same one our built-in Domain Apps have.
- The layout designer, open. It lands on the first suggested document with your sample records, ready for the next conversation.
That next conversation is the part I spend most of my time in.
How it works: the layout designer
The layout designer is the other half of this, and we've been building it since Monday.
The design note I wrote on Monday, November 16th, says at the top: "draft v0.3. No code." Four days later we have a designer that takes a person from data to a finished Word document without ever showing them a merge field, plus a front door that takes them from a sentence to the data.
The designer's working view is not a picture of a Word page. That was a deliberate decision. Rendering a Word document after every change is slow, and slowness kills conversation. So the screen is a set of cards drawn from a small layout plan: a title block, header fields, a photo, a line-item table, totals, a signature and a footer. The cards are filled with your values from your first record, and they move and reshape the moment you say something. Nothing is rendered, so nothing makes you wait.
Some things you can say:
- "Put the total in the top right."
- "One page per salesperson."
- "Make the title bigger."
- "Add a total line under the deals for the commission amount." (That one landed this morning: the designer can now add, change and remove total lines on any list.)
When you want to see the real thing, Preview in Word builds the actual document for that record and opens it in Word. Merge all records builds every record, either as one document with each record on its own page or as a zip with one file per record, named after the record. Save keeps the Word file and the layout plan side by side, so you can reopen the design later and keep talking to it.
Why it's built this way
There's a principle behind all of this, and I want to state it plainly because it's what makes the feature trustworthy:
The model proposes edits. Code builds the thing.
Claude never writes a Word document, a CSV file or a database row directly. In both designers it can do exactly one thing: call a single tool that returns a short reply, a list of edit operations, and any questions it has.
For the data design there are thirteen operations: add, remove, rename and set a table; add, remove, rename, set and move a column; add and remove a link; and set the Data Set and its suggested documents. For layouts it's a similar small set: move a field to a zone, add a list, add a total line, set the title size, and so on.
Plain, deterministic code applies those edits and then checks the whole result. The checker refuses anything that would break a merge: a link to a column that isn't the parent's key, two tables with the same name, or a loop of links. If Claude's edit fails the check, the error goes back to it once so it can fix it. If it still fails, the person is told. Nothing broken gets saved.
This means Claude doesn't have to "know" how joins work in DataPublisher. The operations can't express a bad join, and the checker catches the rest. We use the model for what it's good at, which is understanding what a business does and what it needs, and code for what code is good at, which is following rules every time.
We applied the same discipline in three other places.
Business rules are asked about, not invented. How commissions are calculated, what the pay periods are, what counts as a sale: those belong to the person, not the model. When Claude isn't sure, it asks with a few short options. In our book series we called this handling underspecified intent. In practice it's just good manners.
Sample data is checked by code. The first sample rows come from a small seeded generator, so the same design always gives the same rows, and every child row points at a real parent. That's good enough to see the shape. It isn't good enough to be convincing, because made-up values that don't agree with each other look wrong: a Toyota "Accord", a car sold twice, a sale price below cost. So there's a Write realistic rows button that has Claude write the rows. Before they're used, code checks them: every table present, one value per column, unique keys, every link pointing at a real parent row, and every value tidied to its column's type. If they don't pass, they go back once. If they still don't pass, the generated rows stay.
Privacy is the default. When you're designing a layout, Claude sees table names, column names and column types. It doesn't see your records. When it writes sample rows, it sees the design and today's date, nothing else. Your data stays with DataPublisher.
There are guardrails on size too: at most 20 tables, 60 columns per table and 200 sample rows per table. That's enough for a real small business and small enough to stay understandable.
Why this matters
DataPublisher's founding mission is to help create 100,000 new consulting businesses through document automation.
The people I have in mind aren't programmers. One is a retired finance manager who spent twenty years at a car dealership and knows exactly how a commission plan works and where it goes wrong. Another is a homeschool coordinator who has kept a co-op's books in spreadsheets for a decade. Another is a property manager, a church administrator or someone who runs a cleaning crew. They have the knowledge that matters most, which is how their kind of business actually runs. What they've lacked is a way to turn that knowledge into a system without hiring someone like me.
Now they describe the business in their own words and get a working start in minutes. Then they do what they're best at, which is correcting it. "No, we don't pay commission on fleet sales." "Add a column for the warranty." "The statement needs the month at the top." Each correction is a sentence, and each sentence is an edit that code checks.
That changes the economics of a consulting practice. Building a vertical solution used to take days of setup before you could show a client anything. Now the setup is the conversation, and you can have it with the client sitting next to you, using their words. The consultant's value moves from building the plumbing to understanding the business, which is where it always belonged.
It also changes our marketplace. We have 141 Domain Packs today. A few were built by hand and the rest were generated using similar logic to this new feature. Some of them started as somebody's knowledge of a line of work, and the others were generated. They all work. If one sentence can produce a working starting point, the number of vertical applications that can exist is limited by the number of people who know how a business works, not by the number of developers available to build them. Jim Rohn used to say that you're rewarded in the marketplace for the value you bring. This puts the value back in the hands of the person who has it.
I could not have done this without Claude
I want to be honest about how this was built, because it matters.
I'm a solo developer. I have thirty years of experience in records management, database publishing and document automation, and I know what this product should do down to the details. What I don't have is a team. For the past sixteen months my team has been Claude: in planning conversations, in the cloud workspace where most of this designer was built and tested, and in VS Code where it's reviewed, committed and deployed.
The way we worked on this feature is a good example. I state the goal and make the decisions, such as "cards, not rendered pages," "the user-facing word is layout," "it lives in the layout designer and not the old chat," and "test the Claude part in production since there are no users yet." Claude writes the design note, writes the code and the tests, and writes back what it verified and what it didn't. Every step leaves a written record: a design note, a decisions list, a handoff file listing what's done and what's left. When something didn't work, like the Domain App's own join rules producing 48 rows for a single family's invoice, it said so plainly, and we decided together how to route around it.
It's also fitting that the feature is this collaboration, built into the product. I describe what I want in plain words, Claude proposes, code checks, I steer. That's how DataPublisher gets built, and now it's how a DataPublisher user builds their own app.
So: thank you, Claude. I mean it.
What's next
This is a first build, and there's a clear road ahead.
- Start from the nearest Domain Pack. Claude currently designs from general knowledge. Next, it gets a short index of our 141 packs, so "I run a homeschool co-op" starts from the co-op app we already built and tested, not from nothing.
- Come back and grow it. The design is saved beside the Data Set. Later you'll reopen it and say "add service appointments" and get new tables linked to the ones you have.
- Bring in real data. Import your actual inventory or sales history into the planned tables, and the sample badge goes away.
- The report designer. The same card-and-conversation approach applied to summaries, totals and charts.
- Start from a photo. Our FormFromPhoto work already turns a picture of a document into a layout plan. Photograph the commission statement you use today, and the designer starts from that.
The short version
You tell DataPublisher what your business does. It proposes the tables, the links, some believable sample data and the first documents. You steer in plain words. One button makes it real: a Data Set, a set of laid-out documents and a reports menu, working in Table Manager and merging in Word.
We wrote about this in 2025 as something a few years out. It's here now, and it does more than we predicted.
If you know how a business works, you can build its software. Tell it what you do.
DataPublisher for Word is available at datapublisher.io. Questions, or a business you'd like to try it on? Write to support@datapublisher.io.
---
Appendix: pieces for marketing and the website
(Not part of the post. Short pieces pulled out for reuse.)
Headline options - Tell it what you do. Get a working app. - From one sentence to a Domain App. - If you know how a business works, you can build its software.
One-liner Describe your business in plain words, and DataPublisher designs the tables, links, sample data and first documents for you, ready to merge in Word.
Short paragraph (website feature block) Type what your business does, for example "I run an auto dealership and need to track inventory and sales commissions." DataPublisher proposes the tables your business needs, how they connect, and the documents you'll produce, filled with realistic sample data. Change anything in plain words. One click creates a working Domain App with its tables, lookups, reports and Word layouts, ready to merge.
Three-point "how it works" 1. Describe. Say what your business does and what you need to track. 2. Steer. Adjust tables, fields and documents in plain words or with a click. 3. Create. Get a working Domain App with data, links, reports and Word documents.
Trust line The AI suggests changes; DataPublisher's own rules check every one before anything is saved. Your records are never sent to the AI while you design.
Founder quote "I've been building database publishing systems for thirty years. Describing a business in a sentence and getting a working application back is the thing I've wanted the whole time." — Richard Roberts, Founder, DataPublisher LLC