4 · Playbooks — end-to-end scenarios¶
← Book index · real situations, start to finish
Playbook 1 — New full-stack app from scratch¶
itqan:engineer "build a task-management SaaS — Next.js, teams, boards, due dates"
define intake → asks UI direction; no Figma? design shapes it → design.md. Spec ⛔.
3. blueprint → risk-first plan (auth and data model early) ⛔.
4. Loop mode: task-by-task TDD build, commit gate between tasks (or your explicit auto-commit opt-in).
5. harden fires automatically (auth = security-sensitive). release per milestone.
You end with: a working app, a full engineering/ history, and a changelog explaining every choice.
Playbook 2 — Production bug¶
itqan:engineer "orders sometimes lose their discount — find how often and fix it"
verify Part B: repro narrowed → pinned as a failing test → git bisect fingers the commit.
3. Smallest fix at the root → repro test goes green → guards forever.
4. Change summary + risks → your commit → release (fast path) → Outcome: re-run the query, rate = 0%.
Playbook 3 — Reviewing a teammate's PR¶
itqan:verify "check out PR #482 and confirm nothing breaks" # evidence first
itqan:inspect "review PR #482 — logic, spaghetti, security, perf, cross-service"
itqan:design "UI review of the changed screens" # only if UI changed
inspect re-checks only the changed part.
Never use construct here — that would be taking over their PR.
Playbook 4 — Multi-repo team (e.g. folder a/ holding repos b/ and c/)¶
- First run asks the setup intake once: which repos are implement vs review-only ·
scope (all / ask per task / one) · branch + commit format · where
engineering/lives (shared ina/or per-repo) · and whether it's committed or gitignored — on a team repo that decides who reads your specs. Operating answers go toprofile.md, codebase answers tostandards.md(§4's axis). Never re-asked. - Every task then honors it: review-only repos are a hard write-boundary; each change on its own branch in the right repo; docs/changelog recorded in the repo they describe.
- Teammates get context instantly:
learn "onboard me onto this repo"reads the changelog.
Playbook 5 — "Make it look professional" (UI)¶
itqan:design "audit the dashboard — spacing, hierarchy, states, accessibility"
design-review.md with evidence-based findings (violated token + impact + fix). Approve
the fixes → construct applies → verify proves states + a11y in a real browser (console
clean, a11y tree) → UI Criticals gate the ship like code Criticals.
Playbook 6 — Pre-launch security pass¶
itqan:harden "full security review before public launch"
security-review.md → Critical/High fixed via construct→verify → re-audit →
release will not GO over an open Critical. Waivers require your explicit recorded acceptance.
Playbook 7 — Quarterly product thinking¶
itqan:assess "which features are weak, vs the market?" # health of what exists
itqan:discover "what should we build next?" # net-new, fed by assess's output
itqan:define … → blueprint … → the quarter's build begins with approved specs