Agent Skills › fcakyon/claude-codex-settings › update-pr-summary

update-pr-summary

GitHub

用于更新PR标题和正文,基于完整变更集生成最终描述与证据。支持重写、保留上下文及验证渲染效果。

plugins/github-dev/skills/update-pr-summary/SKILL.md fcakyon/claude-codex-settings

Trigger Scenarios

update PR summary update PR description rewrite PR body refresh PR title and body

Install

npx skills add fcakyon/claude-codex-settings --skill update-pr-summary -g -y
More Options

Non-standard path

npx skills add https://github.com/fcakyon/claude-codex-settings/tree/main/plugins/github-dev/skills/update-pr-summary -g -y

Use without installing

npx skills use fcakyon/claude-codex-settings@update-pr-summary

指定 Agent (Claude Code)

npx skills add fcakyon/claude-codex-settings --skill update-pr-summary -a claude-code -g -y

安装 repo 全部 skill

npx skills add fcakyon/claude-codex-settings --all -g -y

预览 repo 内 skill

npx skills add fcakyon/claude-codex-settings --list

SKILL.md

Frontmatter
{
    "name": "update-pr-summary",
    "description": "This skill should be used when user asks to \"update PR summary\", \"update PR description\", \"rewrite PR body\", \"refresh PR title and body\", or explicitly invokes \"update-pr-summary\"."
}

Update PR Summary

Update a PR title and body to describe the final change and evidence. Treat extra invocation text as the PR reference and any requested corrections.

  1. Read repository guidance and fetch the current body before editing: gh pr view <pr> --json title,body,baseRefName,headRefName,url.
  2. Review the complete PR diff against its actual base, not this checkout's unrelated HEAD. Use git diff <remote>/<base>...<head> when those refs are current, otherwise gh pr diff <pr>. Ignore changes outside the PR and collect completed checks relevant to its current head.
  3. Read create-pr for title, body, evidence, and visual-hosting guidance. Apply the user's correction to the relevant portion. Preserve uploaded visuals, bot-added context, links, and valid results. An explicit full rewrite still keeps those unless the user asks to remove them. Rewrite stale claims and titles around the final scope.
  4. Save the exact body to a temporary file outside the repo. Re-read the remote body just before writing. If it changed, incorporate those edits rather than overwriting them. Apply with gh pr edit <pr> --title "..." --body-file <path>.
  5. Read back title,body,url and compare with the intended edit. Verify that preserved content, fences, tables, and links survived. Open the PR to check media rendering when relevant. Report the PR URL and any remaining evidence or upload gap.

Version History

  • 216ec22 Current 2026-10-19 13:00

    优化流程:强调读取仓库指引、对比实际基础分支差异、在写入前二次确认远程内容以防冲突,并增加对媒体渲染的验证。

  • 9d0ce8b 2026-07-25 10:34

Same Skill Collection

plugins/adhd-output-style/skills/adhd-output-style/SKILL.md
plugins/agent-browser/skills/derive-client/SKILL.md
plugins/agent-browser/skills/dogfood/SKILL.md
plugins/agent-browser/skills/ui-regression/SKILL.md
plugins/agent-browser/skills/webmcp-gen/SKILL.md
plugins/anthropic-office-skills/skills/pdf/SKILL.md
plugins/azure-tools/skills/azure-usage/SKILL.md
plugins/azure-tools/skills/setup/SKILL.md
plugins/cloudflare-skills/skills/agents-sdk/SKILL.md
plugins/cloudflare-skills/skills/basin/SKILL.md
plugins/cloudflare-skills/skills/cloudflare-deploy/SKILL.md
plugins/cloudflare-skills/skills/cloudflare-email-service/SKILL.md
plugins/cloudflare-skills/skills/cloudflare-one-migrations/SKILL.md
plugins/cloudflare-skills/skills/cloudflare-one/SKILL.md
plugins/cloudflare-skills/skills/durable-objects/SKILL.md
plugins/cloudflare-skills/skills/k2/SKILL.md
plugins/cloudflare-skills/skills/sandbox-migrate-to-next/SKILL.md
plugins/cloudflare-skills/skills/sandbox-next/SKILL.md
plugins/cloudflare-skills/skills/sandbox-stable/SKILL.md
plugins/cloudflare-skills/skills/turnstile-spin/SKILL.md
plugins/cloudflare-skills/skills/web-perf/SKILL.md
plugins/cloudflare-skills/skills/workers-best-practices/SKILL.md
plugins/cloudflare-skills/skills/wrangler/SKILL.md
plugins/codex-advisor/skills/codex-advisor/SKILL.md
plugins/dokploy-skills/skills/dokploy-deploy/SKILL.md
plugins/fable-advisor/skills/fable-advisor/SKILL.md
plugins/frontend-design-skills/skills/anthropic-frontend-design/SKILL.md
plugins/frontend-design-skills/skills/frontend-testing-debugging/SKILL.md
plugins/frontend-design-skills/skills/openai-frontend-design/SKILL.md
plugins/frontend-design-skills/skills/writing-guidelines/SKILL.md
plugins/gcloud-tools/skills/gcloud-usage/SKILL.md
plugins/gcloud-tools/skills/setup/SKILL.md
plugins/github-dev/skills/clean-gone-branches/SKILL.md
plugins/github-dev/skills/commit-staged/SKILL.md
plugins/github-dev/skills/create-pr/SKILL.md
plugins/github-dev/skills/resolve-pr-comments/SKILL.md
plugins/github-dev/skills/review-pr/SKILL.md
plugins/github-dev/skills/setup/SKILL.md
plugins/hetzner-skills/skills/hetzner-deploy/SKILL.md
plugins/humanize/skills/humanize/SKILL.md
plugins/livekit-skills/skills/livekit-skills/SKILL.md
plugins/mongodb-skills/skills/mongodb-atlas-stream-processing/SKILL.md
plugins/mongodb-skills/skills/mongodb-mcp-setup/SKILL.md
plugins/mongodb-skills/skills/mongodb-query-optimizer/SKILL.md
plugins/openai-office-skills/skills/doc/SKILL.md
plugins/openai-office-skills/skills/pdf/SKILL.md
plugins/openai-office-skills/skills/slides/SKILL.md
plugins/openai-office-skills/skills/spreadsheet/SKILL.md
plugins/openobserve-skills/skills/openobserve-api/SKILL.md

Metadata

Files
0
Version
216ec22
Hash
78125252
Indexed
2026-07-25 10:34

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 22:57
浙ICP备14020137号-1