Alfredo Perez
Part 3

Engineering field note · AI Coding

Shipping Software From a Vault

Ask Claude for one document at a time and a feature goes from a blank folder to GitHub issues, every file in one place and a design that follows your outline.

14min read

You can take a feature from a rough idea to a set of GitHub issues without leaving your Obsidian vault, by asking Claude Code for one document at a time. At the end you have one folder you can open six months later and read what was decided, why, and what got built first.

For a long time my feature work was spread across five places. The requirements document (a PRD) lived in Notion, the story map on a wall of stickies, the technical design in a Google Doc, the stories in Jira, and my vault held one note that linked to all four. Each tool was good at its one job, and none gave me one place to reread the whole story.

So I ran a feature through the vault instead. The feature is crew scheduling for Worky, a made-up app that schedules painter crews across three screens: a Client Portal, a Crew App and a Dispatch Console. The run goes from an empty folder to a set of stories, and the folder at the end holds eight files. Everything below is in the public obsidian-claude-vault repo, so you can open the real files next to this article.

Keep every document in one folder

Every document for a feature goes into the same folder, and each file is named for what it is: "Crew Scheduling PRD", not "prd". Here's where the run ends up:

Projects/Worky/product/crew-scheduling/
  Crew Scheduling PRD.md
  Crew Scheduling Roadmap.md
  Crew Scheduling Story Map.canvas
  Crew Scheduling Design.md
  stories/
    Crew member sets weekly availability.md
    Dispatcher sets availability for a crew member.md
    Dispatcher assigns a crew to a job.md
    Dispatcher sees a double-booking warning.md

That's the number I care about: eight files, where four tools would have given me eight things that couldn't see each other. Each file carries a line at the top saying it lives as long as the project, so nothing cleans it up on a timer. The public folder has one more file, Crew Board.base, a board view over the stories that came later and isn't part of the run.

The steps run in a fixed order, and no step hands anything to the next through a tool. Each one leaves a file in the folder, and the next step reads it from there.

Six stages in a row joined by arrows, each a different drawing: a ruled page labeled PRD, a winding road with signposts labeled roadmap, a wall of sticky notes labeled story map, a blueprint labeled technical design, a stack of index cards labeled stories, and two tickets with the GitHub mark labeled issues, all inside one folder outline whose tab reads one feature folder

A step finds the one before it by file name.

Three skill tags with the Claude mark: product-roadmap points at Crew Scheduling PRD.md and product-stories points at Crew Scheduling Roadmap.md, both standing in a folder with the Obsidian mark beside an empty dashed outline, while a second product-stories tag points at a stop sign labeled refuses and names the command, above the note no config file or index, only the file name

There's nothing to set up and nothing to keep in sync. If the PRD is in the folder, the roadmap step reads it. If it isn't, Claude stops and tells you which document to ask for first.

Get the requirements written

I started by asking for the requirements document:

Write the PRD for Worky's crew scheduling feature.
Dispatchers still plan the day in a spreadsheet, and crews
find out about changes by phone call.

Claude doesn't write straight from that. It interviews me in a few short rounds: the problem and who has it, the goals with a starting point and a target, what's in and out of scope, and any technical limits. If I paste a longer brief, its answers become the defaults, and I can still change them. This is the slow part I'd otherwise skip, because a pasted brief always sounds finished, and the questions show me it isn't.

What comes back is a PRD with a numbered list of requirements, each one a sentence a tester could check. R005, for example, says the system refuses an assignment that breaks a hard rule, like an unavailable crew, a crew smaller than the job needs, or a missing certification, and says which rule it broke. There are fourteen of these, R001 to R014, plus four about speed and reliability.

The Crew Scheduling PRD in Obsidian at the functional requirements table, header row through R006, each requirement numbered with its note on the right

Those numbers are the thread through everything that follows.

The section I reread most is the out-of-scope list, because each item comes with its reason. Automatic assignment is out because a wrong one costs a whole crew-day and the trust isn't there yet. Billing changes are out, so a moved job keeps its invoice date. Route planning is out: the dispatcher sets the order, and the system only works from it. Nobody has to guess later whether something was forgotten or refused.

