跳到正文
cccskills
Codex 官方免费在 GitHub 公开

pr-draft-summary

Draft a Guardrails PR from its complete final diff and carry out authorized CI and review follow-up, including stacked PRs and takeovers.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md4.0 KB
  • agents/openai.yaml118 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

PR Draft Summary

Describe the complete final change, including internal tooling and docs PRs. Read AGENTS.md for review, release-note, and remote-action rules. Drafting alone does not authorize submission or messages; retain explicit user authorization already given for the task.

Establish the actual PR scope

Inspect the current branch, target, merge base, all branch commits, staged and unstaged changes, and relevant untracked deliverables. Use the intended target, not a feature branch's tracking configuration. For an explicit stack, compare against the previous PR's branch and list the required predecessor. Check the combined stack separately for integration and scope drift.

Keep a user-selected branch; suggest an unused codex/<topic> name when needed. Do not include unrelated local notes. If the diff is empty, report that fact rather than inventing a PR. Reconcile the summary with the final diff after fixes.

Draft the title and body

Lead with the concrete problem or missing capability and resulting behavior. Use a concise imperative title. Include only details needed to review the change:

  • What changes and why; relevant compatibility or migration requirements.
  • Actual tests/checks run, results, and material coverage limitations.
  • Changeset impact when it helps clarify release behavior.
  • For takeovers, the source PR and verified attribution; for split takeovers, identify the slice without claiming the entire original PR is complete.
  • For stacks, the predecessor and ordered stack position. Explain that the incremental diff is against that predecessor.

Use native GitHub references (#123 or owner/repo#123). Add issue-closing syntax only when the final change fully resolves that issue and closure is intended. Keep local paths, reviewer transcripts, internal diagnostics, and app directives out of the external description. Do not claim a check or approval that did not run.

Submit and follow up when authorized

Before any push or PR update, complete the repository's final review and applicable verification. Push only the intended branches and create PRs with explicit bases. Do not rewrite another author's branch, merge, or close a source PR merely because a replacement exists.

Monitor CI and CodeQL on the current head of every submitted PR. Both workflows filter PR targets to main, so higher stack entries may have no automatic runs. Inspect .github/workflows/ci.yml and .github/workflows/codeql.yml; when needed, dispatch each workflow on each affected stack branch and verify that every run's head SHA matches the PR. Require both workflows to pass before reporting the head as green or requesting review. Missing checks are not passing checks. Report an unavailable trigger or blocked run rather than weakening CI or modifying branch protection.

Fix and re-push only failures introduced/worsened by the change or narrowly necessary to its outcome, repeating the required review/checks before updates. Retry evidenced transient failures; report unrelated failures separately. Stop repeated retries when there is no new evidence or progress.

Once current-head CI and CodeQL pass, request review in root #sdk-reviews as required by AGENTS.md and authorized for the task. For a stack, one message can list all PRs in dependency order; do not post it as a thread reply. If messaging is unavailable, report the blocker and provide the prepared request without claiming it was sent.

When addressing feedback, inspect the whole affected diff, push the reviewed fix, then reply to the particular review thread explaining the correction and resolve it. Do not resolve feedback that remains unaddressed. If an earlier stack branch changes, reconcile dependent branches within the authorized scope and revalidate affected PR heads before reporting the stack as green.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

code-change-verification

Codex 官方免费

Select and run Guardrails verification for code, dependency, test, tooling, documentation, or repository-workflow changes.

中文简介正在准备中。当前显示原文说明。

openai/openai-guardrails-js1102026年10月21日 更新

implementation-final-review

Codex 官方免费

Prepare independent review of a complete Guardrails change before pushing or updating a PR, using the repository adversarial-review procedure.

中文简介正在准备中。当前显示原文说明。

openai/openai-guardrails-js1102026年10月21日 更新

implementation-kickoff

Codex 官方免费

Start or resume a requested Guardrails implementation or PR takeover in the selected linked worktree with bounded scope and verification.

中文简介正在准备中。当前显示原文说明。

openai/openai-guardrails-js1102026年10月21日 更新

implementation-strategy

Codex 官方免费

Choose bounded implementation scope and existing owning modules before Guardrails runtime, configuration, client, resource, streaming, Agents, or SDK compatibility changes and feedback fixes.

中文简介正在准备中。当前显示原文说明。

openai/openai-guardrails-js1102026年10月21日 更新

查看 openai 的全部技能

报告此技能的问题