Skip to content

spec-commit-push-pr

从本地改动走到 commit、push 和 PR,或仅生成 / 更新 PR 描述。

ASCII 链路图

text
Codebase -> Spec -> Plan -> Tasks -> Code -> Review -> Knowledge
                                                |
                                                v
                                                spec-commit-push-pr
                                                entry: internal_only
                                                type: internal-only

基本信息

字段内容
Skillspec-commit-push-pr
类型internal-only
研发链路位置Review
当前入口internal_only
兼容别名不适用
Sourceskills/spec-commit-push-pr/SKILL.md
Governancesrc/cli/contracts/dual-host-governance/skills-governance.json(supported-host skills governance)

描述

Internal landing helper for public workflows that already hold explicit commit and landing authorization; commits scoped changes, pushes, and creates or updates a PR with a value-first description.

Source 契约摘要

该 source skill 未声明标准 Workflow Contract Summary 小节;本页以 frontmatter、supported-host governance 和维护者补充元数据为准。

何时使用

  • 用户要求创建 PR。
  • 需要刷新 PR body 或描述当前 diff。
  • 准备把已验证变更交给 reviewer。

工作步骤

  • 读取 diff、PR、文档、计划、task pack 或专项审查输入。
  • 按风险域选择 always-on 与 conditional reviewer personas。
  • 合并、去重和校准 findings,区分 safe_auto、gated_auto、manual 和 advisory。
  • 输出修复、残留风险或下一步处理建议。

输出

  • review findings、safe_auto fixes、residual risks、audit report 或 release checklist。
  • 当 reviewer dispatch 不可用时,输出明确的 report-only fallback 覆盖说明。

Agent 调度

  • 这是 persona agents 的主要使用层:correctness、testing、security、performance、scope、design 等按证据触发。
  • review workflow 自身负责任务边界、合成和最终判断。

本 skill 当前没有 skill-local references/agentsreferences/personas 文件;默认由 orchestrator 直接完成,或按阶段需要临时调用其他 skill 的专家。

边界

  • 不替代代码 review。
  • 不应在未验证或 scope 不清时直接 push。

源码校准

  • 本页由 website/scripts/generate-skill-detail-pages.js 从上游 source skill 生成。
  • 当前入口、兼容别名与宿主投递 metadata 来自 src/cli/contracts/dual-host-governance/skills-governance.json
  • 当 source skill 或 governance contract 变化后,应重新运行 npm run reference:pages 并执行 npm run content:audit