Agent Skills › jdx/mise › pr-description

pr-description

GitHub

指导如何撰写或修订 PR 标题和描述,确保内容符合发布说明生成要求。强调以用户可见变更为主,提供具体示例、前后对比及采用细节,避免无效信息,保证文档清晰准确。

.agents/skills/pr-description/SKILL.md jdx/mise

触发场景

需要编写新的 Pull Request 标题和描述 收到代码审查反馈后需要修改 PR 内容 PR 范围变更需要重新梳理描述

安装

npx skills add jdx/mise --skill pr-description -g -y
更多选项

非标准路径

npx skills add https://github.com/jdx/mise/tree/main/.agents/skills/pr-description -g -y

不安装直接使用

npx skills use jdx/mise@pr-description

指定 Agent (Claude Code)

npx skills add jdx/mise --skill pr-description -a claude-code -g -y

安装 repo 全部 skill

npx skills add jdx/mise --all -g -y

预览 repo 内 skill

npx skills add jdx/mise --list

SKILL.md

Frontmatter
{
    "name": "pr-description",
    "description": "How to write or revise a mise pull request title and description. PR titles and bodies feed the release notes, so use this whenever opening a PR, editing a PR body, or after review feedback changes what a PR does."
}

Writing PR Titles and Descriptions

Communique uses PR titles and descriptions to generate release notes. Write them for a mise user who has not read the diff or this conversation.

  • Describe the final result. Before requesting review and again after feedback changes the implementation, compare the title and body with the complete current diff. Rewrite both when the scope changes. Remove abandoned approaches, stale requirements, and claims that the final code or validation no longer supports.
  • Lead with the user-visible change. Keep the conventional commit format, but name the affected behavior and outcome in the title. Open the body with the problem or use case and what users can now do. Avoid titles such as "address feedback" or "fix CI" when the PR's actual purpose is a feature or behavior fix. For internal-only work, explain the concrete maintainer or contributor benefit without inventing a user-facing impact.
  • Make the change concrete. For new configuration or commands, include a small, valid example and explain its result. For a bug fix, describe the trigger and before/after behavior. For visible UI or output changes, include actual before/after screenshots or a short recording when they help reviewers assess the change; CLI input/output snippets are often clearer than screenshots of a terminal. Use measured results for performance claims and state how they were measured.
  • Keep the essential facts in text. Caption screenshots and explain examples. A reader or release-note generator should understand the change without opening an image, following an external link, or reading the diff. Do not fabricate screenshots, output, measurements, or validation results.
  • State adoption details when relevant. Include new flags or settings, defaults, supported platforms, experimental status, required dependency versions, and any compatibility changes or migration steps that affect using the feature. Distinguish current behavior from planned follow-ups; do not advertise unfinished work.
  • Keep review details proportionate. Summarize meaningful validation and its limitations. Include implementation details only when they explain behavior or a tradeoff reviewers need to assess. Omit agent work logs, intermediate commit summaries, and exhaustive test-command lists. A small fix can be a short paragraph and a test result; screenshots and sections are not mandatory for every PR.

For example, prefer fix(task): install missing tools before running referenced tasks over fix(task): address review feedback. Its description should explain which command previously failed, show the same command succeeding with automatic tool installation, and mention any relevant prerequisites. This guidance does not replace the AI disclosure that AGENTS.md requires on GitHub content.

Use cases and tradeoffs

For user-facing behavior, explain materially different use cases or tradeoffs (for example, bounded catalogs versus query-driven search). Write the description for users and reviewers, not as a list of files or implementation steps; keep implementation details and test commands in secondary sections.

版本历史

  • 586508e 当前 2026-09-27 22:18

同 Skill 集合

.agents/skills/entire-search/SKILL.md
.agents/skills/update-aube/SKILL.md
.agents/skills/registry-submission/SKILL.md

元信息

文件数
0
版本
718597b
Hash
a5bd998d
收录时间
2026-09-27 22:18

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-06 22:21
浙ICP备14020137号-1