跳到正文
cccskills
免费在 GitHub 公开

pr

Publish the current repository change as a ready-for-review GitHub pull request against the requested base, or the repository's remote default branch when none is named. Always use this skill for an actual PR publication, including requests to create, open, raise, publish, or reuse a pull request, put work up for review, or make and share a GitHub review link. Complete the needed commit, base synchronization, and branch publication, but stop before merge.

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

toy-crane/claude-code-playbook-template星标 77(GitHub 77 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

包含的文件(6)

  • SKILL.md4.1 KB
  • agents/openai.yaml241 B
  • evals/control-trigger-evals.json495 B
  • evals/evals.json12.5 KB
  • evals/heldout-trigger-evals.json754 B
  • evals/trigger-evals.json1.3 KB

SKILL.md(原文)

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

Create a pull request

Turn the current request's change into one ready-for-review pull request against the named base, or the remote's advertised default branch when none is named. Complete the necessary local Git work instead of requiring other skills to be installed.

Preserve unrelated work while committing the request's changes as logical Conventional Commits. Keep credentials and other sensitive files out of the history, honor repository checks, and move work on a detached or protected checkout to a suitably named branch.

Base the branch on the fetched target and publish it without overwriting unexpected remote work. Reuse an existing pull request for the same head and base; when the change is already represented on that remote base, report the state instead of duplicating it.

Create the pull request ready for review with a title and body describing the actual change. Leave merging, required reviews, and release decisions outside this skill's authority.

Make the body understandable

Write for a reviewer without the conversation history: explain the problem, concrete before-and-after behavior, why it changed, and what verification establishes. Scale the explanation to the change; a typo fix needs only a brief description and relevant validation. Include mechanisms, a diagram for complex flows, actual alternatives and trade-offs, affected users or integrations, and specific unresolved judgments when they help assess the change. Keep the whole change understandable beyond those highlighted judgments; omit empty sections and invented alternatives or questions.

For screen changes, capture the actual base and head at matching viewport, data, and state, or reuse evidence verified to match those revisions. Embed before-and-after screenshots side by side in the body, with a short explanation of the difference and its reason. Identify the revisions, screen and capture conditions, including unavoidable differences. Add actual interaction video when still images cannot explain the important behavior. Separate observed results from source inference and unverified states; a prototype is not runtime evidence. When updating an existing PR, bring its explanation and evidence into line with the final change, replacing outdated visual claims.

Before uploading, inspect screenshots and videos for credentials, personal data, and private information. Use safe seeded data or redact those details throughout the media, keeping comparison conditions and the relevant change visible. Upload only the inspected, safe media as GitHub attachments, using a supported mechanism in the current environment. For GitHub CLI, check attachment support: gh pr create and gh pr edit accept repeatable --attach on supported versions and rewrite matching local image references in --body-file to uploaded URLs. A Markdown table can place the two images side by side. Keep review captures outside repository history; no separate image host is needed.

If baseline execution, capture, or upload is unavailable, state the exact limit and present only the evidence obtained. Inspect the resulting remote body and attachments before reporting them as available to reviewers; a local path is not a published image. A partial upload may still create the PR: inspect and repair that PR instead of duplicating it. Carry successful attachment URLs from the remote body into its replacement, and replace unusable local references with an honest limitation if recovery fails.

Finish

Finish when the remote pull request exists in ready state and the user has its URL, base, head branch, and any checks or evidence that remain outstanding.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Audit and establish current agent context for the technologies that define a project's stack. Use when setting up a project for agent work, after selecting or adding a framework, library, developer tool, or hosted service, or when entering an existing project whose agent context has not been audited.

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

toy-crane/claude-code-playbook-template772026年10月21日 更新

Revise active `docs/specs/SLUG/` specs so they match what has shipped since they were written. Use when earlier work has landed and queued specs may now rest on stale assumptions, acceptance criteria, constraints, terms, or prototypes, or when implementation reports a spec as stale before changing source. Takes one or more spec folders, or every folder under `docs/specs/` when none is named. Do not use to shape a new spec from a problem and direction, which belongs to `shape-idea`, or to reconcile durable project context and retire shipped folders, which belongs to `maintain-project-context`.

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

toy-crane/claude-code-playbook-template772026年10月21日 更新

Build a complete dummy-data HTML prototype or a temporary comparison of up to three alternatives for a specific user situation. Use to settle a screen-based product before implementation or resolve a visual or interaction decision during shaping or prototype review. Do not use for production implementation or CLI, terminal, or voice interfaces.

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

toy-crane/claude-code-playbook-template772026年10月21日 更新

commit

免费

Create Git commits for the current request's in-scope changes as logical Conventional Commits. Always use this skill for an actual Git commit operation, including requests to commit or amend changes, save work in repository history, stage and record selected files, or group staged or unstaged changes into commits. Use it even when the request describes recording changes without saying "commit"; it performs the commit rather than only suggesting a message, and it does not push.

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

toy-crane/claude-code-playbook-template772026年10月21日 更新

Interview the user to define or revise the app's overall product direction, then preserve the confirmed meaning in root PRODUCT.md. Always use for a new app direction or any app-wide change to users, usage situations, problem, promised change, core loop, durable boundaries, experience principles, success signals, assumptions, or unknowns, even when PRODUCT.md is not named. Start from an existing definition or a rough app direction. Do not use for blank-page idea discovery, architecture, or shaping or specifying one feature or work unit.

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

toy-crane/claude-code-playbook-template772026年10月21日 更新

Render an explanation as a diagram, comparison, trace with real values, or annotated code. Use when the user asks to have a concept, decision, flow, or code explained, or says they do not follow.

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

toy-crane/claude-code-playbook-template772026年10月21日 更新

查看 toy-crane 的全部技能

报告此技能的问题