|
| 1 | +# GPT-5.3 + OpenCode Delivery Playbook |
| 2 | + |
| 3 | +Use this one-page runbook to reduce rework when building with GPT-5.3 and OpenCode. |
| 4 | + |
| 5 | +## Principles |
| 6 | + |
| 7 | +- plan before code, verify before PR |
| 8 | +- follow existing repo patterns before introducing new ones |
| 9 | +- make decisions explicit when they affect prompts, model behavior, or workflow |
| 10 | +- leave a clean handoff artifact at session end |
| 11 | + |
| 12 | +## Default Flow |
| 13 | + |
| 14 | +1. Frame scope and definition of done. |
| 15 | +2. Inspect existing patterns and constraints. |
| 16 | +3. Implement in small, testable slices. |
| 17 | +4. Verify with stack-specific checks. |
| 18 | +5. Prepare PR with full context from branch divergence. |
| 19 | +6. Capture session handoff for continuity. |
| 20 | + |
| 21 | +## Trigger -> Skill -> Expected Output |
| 22 | + |
| 23 | +| Trigger | Skill(s) | Expected Output | |
| 24 | +|---|---|---| |
| 25 | +| new task request with ambiguity | `Prompt Wizard`, `workflow` | clear task statement with in-scope/out-of-scope and verification checklist | |
| 26 | +| editing unfamiliar code | `code-search`, `Pattern Analysis` | file map, current conventions, and safe insertion points | |
| 27 | +| implementing code changes | `language-conventions`, `workflow` | minimal-diff changes aligned to existing standards | |
| 28 | +| adding or changing tests | `Testing Strategy` | test pyramid plan and targeted coverage additions | |
| 29 | +| prompt/model behavior design | `Prompt Engineering` | versioned prompt contract (role, constraints, schema, examples) | |
| 30 | +| preventing AI regressions | `AI Evaluation` | golden dataset, scoring rubric, and regression thresholds | |
| 31 | +| architecture-impacting choice | `ADR Template` | ADR with options, rationale, consequences, and review triggers | |
| 32 | +| git state unclear | `git-status`, `git-workflows` | staged/unstaged snapshot, branch state, and next safe git step | |
| 33 | +| ready to publish work | `github-workflow` | PR with why, testing notes, blockers, and CI status summary | |
| 34 | +| session ending or context switch | `handover` | concise continuity note with decisions, risks, and ordered next steps | |
| 35 | + |
| 36 | +## GPT-5.3 Guardrails |
| 37 | + |
| 38 | +- require structured outputs for machine-consumed steps (JSON schema or strict markdown template) |
| 39 | +- keep prompt versions in repo and tie changes to eval results |
| 40 | +- treat prompt updates like code changes: diff, review, validate, and document |
| 41 | +- fail builds when core eval thresholds regress |
| 42 | + |
| 43 | +## PR Ready Checklist |
| 44 | + |
| 45 | +- [ ] scope is explicit (in/out) and unchanged during implementation |
| 46 | +- [ ] change matches local conventions and avoids unrelated refactors |
| 47 | +- [ ] required checks/tests executed (or risks documented if blocked) |
| 48 | +- [ ] PR explains why, not only what |
| 49 | +- [ ] handoff note exists when work is incomplete or multi-session |
0 commit comments