Agent Skills › jdx/mise › pr-description

pr-description

GitHub

指导如何撰写或修订 PR 标题和描述,确保内容准确反映最终代码变更,便于生成发布说明及用户理解。

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

Trigger Scenarios

创建 Pull Request 编辑 PR 描述 根据 Review 反馈修改 PR 内容

Install

npx skills add jdx/mise --skill pr-description -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • 586508e Current 2026-09-27 22:18

Same Skill Collection

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

Metadata

Files
0
Version
586508e
Hash
a5bd998d
Indexed
2026-09-27 22:18

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-04 11:12
浙ICP备14020137号-1