Spec — Write the build spec
Goal
Produce a handoff-ready build spec a coding agent can execute without guessing.
Spec outline (always use this order)
- Overview — what it is, who uses it, two jobs max for v1
- Definitions — testable criteria (must-match rules), success metrics
- Tech stack — each layer with a why
- Project structure — folders and key files
- Data model / schema — tables or types with notes
- Environment variables — names only, no secrets
- Build steps in order — numbered, test-with-sample-data before real data
- Core logic detail — filters, matching, calculations; AI vs code boundaries
- UI — only what is needed (single page is fine; say "no other UI" when true)
- Scheduling / triggers — what runs on a timer vs on upload/action
- Explicitly out of scope — each item with a reason
- Compliance / privacy / security notes
- Honest limits — what will not work reliably and the workaround
- Adoption — install steps, how to use, sample prompts or test files, what to watch for
Coding-agent file
Also write one markdown file for the project this person is working on. This is part of the spec step, not a later extra, and not a sample file baked into the template.
- Name it from their project, in kebab-case, ending in
-spec.md. Example shape: clinic-intake-spec.md. Never spec.md, and never reuse a previous project's filename.
- Same section order as above.
- Put schema, file paths, and environment variable names in fenced code blocks.
- The first lines tell the agent to follow the build steps in order and to use sample data before any live API or real data.
- No secrets in the file. No content from any other project.
- Save the Notion page too. Deliver this file in chat so they can paste or drop it into the repo.
Notion home
Save the living spec as a child page titled exactly "Blok 5 - Spec" inside the project parent, with its own emoji icon. Do not create a new top-level page.
- Use the remembered parent page for this project. Its title is "Main: {what you are building} - {kind}" (Hackathon, Client, or Project). If you do not have its id, search Notion for that full title and use it.
- If the parent does not exist yet, create it first with that full title and an emoji icon, then put Spec inside it.
- Create or update the child titled "Blok 5 - Spec". Pass the parent page id. Never leave it as its own workspace page.
- If a Spec page already exists outside the parent, move it under the parent and retitle it "Blok 5 - Spec" instead of making a second copy.
- Give Spec an emoji icon that is not already used by the parent or any sibling.
Rules
- Keep flags separate when criteria may be revised after real output (do not collapse into one boolean).
- Humans stay in the loop where sending, outreach, or irreversible actions happen.
- End by offering Review.
1---2name: spec3description: "Use after Brainstorm (or Scope) to write the ordered build spec and a project-named markdown file a coding agent can run."4metadata:5 source: https://skillmd.com/skills/shixuuu/spec6---78# Spec — Write the build spec910## Goal11Produce a handoff-ready build spec a coding agent can execute without guessing.1213## Spec outline (always use this order)141. Overview — what it is, who uses it, two jobs max for v1152. Definitions — testable criteria (must-match rules), success metrics163. Tech stack — each layer with a why174. Project structure — folders and key files185. Data model / schema — tables or types with notes196. Environment variables — names only, no secrets207. Build steps in order — numbered, test-with-sample-data before real data218. Core logic detail — filters, matching, calculations; AI vs code boundaries229. UI — only what is needed (single page is fine; say "no other UI" when true)2310. Scheduling / triggers — what runs on a timer vs on upload/action2411. Explicitly out of scope — each item with a reason2512. Compliance / privacy / security notes2613. Honest limits — what will not work reliably and the workaround2714. Adoption — install steps, how to use, sample prompts or test files, what to watch for2829## Coding-agent file30Also write one markdown file for the project this person is working on. This is part of the spec step, not a later extra, and not a sample file baked into the template.31- Name it from their project, in kebab-case, ending in `-spec.md`. Example shape: `clinic-intake-spec.md`. Never `spec.md`, and never reuse a previous project's filename.32- Same section order as above.33- Put schema, file paths, and environment variable names in fenced code blocks.34- The first lines tell the agent to follow the build steps in order and to use sample data before any live API or real data.35- No secrets in the file. No content from any other project.36- Save the Notion page too. Deliver this file in chat so they can paste or drop it into the repo.3738## Notion home39Save the living spec as a child page titled exactly "Blok 5 - Spec" inside the project parent, with its own emoji icon. Do not create a new top-level page.40- Use the remembered parent page for this project. Its title is "Main: {what you are building} - {kind}" (Hackathon, Client, or Project). If you do not have its id, search Notion for that full title and use it.41- If the parent does not exist yet, create it first with that full title and an emoji icon, then put Spec inside it.42- Create or update the child titled "Blok 5 - Spec". Pass the parent page id. Never leave it as its own workspace page.43- If a Spec page already exists outside the parent, move it under the parent and retitle it "Blok 5 - Spec" instead of making a second copy.44- Give Spec an emoji icon that is not already used by the parent or any sibling.4546## Rules47- Keep flags separate when criteria may be revised after real output (do not collapse into one boolean).48- Humans stay in the loop where sending, outreach, or irreversible actions happen.49- End by offering Review.