Starting every project with 3 markdown specs: overkill or essential?
by•
Before writing a single line of code on a new project, I always set up three markdown files first:
1. A constitution file with strict coding rules and constraints
2. A spec file defining everything the project will include
3. A phased roadmap laying out the exact order of execution
It takes a little time upfront before seeing anything run, though it keeps agents from going off the rails later
Curious what you think—is doing all three upfront overkill for small projects, or the right way to build?
14 views
p/meridian-16
p/google-cloud-platform
p/producthunt
p/reso
p/zush
p/kodlo
p/neoagent
p/beamfy
p/runevr
p/netclicker
p/expert-chase-deleted-1107920
p/faraday-4
p/gatrends
p/kanbanq
p/truedraft-cad
p/findergit
p/thebold
p/orbit-app-blocker
p/cleared-quit-nicotine
p/murror
Replies
We kept the first one and let the rest grow out of the work. Our rules file holds only what applies to every change, and detail keeps getting moved out of it. Everything else lives in one notes file per area, payments, the music engines, the stores, the admin panel, and a table at the top of the rules file says which one to read before touching that area.
Those notes weren't planned upfront. A vendor quirk, a toolchain trap, a decision and its reason goes into the matching file at the moment it's learned, not only into a commit message. That's what keeps agents on the rails for us: not knowing the plan, but knowing what already went wrong in the place they're about to edit.
For a small project I'd start with the rules file alone and let the others appear when there's something real to write in them.
for small stuff we skip the roadmap. the spec just says what to build, what not to touch, and when its done
Not overkill, but I'd write most of it once and reuse it. I have one global CLAUDE.md that every project inherits, about 420 lines, plus a short one per project on top. Each project also has a business logic doc the agent has to read before touching a feature, and if a rule changes, the doc gets fixed before the code. Shared conventions live in docs linked into every repo.