Slice it into now, next and later

Next I asked Claude to slice the PRD into what ships now, next and later. It reads the PRD from the same folder and asks me a round or two of questions about what depends on what.

Each slice gets an outcome a user could feel, the requirement numbers it covers, what it waits on, and what it deliberately leaves out. The Next slice in the Worky roadmap promises that a dispatcher plans a whole day in one screen and each crew sees its assignment change as it changes. It covers R003 to R009, and it puts off the client's arrival window until the route order has a few weeks of real use behind it.

The Crew Scheduling Roadmap in Obsidian, from the summary through the Now slice, with the coverage table visible below

The summary at the top states the bet: crews will only enter their own availability if the first thing it does is stop the 6 a.m. phone calls. So Now is availability alone, which changes nothing else, and the spreadsheet stays for a while. Because it's written down, someone can argue with it.

At the bottom sits a coverage check listing every requirement and the slice it landed in. If someone adds R015 to the PRD and forgets the roadmap, there's a visible hole.

See what blocks what on a canvas

The story map is an Obsidian canvas, a board of cards and arrows, rather than a note. I asked for it from the roadmap:

Make a story map canvas for crew scheduling from the roadmap.
Only draw the arrows where one card really has to wait for another.

Each card is two lines: a short name, then a ticket number and a status mark for landed, built but not landed, or not built. Anything longer belongs in the ticket. Only two colors carry meaning: cyan marks the backbone lane the others hang off, and yellow marks a hard blocker.

The Crew Scheduling Story Map canvas zoomed to fit, with a cyan backbone lane above two release lanes, a yellow drag card, and nine dependency arrows

The Worky canvas has three lanes: the backbone of what a dispatcher and a crew do, then two releases. The arrows are half the point. There are nine, each a real "needs this first", like availability pointing at "Drag crew onto job" because the unavailable rule reads it. "Drag crew onto job" is the one yellow card, because five other cards wait on it. A list of stories never shows you that. The board does, and it's the card to build first.

Set your own outline for the design

I want Claude to write the design the way my vault's documents look, and to carry the requirement numbers through. Without instructions it uses a sensible default: the problem, the decisions, a requirements table, a warning for the risk nobody wants to name. But the people reading it are the ones who'll build from it, so I set the outline myself, once, in the prompt:

Write the technical design for crew scheduling from the PRD and
the decisions we made, and save it in the feature folder.

Start with what exists today, with one diagram. Then each call we
locked, with why we made it and what would make us reopen it.
Then the data model, then the check a new assignment goes
through, with a diagram. Then the phases of work, with only the
current one open. End with what this deliberately doesn't solve.

No cards and no comparison grid here; that belongs in the PRD.
Point at the PRD's requirement numbers instead of repeating them.

That's my outline, and yours will be different. The last line matters, because the Worky PRD has a grid showing which capability each screen gets. It belongs there because it's a comparison, and in the design it would be decoration.

The document Claude wrote from that has four decisions. The first says the scheduling service is the only thing that writes assignments, because a rule checked in three apps is three rules that drift apart. The second says the rules read crew availability at the moment of the check and keep no copy, because availability changes minute to minute. Its reopen line says: if checking gets slower than 200 milliseconds on the board, cache availability only, for one minute, and say so on screen.

The Crew Scheduling design document in Obsidian, showing the decision blocks for D1 and D2, each with the line that says when to reopen it

That reopen line is what makes the document useful later. When the board is slow, the design already says which number to look at. Below the diagram of the assignment check sit five phases: the first done, one in progress, and the last parked because its blocker is outside the team's hands.

The same design document further down: the diagram of the assignment check, and under it the rail of five phases with their done, now and parked chips

The default wouldn't have given me that phase list, which tells an engineer what they can start on Monday. A paragraph in the prompt was enough to get it.

The requirement numbers are what tie the four documents together, and R005 is the easiest one to follow through the folder.

Four documents labeled PRD, roadmap, design and story, each with an R005 line, stitched together by one thread that ends in a magnifying glass holding the highlighted words one search, four files

