Use imperative mood: "Add feature" not "Added feature"
Be specific but concise
Do NOT include the issue number in the title (it will be linked in the PR body)
1---2name: pr-summary-43description: Pr Summary4---56# Create PR Summary
78Generate a pull request summary based on branch changes.
910## Instructions
11121. **Gather Context**
13 - Get current branch name
14 - Find the corresponding `.ai/` workflow folder for this branch:
15 - For issue branches (e.g., `feature/59-no-verify`): look for `.ai/issue-59-*`
16 - For named branches (e.g., `feature/worktree-support`): look for `.ai/feature-worktree-support/` or `.ai/worktree-support/`
17 - Use `ls .ai/` and match based on branch name patterns
18 - Read these files if they exist (use them to understand the feature goals and implementation approach):
19 - `concept.md` - Feature concept and design rationale
20 - `analysis.md` - Issue analysis and requirements
21 - `plan.md` - Implementation plan with specific changes
22 - Get associated issue number from branch name, commits, or analysis.md
23242. **Analyze Changes**
25 ```bash
26 # All commits on this branch
27 git log main...HEAD --oneline
2829 # Full diff
30 git diff main...HEAD --stat
3132 # Changed files
33 git diff main...HEAD --name-only
34 ```
35363. **Generate Summary**
3738 Read `.github/PULL_REQUEST_TEMPLATE.md` for the format specification and example.
3940 Use context from the `.ai/` folder files to write a better summary:
41 - **concept.md**: Understand the design goals and rationale
42 - **analysis.md**: Reference the original issue requirements
43 - **plan.md**: Verify all planned changes were implemented
4445 Write the summary to `.ai/<folder>/pr_summary.md`.
46474. **Create PR Command**
4849 Output the `gh pr create` command:
5051 ```bash
52 gh pr create --title "<title>" --body "$(cat .ai/<folder>/pr_summary.md)"
53 ```
54555. **Report Completion**
56 - Show path to pr_summary.md
57 - Show the PR creation command
58 - Remind to push branch first if not already pushed
5960## PR Title Guidelines
6162- Use imperative mood: "Add feature" not "Added feature"
63- Be specific but concise
64- Do NOT include the issue number in the title (it will be linked in the PR body)
Run npx skillmds@latest add majiayu000/pr-summary-4 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Pr Summary It is listed under Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.