feat(skills): rename scribe-OKF>write-OKF, implement>weave, domain-modeling>model-domain, codebase-design>design-codebase, caveman>talk-caveman, background-work>harden-background-work, dev-python>develop-python, dev-r>develop-r, r-style>style-r, handoff>write-handoff, cavecrew-octobot>spawn-cavecrew, jj-atomic>commit-atomic-jj; bdd stays as the single grandfathered name docs(skills): sweep spec>blueprint across skill prose; spec-format.md becomes blueprint-format.md; internal Spec section becomes Contract; commit citations now read implements blueprint NNN docs(blueprint): numbering starts at 001 when OKF/blueprints/ is empty docs(conjure): 110-line cap applies to SKILL.md only; siblings uncapped fix(containerize): read an existing build-dev recipe and surface semantic mismatch instead of trusting the name
69 lines
3.1 KiB
Markdown
69 lines
3.1 KiB
Markdown
---
|
|
name: blueprint
|
|
description: Synthesize the current conversation or a roadmap phase into a justified, verifiable blueprint at OKF/blueprints/NNN-<slug>.md — the unit that weave executes. No interview, pure synthesis.
|
|
disable-model-invocation: true
|
|
---
|
|
|
|
# blueprint
|
|
|
|
Matt Pocock's to-blueprint, file-based. Turns *already-discussed* work into a
|
|
blueprint with justification. The interview happened upstream
|
|
([grill-me](../../productivity/grill-me/SKILL.md) /
|
|
[architect](../architect/SKILL.md)); blueprint only crystallises.
|
|
|
|
## When to use
|
|
- User says "blueprint", "/blueprint", "write the blueprint", "blueprint this out".
|
|
- An [architect](../architect/SKILL.md) roadmap phase is ready to
|
|
decompose into implementable units.
|
|
- A [ferry](../ferry/SKILL.md) decision resolved and needs its blueprint(s).
|
|
|
|
## Process
|
|
1. **Locate the source** — the conversation, a named roadmap phase, or a
|
|
resolved ferry decision. No source → stop; run grill-me/architect
|
|
first. Never invent requirements.
|
|
2. **Number it** — `NNN` = highest existing in `OKF/blueprints/` + 1
|
|
(`grep -ho '^[0-9]\{3\}' <(ls OKF/blueprints/) | sort -n | tail -1`);
|
|
directory empty or absent → start at `001`.
|
|
3. **Write `OKF/blueprints/NNN-<slug>.md`** per
|
|
[blueprint-format.md](blueprint-format.md). Status starts `draft`.
|
|
- *Justification* traces to a roadmap phase, ferry decision, or a
|
|
stated user need — by reference, not restatement.
|
|
- *Seams touched* lists the interfaces tests will run against —
|
|
[bdd](../../engineering/bdd/SKILL.md) consumes this as its
|
|
pre-agreed seam list.
|
|
- *Verify* is a runnable command or observable check — weave's
|
|
done-gate runs exactly this.
|
|
4. **Show the blueprint**; iterate. On explicit user yes → flip status to
|
|
`locked`. No yes, no lock.
|
|
5. **Index it** — add `NNN — <title> — <status>` to `OKF/INDEX.md`
|
|
Blueprints section.
|
|
6. **Seal** via [commit-atomic-jj](../../productivity/commit-atomic-jj/SKILL.md):
|
|
`docs(blueprint): add NNN <slug>`.
|
|
|
|
## Status discipline
|
|
`draft → locked → implemented`, or `→ superseded-by-NNN` from any state.
|
|
Never backwards; never edit a locked blueprint's Contract section — supersede
|
|
with a new number instead. The "tracker" is
|
|
`grep -r "^status:" OKF/blueprints/`.
|
|
|
|
## Output / done criteria
|
|
- Blueprint exists, matches blueprint-format.md, indexed in INDEX.md.
|
|
- Justification traces to a real source; Verify is runnable.
|
|
- Locked only on explicit user approval.
|
|
|
|
## Guardrails
|
|
- **Never** interview here — synthesis only.
|
|
- **Never** lock without a user yes.
|
|
- **Never** write implementation code or tests — that's
|
|
[weave](../weave/SKILL.md).
|
|
- **Never** restate OKF content in the blueprint — reference pages by path.
|
|
- One blueprint = one implementable unit; too big to verify in one
|
|
weave run → split, or send to [ferry](../ferry/SKILL.md).
|
|
|
|
## See also
|
|
- [blueprint-format.md](blueprint-format.md) — the format contract.
|
|
- [../../engineering/review-blueprint/SKILL.md](../../engineering/review-blueprint/SKILL.md)
|
|
— reviews a diff *against* a blueprint.
|
|
- [../architect/SKILL.md](../architect/SKILL.md) — phases feed blueprints;
|
|
implemented blueprints tick phases.
|