day-one-patch
它能做什么
这个技能为游戏最终版本锁定后发现的已知问题规划一个简短补丁。适合为首发日做准备、需要安全有限修复的游戏团队。
适用场景
- ✓当游戏的最终版本已经锁定,而几个已知缺陷在该版本中修复风险太大的时候。
- ✓当认证反馈要求在游戏提交后做小的修复的时候。
- ✓当首发前的试玩在发布检查通过后发现严重问题的时候。
技能链接
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/day-one-patch/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我规划一个首发日补丁,只修复我们首发版本中安全且严重的缺陷。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能会读取发布状态、未解决的缺陷报告和最近的冲刺工作,然后把补丁限制为小的、低风险的修复。在任何内容发布前,它还会检查 QA 是否通过以及是否有回滚计划。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Day-One Patch
Every shipped game has a day-one patch. Planning it before launch day prevents chaos. This skill scopes the patch to only what is safe and necessary, gates it through a lightweight QA pass, and ensures a rollback plan exists before anything ships. It is a mini-sprint — not a hotfix, not a full sprint.
When to run:
- After the gold master build is locked (cert approved or launch candidate tagged)
- When known bugs exist that are too risky to address in the gold master
- When cert feedback requires minor fixes post-submission
- When a pre-launch playtest surfaces must-fix issues after the release gate passed
Day-one patch scope rules:
- Only P1/P2 bugs that are SAFE to fix quickly
- No new features — this is fix-only
- No refactoring — minimum viable change
- Any fix that requires more than 4 hours of dev time belongs in patch 1.1, not day-one
Output: production/releases/day-one-patch-[version].md
Phase 1: Load Release Context
Read:
project.stageinproject.yaml(fallbackproduction/stage.txt) — confirm project is in Release stage- The most recent file in
production/gate-checks/— read the release gate verdict production/qa/bugs/*.md— load all bugs with Status: Open or Fixed — Pending Verificationproduction/sprints/most recent — understand what shippedproduction/security/security-audit-*.mdmost recent — check for any open security items
If the resolved stage (project.yaml → stage.txt) is not Release or Polish:
"Day-one patch prep is for Release-stage projects. Current stage: [stage]. This skill is not appropriate until you are approaching launch."
Check the premise, do not assume it. This whole skill rests on there being a gold master that already passed a release gate — that premise is what justifies its lightweight QA pass instead of a full one. So verify it rather than inferring it from the stage value:
- No file in
production/gate-checks/, or none recording a release-gate verdict: reportRelease gate: NOT ASSESSED — no gate-check record found. Do not proceed silently. Say plainly that the reduced QA scope below is justified by a gate nobody can find, and ask whether to run/gate-checkfirst or proceed with a full QA pass instead. - The most recent record is FAIL, CONCERNS or NOT ASSESSED: name it and stop. A day-one patch on top of a build that never passed its gate is not a day-one patch; it is the release gate, arriving late and scoped to the wrong changes.
project.stage: Releaseon its own does not establish this. The stage is a claim about where the project is; the gate record is the evidence that it earned the position.
Phase 2: Scope the Patch
Step 2a — Classify open bugs for patch inclusion
For each open bug, evaluate:
| Criterion | Include in day-one? |
|---|---|
| S1 or S2 severity | Yes — must include if safe to fix |
| P1 priority | Yes |
| Fix estimated < 4 hours | Yes |
| Fix requires architecture change | No — defer to 1.1 |
| Fix introduces new code paths | No — too risky |
| Fix is data/config only (no code change) | Yes — very low risk |
| Cert feedback requirement | Yes — required for platform approval |
| S3/S4 severity | Only if trivial config fix; otherwise defer |
Step 2b — Present patch scope to user
Use AskUserQuestion:
- Prompt: "Based on open bugs and cert feedback, here is the proposed day-one patch scope. Does this look right?"
- Show: table of included bugs (ID, severity, description, estimated effort)
- Show: table of deferred bugs (ID, severity, reason deferred)
- Options:
[A] Approve this scope/[B] Adjust — I want to add or remove items/[C] No day-one patch needed
If [C]: output "No day-one patch required. Proceed to /launch-checklist." Stop.
Step 2c — Check total scope
Sum estimated effort. If total exceeds 1 day of work:
"⚠️ Patch scope is [N hours] — this exceeds a safe day-one window. Consider deferring lower-priority items to patch 1.1. A bloated day-one patch introduces more risk than it removes."
Use AskUserQuestion to confirm proceeding or reduce scope.
Phase 3: Rollback Plan
Before any code is written, define the rollback procedure. This is non-negotiable.
Spawn release-manager via Agent. Ask them to produce a rollback plan covering:
- How to revert to the gold master build on each target platform
- Platform-specific rollback constraints (some platforms cannot roll bac
常见问题
它允许哪些类型的修复?
它只允许快速修复的高优先级缺陷,新功能和大规模重构都不在范围内。
什么是回滚计划?
它是一份书面方案,用来在发布后补丁引发新问题时撤销补丁。
计划保存在哪里?
它会保存为项目生产发布文件夹中的一个发布文件。
详情
作者的原始描述
Day-one launch patch — focused fix for known issues found after gold master. Mini-sprint with QA gate and rollback.
热度
- GitHub 星标
- 33k
- 排名
- #8452
- 许可证
- MIT
- 更新时间
- 2026/10/18
评论
- …