R003 works the same way: it's in the PRD, the roadmap's Next slice, the design and the story that covers it. One search returns those four files, and I never got that from four separate tools. When someone outside the vault needs the design, I ask Claude to export it as a web page, PDF or Word file, and the vault copy stays the source.

Turn a slice into checkable stories

Then I asked for stories from one slice at a time. Claude asks which slice, who the user is, and how many stories at most, then writes one file per story.

Every story reads the same way: a three-line "as a, I want, so that" statement, then the checks grouped under small themes, each one a plain-English "given, when, then" sentence with no code in it. Implementation notes go in one folded block at the bottom.

This is the story behind the yellow card on the canvas. As a dispatcher, I want to drag a crew onto a job on the day board and have it either stick or tell me why it can't, so that the schedule I build is one the crews can actually run. Two of its criteria sit under a theme called Refusals:

Given a crew with a member marked unavailable that day, when I drop the crew on a job, then the assignment is refused and the board says which member is unavailable.

Given a job needing three painters and a crew of two, when I drop the crew on it, then the assignment is refused and the board says the crew is one short.

STORY-003 open in reading view in Obsidian, with the As a, I want, so that statement and the Refusals theme with its Given, When, Then bullets

A line at the top of each story lists the requirements it covers, R003, R004 and R005 for this one, which is how the search in the last section finds it. Stories age fast, so I only write them for the slice I'm about to build, which is why the folder has four and not forty.

Send a story to GitHub as an issue

The last step turns one story into one GitHub issue. I haven't run it for Worky, because Worky is made up and has no repo, so the example folder has no issue links. The screenshot of the finished issue comes from my own run on a real repo.

I ask for it like this:

Turn the "Dispatcher assigns a crew to a job" story into a
GitHub issue in this repo.

Claude reads the labels the repo actually uses and never invents one, since one repo says "enhancement" where another says "feature". It drafts the issue with the acceptance criteria as plain bullets and technical details folded at the bottom, so a PM can read the top. It picks a type and a priority, says which priority it chose so I can overrule it, and creates nothing until I approve the draft.

A left-to-right flow: a story note with the Obsidian mark, a rack of colored label tags with the GitHub mark labeled gh label list, a draft with the Claude mark and a type label and a priority label, a rubber stamp reading APPROVED with you approve highlighted, and the finished GitHub issue card

The approval is the step I'd never skip, because it's where I catch a wrong priority.

The GitHub issue created from STORY-003, with plain-bullet acceptance criteria, a source line naming the story note in the vault, and the type and priority labels the skill added

The issue is a copy for the tracker, and the story stays the record. If your team lives in Jira, the same story can become a Jira ticket instead, though the example repo only ships the GitHub version.

Find the whole story later

At the end the folder holds the PRD, the roadmap, the canvas, the design and four stories, each pointing at the ones around it. That gives me what the four tools never did. One search finds every mention of R003. Obsidian's graph shows the decision page that led to this feature pointing at this folder. And when someone asks in six months why the board refuses an unavailable crew instead of warning, the design says why, right next to the sentence that says when to reopen it.

There are costs. The interviews are slow on purpose, which is annoying at 4 p.m. and worth it the following week. And nothing reaches a tracker until you approve it.

There's also a way this can rot. While I was building the example folder, two of the day-board stories were still marked for the Now slice after the roadmap had moved their requirements, R003 to R006, to Next. Nothing broke, but two files disagreed, and the requirement numbers made the disagreement easy to find. It's fixed in the repo. A folder like this stays trustworthy only if something keeps checking it.

Under the hood

Each step is a skill in the example vault: product-prd, product-roadmap, product-story-map, product-stories and create-github-issue. The design document has no skill of its own. Claude follows a design-doc guide inside the obsidian skill, and your prompt overrides it. Skills find each other's files by name in the feature folder, with no index or settings to maintain. The files are in obsidian-claude-vault.

Try it

Pick a small feature you've been meaning to spec, and ask Claude for the PRD first, then let it interview you. If you'd rather see the result before building anything, clone obsidian-claude-vault, open Projects/Worky/product/crew-scheduling/, and follow R005 through all four documents.