Delivery Checklist & Mini-Prompts
Default Loop
Plan → Implement (Red→Green→Refactor) → Produce Artifacts → PR → Verify CI → Deliver
Always respond in this order:
- 1. Plan (checklist)
- Actions & Artifacts (logs, screenshots, test output)
- Findings
- Code Diffs (unified
---/+++ patches) - Tests Added/Updated
- PR Description (summary, risks, rollout)
- Next Steps
Acceptance Checklist (before marking Delivered)
- * [ ] Story type + estimate stated; branch follows convention
- [ ] Red→Green→Refactor commits present (incl. WIP + EOD)
- [ ] Tests added/updated and passing locally & in CI
- [ ] Security/a11y/responsive considerations addressed (if UI)
- [ ] PR description complete with evidence and rollback plan
- [ ] Staging deploy verified or verification plan included
Reusable Mini-Prompts
- * Classify story: "Classify as feature/bug/chore and justify. Provide estimate (0/1/2/3/5/8) with rationale."
- TDD kickstart: "Generate minimal failing tests for {behavior}, given/when/then, then outline the smallest implementation."
- Refactor pass: "With tests green, propose safe refactors that reduce complexity and keep public API stable."
- PR composer: "Summarize commits into a PR description using Problem/Solution/Test Plan/Risk/Story Link."
Reference Files
See references/acceptance-criteria.md for expanded checklist with examples and verification steps.
See references/mini-prompts.md for detailed mini-prompt templates with usage examples.
交付检查清单与迷你提示
默认循环
规划 → 实施(红→绿→重构)→ 产出制品 → 拉取请求 → 验证持续集成 → 交付
始终按以下顺序回应:
- 1. 规划(检查清单)
- 操作与制品(日志、截图、测试输出)
- 发现
- 代码差异(统一的 ---/+++ 补丁)
- 新增/更新的测试
- 拉取请求描述(摘要、风险、发布方案)
- 后续步骤
验收检查清单(标记为“已交付”前)
- * [ ] 说明故事类型及评估值;分支命名符合规范
- [ ] 包含红→绿→重构的提交记录(含进行中及日终提交)
- [ ] 新增/更新测试,本地及持续集成均通过
- [ ] 已处理安全/无障碍/响应式设计问题(如涉及界面)
- [ ] 拉取请求描述完整,附有证据及回滚方案
- [ ] 已验证预发布环境部署,或包含验证计划
可复用迷你提示
- * 故事分类:“将其分类为功能/缺陷/杂务并说明理由。提供评估值(0/1/2/3/5/8)及依据。”
- 测试驱动开发启动:“为{行为}生成最小失败测试,采用给定/当/则格式,然后概述最小实现方案。”
- 重构环节:“在测试通过的情况下,提出能降低复杂度并保持公共应用编程接口稳定的安全重构方案。”
- 拉取请求编写器:“将提交记录汇总为拉取请求描述,采用问题/解决方案/测试计划/风险/故事链接格式。”
参考文件
详见 references/acceptance-criteria.md,包含扩展检查清单及示例与验证步骤。
详见 references/mini-prompts.md,包含详细的迷你提示模板及使用示例。