Task final report
Skill postmelee/hyper-waterfall/templates/locales/zh-CN/mydocs/skills/task-final-report
A human-governed AI coding workflow that distills ephemeral session context into persistent project memory—making work traceable, reviewable, and resumable.
npx -y skills add postmelee/hyper-waterfall --skill task-final-reportAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
应用 Hyper-Waterfall task 的 final report 和 PR publication 流程。 编写 final report(`_report.md`),将 daily task board 标记为完成, 创建 final commit,push 远程 publish/task{N} branch,并创建面向 {BASE_BRANCH} 的 Open PR。 只在所有 Stage 完成后、PR publication 之前立即调用。
SKILL.md
5.2 KB, as published. Nobody here has run it
Hyper-Waterfall Final Report 和 PR Publication
Trigger
- 任务请求者明确说 "write final report" 或 "prepare PR"。
- 直接调用此 SKILL。
Preconditions
- 所有实施计划书 Stage 都已完成,且每个 stage report 都已 commit。
- 验收标准的集成验证已通过。
local/task{N}没有未提交变更,或只剩此流程将要 commit 的变更。
Procedure
- 运行集成验证:使用实施计划书的 acceptance criteria 或最后一个 Stage verification section 命令。
- 编写 final report:
mydocs/report/task_m{milestone}_{N}_report.md。- 使用中央模板
mydocs/_templates/final_report.md。 - 只有在无法读取模板时,才使用这些 fallback sections:
- Work summary: Issue link, milestone, Stage count
- Changed files and impact area
- Quantitative before/after comparison when applicable, such as line count, token count, or verification pass count
- Verification results by acceptance criterion
- Residual risks and follow-up work
- Approval request to task requester
- 使用中央模板
- 更新 daily task board:
mydocs/orders/{yyyymmdd}.md中的 #{N} row。- 使用
mydocs/_templates/orders.md的输出格式。 - 将 status 设为
Done,并在 notes 中包含Done: HH:mm。
- 使用
- 检查变更。
git status --short git diff --check git log --oneline {BASE_BRANCH}..local/task{N} - 创建 final commit。它可以打包最后一个 Stage 和 final report,也可以只包含 report。
git add mydocs/report/task_m{milestone}_{N}_report.md mydocs/orders/{yyyymmdd}.md git commit -m "Task #{N} Stage {last} + final report: {summary}" # or git commit -m "Task #{N}: final report and daily task board completion" - Push 远程 publication branch。
git push origin local/task{N}:publish/task{N} - 创建面向
{BASE_BRANCH}的 Open PR。HEAD_SHA=$(git rev-parse HEAD) PR_BODY=/tmp/task{N}-pr-body.md # Start from {PR_TEMPLATE_PATH} and write "$PR_BODY" from the final report and stage reports. gh pr create --base {BASE_BRANCH} --head publish/task{N} \ --title "Task #{N}: {title}" \ --body-file "$PR_BODY"- PR body 使用
{PR_TEMPLATE_PATH}。 - Summary bullet 最多 4 个:target task、why、what、review focus。
- 包含每个 Stage 一行、verification summary 和 remaining risks。
- 将每个 Stage title 链接到 stage report URL,并将每个短 commit SHA 链接到 commit URL。
- 使用
HEAD_SHA固定的 URL 链接 work documents:https://github.com/{REPO_SLUG}/blob/{HEAD_SHA}/mydocs/...。 - 使用
[filename](URL),不要使用 raw links。 - 不要使用 relative links 或
blob/publish/task{N}/...links。 - 使用 PR body verification subsections:
Automated Verification、Manual/Scenario Verification、CI/Remote Verification和Verification Limitations。 - Automated verification 使用
Topic / Method / Result / Evidence表,概括检查了哪个 acceptance criterion,以及关键输出或通过数量。 - Manual/scenario verification 使用
Scenario / Check Procedure / Result / Evidence表。 - CI/remote verification 使用包含 GitHub Check names、run links 或 check time 的
Item / Result / Evidence表。 - 不要把未执行的验证留在表格中。移到
Verification Limitations或Remaining Risks。 - 不要把长日志粘贴到 PR body;链接 final report 或 stage reports。
Screenshots只为视觉变更保留。Related Issues用于 prerequisite、follow-up、Epic、upstream 或 reference Issues,不是 target task。
- PR body 使用
- 将 PR URL 发给任务请求者,并请求 review/merge approval。
Verification
- 所有 stage reports 和 final report 都存在。
- Final report 填写了
mydocs/_templates/final_report.md的必需章节。 git status --short为空。gh pr view显示 base/head 正确的 non-draft PR。- PR body 的
ChangesStage summaries 链接到 stage reports 和短 commit SHA links。 - Work document links 使用 commit SHA-pinned URLs 和
[filename](URL)格式。 - Work document links 不包含 raw GitHub blob URLs、relative links 或
blob/publish/task{N}。 - PR body 的
Verificationsection 遵循Automated Verification、Manual/Scenario Verification、CI/Remote Verification和Verification Limitations。 - PR body 不保留未执行验证的 checklist tables。
- Daily task board #{N} row 是
Done,并包含Done: HH:mm。
Never Do
- 集成验证失败时创建 PR。
- 直接把
local/task{N}push 到远程;始终发布为publish/task{N}。 - 强制 squash merge options;必须保留 Stage commit 的意义。
- 未经任务请求者明确指示,不创建 Draft PR 或 self-merge。
Invocation
- Codex:
$task-final-report或/skills菜单 - Claude Code:
/task-final-report