- Published on
Project Docs 0. How I Settled on Six Project Documents
- Authors

- Name
- seren-wib
Contents
0. Introduction
When I start a new project, I write six documents in the same format. Half a year ago, when I built this blog, I only had a DB schema, an API spec, and a page structure document, and I thought that was enough. But as assignments and projects piled up, I kept needing a place for requirements, decision reasons, tests, and deployment procedures, and the section layout and names changed every time I wrote a document. This post traces how the template reached its current shape, using git commits of the rule files, the worklog kept for each project, the memory change log, and the session logs from the days decisions were made. Decisions whose reasons are written down nowhere are marked "not recorded".
In restaurant terms, a shop that ran on a few menu cards ended up with one form per step as customers and staff grew: a business plan, an order slip, a recipe, an inspection sheet, an opening procedure, and a maintenance log, where each step needs a stamp from the previous one before work moves on. The business plan is the SPMP, the order slip is the SRS, the recipe is the SDD, the inspection sheet is the STP, the opening procedure is the SIP, the maintenance log is the SMP, and the stamp rule is the stage gate. Below I cover how twelve documents became six templates, why I attached standards and chose a place for decision records, and the one-day migration of coffee-shop.
1. The first twelve documents
The first docs commit in this repo on 2026-05-08 (a156d2a) added 12 files, 724 lines: page definitions (56 lines), DB schema (67; the first line is "a static site with no DB"), API spec (45), component structure (193), architecture (87), export function names (79), design (16), and the agent-facing runbook, done conditions, and CLAUDE.md. All of them are design artifacts that cover only "what to build and how". There was nothing on what the system must do (requirements), why it was built that way (decision reasons), or how to check it (test plan). For one static blog, this was enough.
2. How the documents grew
Order in which the documents grew: 2026-05 blog docs, 10-17 course SDLC, 10-18 four model documents, 11-16 six stage documents
coffee-shop is a Software Engineering team assignment started on 2026-09-15. Its documents piled up in a flat structure, one assignment at a time.
| Date | Documents added |
|---|---|
| 09-22 | Use cases, class diagram |
| 09-28 | Requirements definition |
| 10-06 | Screen list, wireframes, sequence diagrams |
| 10-10 | External interfaces, domain requirements (explained here) |
| 11-08 | System architecture, non-functional requirements design |
Just before the migration, docs/ held 41 files (5 directly under it, 8 in backend/, 5 in frontend/, 9 sequence diagrams, 14 wireframes), and which file was a requirement and which was a design had to be guessed from the name.
On 2026-10-17, a "project procedure" file appeared in the agent memory. It was set up when starting the stairno.com hub documents, and its basis was chapters 3–6 of Software Engineering. The SDLC stages were planning, requirements, design, implementation, deployment, and maintenance, with one output per stage. The plan came from chapter 3 project planning, and the SRS from chapter 4 requirements specification. The next day, 10-18, I wrote four documents for account.stairno.com with this procedure: plan.md at 179 lines, srs.md at 382, sdd.md at 534, and test-deploy.md at 507, for 1,602 lines in total. These four later became the model for the template. That day the source of truth also moved from Google Docs to the repo's Markdown; the story is in Project Docs 1.
In the early hours of 2026-11-16, when I turned this procedure into an agent skill, the documents went from four to six. The plan got the name SPMP, and test-deploy.md, where testing and deployment had been mixed, was split into the STP, SIP, and SMP.
3. Fitting conventions and standards
A standard for each document: SPMP is IEEE 16326, SRS is 29148, SDD is 1016, STP is 29119-3, SIP is MIL-STD-498, SMP is 14764
Until then, my document names were ones I had made up (plan/, experiments/, test-deploy.md). When I started writing the skill on the night of 2026-11-15, I drew on the four model documents and the IEEE standards together. A few hours later, early on 11-16, I decided to switch names and notation to convention. A convention is a practice the industry widely uses without an official document (a de facto standard); a standard is a document an organization such as IEEE or ISO published under a number. Names and notation are convention; the section layout of a document comes from the standard.
There were two reasons. A convention probably exists for a reason, and I would only find out what is good about it by writing by convention once. So this was an experiment, not a conviction: only documents started from now on follow it, and projects I had already worked on stay as they are (the skill says "Projects started before 2026-11-16 keep their original structure and names"). There is no record of weighing the concrete benefits of standards for submission or collaboration (not recorded).
| Document | Standard | Taken from the standard |
|---|---|---|
| SPMP | IEEE 16326 (formerly 1058) | Project identification, scope, schedule, cost, organization and risk |
| SRS | ISO/IEC/IEEE 29148 (formerly 830) | Stakeholders, 1.4 assumptions, constraints and dependencies, singular requirements |
| SDD | IEEE 1016 | Viewpoint notation per section, design rationale |
| STP | ISO/IEC/IEEE 29119-3 (formerly 829) | Test strategy, tests per level, acceptance criteria |
| SIP | MIL-STD-498 SIP | Environments, installation procedure, installation tests |
| SMP | IEEE 14764 | Routine tasks, change requests, operating procedures |
One section exists because of a standard. The model SRS had no "assumptions, constraints, dependencies" section, but 29148 does, so it became SRS section 1.4. On 2026-11-17 I turned 29148's singular principle into a rule: one functional requirement carries one function (view and edit, add and delete are separate FRs), and one non-functional requirement carries one measurable condition, so the SRS verification column checks one thing. The reason for choosing MIL-STD-498 for the SIP is not recorded; I accepted the option as it was proposed in a table when making the skill.
4. Fixing the template up front
A standard fixes the section layout but not the table columns or file names. If the agent invented those for each document, projects would drift apart. So the day I made the skill, I put a 54-file set of templates into TEMPLATES.md. File names are English kebab-case with the section number first. New files always start from the template, so any project has the same thing in the same place.
docs/specs/srs/
├── README.md
├── 1-overview.md
├── 2-domain.md
├── 3-functional/
│ └── 1-<area>.md
├── 4-nonfunctional.md
├── 5-use-cases.md
├── 6-interfaces.md
└── 7-decisions.md
The source of the templates is the project-docs skill in my personal settings repo (private). A skill is an instruction file an AI coding agent opens only for a specific task; how skills are loaded is covered in DevBlog part 2. TEMPLATES.md in the skill is the file-level template, and the six Docs in the Google Drive _templates folder are that template moved into Google Docs (written in Korean; anyone with the link can view). A guidance line under each section says what to write there, and the SDD template carries the viewpoints in brackets.
5. Decision records inside the SDD
Two conventions for recording decisions: ADRs with one file per decision, and a dated design rationale list inside the SDD
On 2026-10-26, the Woowangthon team repo got a docs/adr/ folder from teammate TaeTaeJin's first PR (#1). An ADR (Michael Nygard, 2011) keeps one decision as one short file. The rules: only decisions that are expensive to reverse, one decision per page, and three statuses (유효 valid, 유효 (일부 대체 …) valid but partly superseded, 대체됨 (→ NNN) superseded). That same day I filled in the "reason" column of the tech stack ADR, and on 11-03 I posted a rule that merged ADRs are not edited and supersession is marked with a status line (#20), plus four cluster ADRs (#21). The details are in the ADR rules in Woowangthon part 1. What stayed with me was that not only the choice but also the rejected options and their reasons remain; as of 2026-11-28 there are 18 ADRs.
Still, I decided not to keep an ADR folder in my own projects. On 2026-10-27 at noon, the line "no ADR folder or page" went into my rules first, with decisions and rejected alternatives written as a dated list at the end of the SDD. In the same commit I moved the ADR 001 and 002 pages I had made in Notion for Woowangthon to the trash and moved their content into that list. No sentence explaining why I decided this survives (not recorded); the only trace is that the model SDD was already in that format.
Three weeks later, early on 2026-11-16, when moving this rule into the skill, I found there are two conventions. An ADR (including MADR) is one file per decision at docs/adr/NNNN-<title>.md; IEEE 1016 design rationale is one entry per decision in a section inside the SDD. I chose the IEEE side. In my repos, documents are split into one file per section anyway (Project Docs 1), so design rationale is also a single file, sdd/11-rationale.md, and finding a decision means opening one file (a section was added on 2026-11-28, so the current template has sdd/12-rationale.md, but SDDs made earlier are not renumbered). That reason was one line in the skill's first commit and was dropped on 11-20 when I trimmed the skill. There is no record naming the Woowangthon experience as a reason for dropping ADR files. Still, the rule that a changed decision is written anew rather than edited is the same idea as in the Woowangthon ADR README.
Decisions go to three places by scope. ADR is by name about architecture decisions, so project decisions such as scope, schedule, and cost went to the SPMP.
| Place | Decisions it holds | coffee-shop entries |
|---|---|---|
| SPMP 8 Decided and open items | Scope, schedule, cost, product, business, way of working | 13 |
| SRS 7 Decided and open | Requirement-level policies, limits, dropped features | Not counted |
| SDD design rationale | Technology choices | 32 |
Every entry has the same shape.
- YYYY-MM-DD: <what was decided>. Rejected: <option> (<why it lost>), <option> (<why it lost>). Reason: <scalability, maintainability, dependencies, testability, cost>. (<who decided>)
A real entry from the coffee-shop SDD:
- 2026-11-17: Keep SQLite as the production DB. Turn on WAL mode and make a backup file once a day with `sqlite3 .backup`, keeping 7 (NFR-25). Rejected: RDS (more cost and setup, and concurrent write load is small at demo scale). Reason: cost, dependencies. Revisit if the NFR-15 concurrent order test hits a lock error. (decided by the coffee-shop lead session, delegated by the team leader)
Its terms: SQLite, WAL, backup, RDS, NFR. There are five rules.
- Every option seriously considered goes under "Rejected" with its reason. If options were compared in chat, that comparison ends in this entry.
- When a decision changes, the old entry is not edited. A new dated entry states what it supersedes.
- Open items record what is open, why it is not decided now, and the signal or date to look again.
- Reasons are written as scalability, maintainability, dependencies, testability, and cost. "Because I'm used to it" is not a reason.
- Write it in the turn the decision is made. Don't batch them up later.
6. Moving coffee-shop in one day
Migrating via docs/old: #59 move old docs and lay the frame, #60·#62 fill in SRS and SDD, #64 sync, #68 delete old docs
On 2026-11-17 I moved coffee-shop into the new template in one day: isolate the existing documents in docs/old/ as source material, copy the template and fill in the new documents, then delete the old folder. How they were rewritten is in the coffee-shop series under rewriting as stage documents.
| PR | What it did | Size |
|---|---|---|
| #59 | Moved the existing docs/ to docs/old/ and laid the docs/specs/ frame | +557 / −10, 94 files |
| #60 | Rewrote the SRS | +554 / −35 |
| #62 | Rewrote the SDD | +2,292 / −51 |
| #64 | Google Docs sync CI | +173 / −7 |
| #68 | Deleted docs/old/ | +49 / −2,345, 66 files |
Writing the SRS first is a rule, because the requirement IDs are the keys that connect the other documents. The rewritten SRS held 24 domain requirements, 57 functional requirements, 35 non-functional requirements, and 14 use cases, and the SDD was written with these numbers attached. The reason for deleting the old documents, given in one line in #68: the stage documents replace the old files, and git history keeps them. So the new documents have no lines like "see draft no. N" and nothing points to docs/old/, and deleting it breaks no links. The same day this order became the skill's migration rule.
Early on 2026-11-28 the template was revised after two pieces of feedback from the professor on the coffee-shop SDD: the parts in the wireframes had no numbers, and the class and method specs were mixed in with the component design.
- Screen part IDs: every UI part gets an ID like
SCR-01-01, and the wireframes show the same ID. Section numbers can shift, but IDs don't. - Class and module spec section: one file per module records each public function's signature, return values and exceptions, and requirement IDs, and once written it is checked by script against the list of
defandclassin the code.
In coffee-shop this went in through #129 (+1,059 / −50) and #130. A repo that already has an SDD gets the new section at the end, so the class spec is section 12 and design rationale stays at section 11.
7. How I use it now
Documents work as a stage gate: the next stage starts only after each stage document is finalized, and code is written only after the SRS and SDD are finalized. Implementation follows TDD.
- Pick which documents to write. For a small tool or a static site, the plan and SRS are merged into one document and the API and DB sections say "not applicable". With login, payment, or a DB, all six are written.
- Requirements come from an interview. Even in a personal project, I play the client and the agent asks the questions.
- After copying the template, I write the first word. The repo's
docs/specs/<document>/is the source, and Google Docs is a one-way copy.
Requirement numbers (FR-12) are the keys that test names, PR descriptions, and the SDD's feature subsections use to point at each other. To find one, I open just that line with grep -rn "FR-12" docs/specs; the grep result is the trace from requirement to design to test.
This template is used for projects started or migrated on or after 2026-11-16. coffee-shop (coffee-shop series) was the first one moved, and design-system and open-calls (private repos) use it since 11-19. coffee-shop is the only repo with Google Docs sync turned on. design-system and open-calls have the same Workflow, but without .github/google-docs.json it only runs through the HTML build. account.stairno.com was the model, but its documents predate the template, so it still has the old structure.
By the numbers
As of 2026-11-28. Sources are git ls-tree and grep -c in each repo, and wc on the skill files.
| Item | Value |
|---|---|
| Stage documents | 6 (4 in the 2026-11-15 night draft) |
TEMPLATES.md | 941 lines (862 in the first commit), 6 commits |
Skill SKILL.md | 157 lines (240 in the first commit) |
| Commits that changed the skill folder | 13 (2026-11-16 to 11-28) |
coffee-shop docs/specs/ files | 73 (41 in docs/ before the migration) |
| coffee-shop decision entries | 32 in SDD design rationale, 13 in SPMP section 8 |
design-system docs/specs/ files, design rationale | 14, 8 entries |
open-calls docs/specs/ files, design rationale | 39, 47 entries |
| account.stairno.com SDD decision records | 25 entries |
| Repos using Google Docs sync | 1 (coffee-shop) |
8. Reflection
My first idea wasn't wrong: a schema and an API spec were enough for one static blog, but once people grew, decisions piled up, and deployment and operations came in, documents that only said "what to build" could not answer "why was it built this way" or "how do we check it".