跳到正文
cccskills
免费在 GitHub 公开

pr

Prepare a Toasty pull request by reviewing the full change against its base branch and drafting a concise title and body from the net diff. It also covers the required template, rendered links for major Markdown changes, and label handling.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Always use this skill before opening a pull request in the Toasty repository

tokio-rs/toasty星标 3,269(GitHub 3,269 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • Drafting a pull request title and body
  • Summarizing changes across several commits
  • Preparing a pull request for a Markdown document

包含的文件(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

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

Opening Pull Requests

Load this skill before opening a pull request in this project.

Base the title and body on the PR diff, not the latest commit

A branch usually contains several commits — initial work, fixups, review responses, rebases. The PR title and body describe the net change that will land on the base branch, not the most recent commit.

Identify the PR's base branch first. It is usually main, but a PR stacked on another feature branch has that feature branch as its base. Then read the full diff against the base:

git diff <base>...HEAD
git log <base>..HEAD

Draft the title and body from what that diff actually contains.

Title

Follows the same Conventional Commits format as a commit message — it becomes the squash-merge commit. See docs/dev/COMMITS.md.

Body

Fill in the template at .github/pull_request_template.md. Keep the section headings and the checklist; replace the HTML comment placeholders with real content. Delete checklist items that do not apply rather than leaving them unchecked with no explanation.

Markdown-doc PRs: link the rendered version

When a PR's primary change is adding or substantially modifying a single markdown file (e.g., a design doc or a major docs rewrite), put a link to the rendered version on the branch as the first line under ## Summary:

## Summary

[Rendered](https://github.com/tokio-rs/toasty/blob/<branch-name>/<path-to-file>.md)

<rest of summary>

Use the PR's head branch name in the URL so the link renders the version under review, not what's on main. PR #787 is an example.

Be succinct

Reviewers already know Toasty and Rust. Keep the body high-signal: state the problem, the change, and anything a reviewer needs to know to evaluate it. Skip restated context, obvious explanations, and throat-clearing. A reviewer should grasp the important bits in seconds.

Labels

Do not apply labels when creating the PR. Maintainers triage and label PRs separately — see docs/dev/labels.md. Passing --label to gh pr create bypasses that process.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

commit

免费

Prepare concise Git commit messages for the Toasty project by first checking its authoritative commit guide. The skill focuses on describing what changed and why, using the project's required format, types, scopes, and breaking-change notation.

中文简介正在准备中。当前显示英语简介。

  • Writing a commit subject and body
  • Checking allowed commit types and scopes
  • Marking a breaking change correctly
tokio-rs/toasty32692026年10月26日 更新

design

免费

Prepare Toasty design documents under `docs/dev/design/` using the required template, audience, and concise writing conventions. The skill guides document structure and illustrative Rust examples, and outlines the proposal and roadmap steps for non-trivial features.

中文简介正在准备中。当前显示英语简介。

  • Drafting a Toasty feature design document
  • Editing an existing design proposal
  • Explaining a feature to users and driver implementors
tokio-rs/toasty32692026年10月26日 更新

issue

免费

Write clear Toasty issues by choosing the right template for a bug report or feature proposal and filling in its required fields. It helps describe observed behavior, reproduction steps, proposed APIs, and alternatives in concise, factual language.

中文简介正在准备中。当前显示英语简介。

  • Reporting a bug with steps and a reproducer
  • Proposing a feature or public API change
  • Choosing and completing an issue template
tokio-rs/toasty32692026年10月26日 更新

prose

免费

Write or edit Toasty documentation, design notes, READMEs, pull request descriptions, issues, and commit bodies using the project's prose conventions. It favors direct, factual language, concrete examples, active voice, and descriptions of current behavior.

中文简介正在准备中。当前显示英语简介。

  • Editing a README or project documentation
  • Writing an issue or pull request description
  • Making design notes more direct and concrete
tokio-rs/toasty32692026年10月26日 更新

查看 tokio-rs 的全部技能

报告此技能的问题