Quick Design Spec: [Title]
Quick Design Spec: [Title]
Type: Tuning
System: [System name]
GDD Reference: design/gdd/[filename].md — Tuning Knobs section
Date: [today]
Change
| Parameter | Old Value | New Value | Rationale |
|---|---|---|---|
| [param] | [old] | [new] | [why] |
Tuning Knob Mapping
Maps to GDD Tuning Knob: [knob name and its documented range]. New value is [within / at the edge of / outside] the documented range. [If outside: explain why the range should be extended.]
Acceptance Criteria
- [ ] [Parameter] reads [new value] from
assets/data/[file] - [ ] Behavior difference is observable in [specific context]
- [ ] No regression in [related behavior]
**要点解析**:
- **Tuning Knob Mapping 一节要求显式对照 GDD 中已记录的调参旋钮及其文档化范围**,并声明新值位于范围内/边界/范围外。若在范围外,必须解释为何要扩展该范围——这是防止"悄悄越界调参"的硬约束;
- 验收标准强调参数**必须从 `assets/data/` 读取**,而不是硬编码在代码里。这与 `design-system` 中 Tuning Knobs 章节"所有值必须存在于 `assets/data/[appropriate-file].json`"的规定完全一致,是整个 CCGS 设计体系对数据驱动的一致要求。
### 4.2 Tweak 与 Addition 类:变更声明规格
这两类改动引入了行为或机制变化,需要比 Tuning 更完整的声明:
```markdown
# Quick Design Spec: [Title]
**Type**: [Tweak / Addition]
**System**: [System name]
**GDD Reference**: `design/gdd/[filename].md`
**Date**: [today]
## Change Summary
[1-2 sentences describing what changes and why.]
## Motivation
[Why is this change needed? What player experience problem does it solve?
Reference the relevant MDA aesthetic or player feedback if applicable.]
## Design Delta
Current GDD says (quoting `design/gdd/[filename].md`, [section]):
> [exact quote of the relevant rule or description]
This spec changes that to:
[New rule or description, written with the same precision as a GDD Detailed
Rules section. A programmer should be able to implement from this text alone.]
## New Rules / Values
[Full unambiguous statement of the replacement content. If this introduces
new states, list them. If it introduces new parameters, define their ranges.]
## Affected Systems
| System | Impact | Action Required |
|--------|--------|-----------------|
| [system] | [how it is affected] | [update GDD / update data file / no action] |
## Acceptance Criteria
- [ ] [Specific, testable criterion 1]
- [ ] [Specific, testable criterion 2]
- [ ] [Specific, testable criterion 3]
- [ ] No regression: [the original behavior this must not break]
## GDD Update Required?
[Yes / No]
[If yes: which file, which section, and what the update should say.]
要点解析:
- Design Delta(设计增量)是本节灵魂:必须先精确引用 GDD 中相关规则的原句,再写明新规则,新规则必须精确到"程序员只看这段文字就能实现"(与
design-system对 Detailed Design 章节"无需提问即可实现"的标准同源); - Motivation 鼓励引用 MDA 美学或玩家反馈,把改动与玩家体验目标绑定;
- Affected Systems 表显式标注每个受影响系统需要的后续动作(改 GDD / 改数据文件 / 无需动作);
- GDD Update Required? 显式声明是否需要回写 GDD——这一步为后续"单独征得批准后更新 GDD"的流程做铺垫。
4.3 New Small System 类:精简 GDD 结构
对独立的小系统,使用裁剪版 GDD 结构——只保留直接必要的章节,除非系统特别需要,否则跳过 Player Fantasy、完整 Formulas 和 Edge Cases:
# Quick Design Spec: [Title]
**Type**: New Small System
**Scope**: [1-2 sentence description of what this system does and doesn't do]
**Date**: [today]
**Estimated Implementation**: [hours]
## Overview
[One paragraph a new team member could understand. What does this system do,
when does it activate, and what does it produce?]
## Core Rules
[Unambiguous rules for the system. Use numbered lists for sequential behavior
and bullet lists for conditions. Be precise enough that a programmer can
implement without asking questions.]
## Tuning Knobs
| Knob | Default | Range | Category | Rationale |
|------|---------|-------|----------|-----------|
| [name] | [value] | [min–max] | [feel/curve/gate] | [why this default] |
All values must live in `assets/data/[appropriate-file].json`, not hardcoded.
## Acceptance Criteria
- [ ] [Functional criterion: does the right thing]
- [ ] [Functional criterion: handles the edge case]
- [ ] [Experiential criterion: feels right — what a playtest validates]
- [ ] [Regression criterion: does not break adjacent system]
## Systems Index
This system is not currently in `design/gdd/systems-index.md`.
[If it should be added: suggest which layer and priority tier.]
[If it is too small to track: state "This system is below systems-index
tracking threshold — quick spec is sufficient."]
要点解析:
- Overview 要求"新成员一看就懂",回答系统做什么、何时激活、产出什么三个问题;
- Core Rules 强调编号列表表达顺序行为、项目符号表达条件,精确到程序员无需提问;
- Tuning Knobs 表的
Category列取feel/curve/gate之一(手感/曲线/门槛),并再次强调数值必须落在assets/data/的 JSON 文件中; - Acceptance Criteria 覆盖功能、边界、体验(由 playtest 验证)、回归四类标准;
- Systems Index 一节要求明确决策:该系统是否够格进入
design/gdd/systems-index.md跟踪。低于跟踪阈值时明确声明"quick spec 已足够"。
5. 第五步:批准与归档(Approval and Filing)
规格草稿完成后,完整呈现给用户,然后按此句式征得写档许可:
"May I write this Quick Design Spec to
design/quick-specs/[kebab-case-title]-[YYYY-MM-DD].md?"
5.1 文件命名规范
- 文件名使用今天日期;
- 标题为改动的 kebab-case 描述,例如:
jump-height-tuning-2026-03-10parry-window-addition-2026-03-10
- 若
design/quick-specs/目录不存在,先创建再写文件。
5.2 GDD 更新的独立批准
如果规格中标记了"需要更新 GDD"(即 GDD Update Required 为 Yes),在写完 quick spec 后单独询问:
"This spec modifies rules in [System Name]. May I update
design/gdd/[filename].md— specifically the [section name] section?"
必须先展示将要变更的确切文本(旧 vs 新),再征求同意。未经明确批准不得修改 GDD。 这一"先展示 diff、再请求写入"的协议与 design-system 中"绝不静默改写已批准 GDD"的协作原则完全一致。
6. 交接输出与流水线语义(Handoff & Pipeline Notes)
6.1 标准交接块
文件写完后,输出以下交接信息:
Quick Design Spec written to: design/quick-specs/[filename].md
Type: [Tuning / Tweak / Addition / New Small System]
System: [system name]
GDD update: [Required — pending approval / Applied / Not required]
Next step: This spec is ready for `/story-readiness` validation before
implementation. Reference this spec in the story's GDD Reference field.
技能自带结论文本为 Verdict: COMPLETE —— quick design spec 已写好并可供实现。
6.2 为什么它绕过完整评审管线
Quick Design Spec 设计上就绕过 /design-review 和 /review-all-gdds,因为它们是针对小改动、低风险、边界清晰场景的通道——完整评审管线的成本超过了改动本身的风险。这正是 gate-check 技能(.claude/skills/gate-check/SKILL.md)中"Small design change needed? → /quick-design for changes under ~4 hours (bypasses full GDD pipeline)"这一路由规则的来源。
6.3 何时重定向回完整管线
出现以下任一情况时,必须重定向:
- 改动新增了一个**应进入系统索引(systems index)**的新系统;
- 改动显著改变跨系统行为或系统与其他系统的契约;
- 改动引入影响游戏 MDA 美学平衡的新玩家面向机制;
- 实现很可能超过一周的工作量。
此时按固定话术告知用户:
"This change has grown beyond quick-spec scope. I recommend using
/design-systemto author a full GDD for this."
值得注意的是,即使走轻量通道,产出物仍会进入评审体系:director-gates.md(.claude/docs/director-gates.md)中的 CD-GDD-ALIGN 门禁就声明其触发条件为 "After a system GDD is authored (design-system, quick-design, or any workflow that produces a GDD)"——轻量只是降低文档成本,不意味着完全脱离质量网。
7. 与 Story 管线的集成:从规格到实现
quick spec 的最终归宿是 story 文件,其交接链路在仓库中可被完整追踪:
/story-readiness校验(.claude/skills/story-readiness/SKILL.md):story 在实现前必须通过 READY / NEEDS WORK / BLOCKED 判定。其重定向规则明确写道:当 story 缺少 GDD 引用且工作量较小时——"If the change is small (under ~4 hours), run/quick-design [description]to create a Quick Design Spec, then reference that spec in the story." 也就是说,quick spec 可以反向补位:发现 story 缺设计依据时,用/quick-design快速补齐;- GDD Reference 字段:story 文件的 GDD Reference 字段引用 quick spec 路径,满足 readiness 检查中"GDD requirement referenced"(引用了
design/gdd/路径下的具体需求而非仅文件名)的要求; /dev-story实现(.claude/skills/dev-story/SKILL.md):story 通过 readiness 校验后,/dev-story读取完整上下文(story、GDD 需求、ADR 指引、control manifest),路由到对应程序员 Agent 实现。其主循环为:
/qa-plan sprint ← 定义测试需求
/story-readiness [path] ← 实现前校验
/dev-story [path] ← 实现(本技能)
/code-review [files] ← 评审
/story-done [path] ← 验证并关闭
GitHub 下载榜
累计下载Firefox 自动化测试驱动,让脚本像真人一样操控浏览器
在 GitHub 工作流中自动运行 CodeQL,持续扫描代码里的安全漏洞
命令行 JSON 处理神器,格式化、过滤与查询全都一步到位
轻量可靠的 U 盘启动盘制作工具,一键刻录系统镜像
一键下载安装无头浏览器 PhantomJS 的 npm 包,老项目测试必备
快速可靠的 JavaScript 包管理器,锁定依赖版本让安装更稳定
为 Kubernetes 提供容器资源监控指标,稳稳支撑自动扩缩容
Node.js 的 SQLite3 数据库绑定库,本地数据存储轻巧省心又可靠
Bazel 构建系统的常用函数与规则合集,简化脚本编写
支持多种算法的开源 CPU/GPU 挖矿程序,兼顾挖矿与性能测试