跳到正文
cccskills
免费在 GitHub 公开

pr-draft-summary

Create the required PR-ready summary block, branch suggestion, title, and draft description for openai-guardrails-python after runtime, tests, examples, build/test configuration, or behavior-impacting docs change.

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

查看安装方法

包含的文件(2)

  • SKILL.md3.5 KB
  • agents/openai.yaml251 B

SKILL.md(原文)

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

PR Draft Summary

Purpose

Produce a concise, copy-ready branch suggestion, PR title, and description for OpenAI Guardrails Python. This skill creates text only. It never authorizes creating a branch, committing, pushing, opening a pull request, or mutating GitHub.

When to trigger

  • Run after applicable final review and verification when the task changed src/guardrails/, mcp_server/, tests/, examples/, build/test configuration, or behavior-impacting docs.
  • Run for eligible local-only or uncommitted work even when the user did not ask to open a pull request.
  • Skip for repository metadata, editorial docs, conversation-only work, or when the user explicitly asks not to include a PR draft.

Inputs to collect automatically

  • Current branch: git branch --show-current.
  • Repository state: git status --short.
  • Untracked files: git ls-files --others --exclude-standard.
  • Staged and unstaged paths and statistics.
  • Base reference: the branch upstream when configured, otherwise local main, otherwise origin/main.
  • Merge base and commits ahead of that base.
  • Latest local release tag when compatibility context matters; label it potentially stale when remote tags were not refreshed.
  • Category signals:
    • Runtime: src/guardrails/, mcp_server/.
    • Tests: tests/.
    • Examples: examples/.
    • Docs: docs/, mkdocs.yml.
    • Build/test configuration: pyproject.toml, uv.lock, Makefile, .github/.

Do not ask the user for information that can be derived from the repository.

Workflow

  1. Resolve the base and inspect committed, staged, unstaged, and untracked task content.
  2. If there are no task changes and no commits ahead of the base, report that no code changes were detected and do not emit the PR block.
  3. Classify the work as feature, fix, refactor/performance, docs-with-impact, or repository tooling.
  4. Flag backward-compatibility risk only when the diff changes a released public API, external configuration, persisted data, serialized state, or wire protocol.
  5. Summarize the complete change in one to three sentences. Include untracked deliverables because ordinary diff statistics omit them.
  6. Choose a branch name:
    • Keep the current non-main, non-detached branch when it already describes the task.
    • Otherwise suggest feat/<slug>, fix/<slug>, docs/<slug>, or chore/<slug>.
    • Never suggest HEAD.
  7. Use an imperative title with a conventional prefix when useful.
  8. Start the description with This pull request adds ..., fixes ..., improves ..., or updates ....
  9. Explain the motivation, complete behavioral change, and compatibility considerations. Do not list tests unless the user asks.
  10. Normalize GitHub references: #123 for this repository and owner/repo#123 for another repository. Remove Markdown-linked issue/PR labels, bare issue/PR URLs, local paths, Codex citations, and app directives.
  11. Return the following block in English.

Output format

# Pull Request Draft

## Branch name suggestion

git checkout -b <kebab-case branch>

## Title

<single-line imperative title>

## Description

<copy-ready description beginning with "This pull request ...">

Keep the block tight and avoid repeating the same information in multiple sections.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Run the mandatory verification stack when changes affect runtime code, tests, examples, or build and test behavior in the OpenAI Guardrails Python repository.

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

openai/openai-guardrails-python2612026年10月20日 更新

Review an openai-guardrails-python release plan or final release candidate against the previous remote tag, determine the compatible release type, audit runtime and packaging risk, inspect current CI, and produce an English ship-or-block report. Use for pre-release readiness checks, not ordinary PR review or implementation.

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

openai/openai-guardrails-python2612026年10月20日 更新

Perform the repository's risk-tiered independent final review before implementation completion. Use only when explicitly invoked or when repository instructions require it after behavior-impacting implementation work; audit the complete task diff, supported contracts, lifecycle and security boundaries, complexity, and tests before final verification.

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

openai/openai-guardrails-python2612026年10月20日 更新

Start and carry an explicitly invoked openai-guardrails-python implementation through a fresh isolated worktree and a local PR-ready handoff. Fetch the latest origin/main, keep task changes uncommitted, replay them onto the latest main before final review, run applicable verification and $implementation-final-review, use $pr-draft-summary to generate the complete PR draft and branch name, then create one clean local commit with takeover provenance when applicable. Use only when the user explicitly invokes this skill; never push, open a PR, or mutate GitHub.

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

openai/openai-guardrails-python2612026年10月20日 更新

Choose compatibility-aware scope for runtime and API changes in openai-guardrails-python. Use before initial implementation and each review-feedback batch to decide whether to patch, reset the design, preserve compatibility, or reject unsupported cases.

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

openai/openai-guardrails-python2612026年10月20日 更新

Assess an openai-guardrails-python GitHub issue or pull request as a maintainer. Use to verify the claimed need and practical impact, compare supported alternatives or competing approaches, separate code quality from repository readiness, recommend the maintainer action, and draft a copy-ready comment when evidence, changes, or closure should be requested.

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

openai/openai-guardrails-python2612026年10月20日 更新

查看 openai 的全部技能

报告此技能的问题