Agent skill
pr-writter
Analyzes the current branch commits and generates a comprehensive Pull Request summary following project standards.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/pr-writter
SKILL.md
PR Creation Skill
When I ask you to "create a PR" or "summarize my branch," follow this workflow:
1. Context Gathering
- Run
git log main..HEAD --onelineto see all commits on the current branch. - Run
git diff main..HEADto understand the actual code changes. - Identify the core problem solved and any associated Issue IDs.
2. Generate the PR Summary
Draft a PR description that includes:
- Title: A clear, concise summary of the change.
- Related Issue: Link the issue this PR addresses.
- The "What": Explain the changes made.
- Testing: Describe how the changes were verified (Mocha tests, manual runs, etc.).
- Scrutiny: Call out specific areas where you want the reviewer to pay extra attention.
3. The "Explain-Code" Breakdown
Using the explain-code template, provide a breakdown of the PR for the reviewers:
3. Step-by-Step Walkthrough
Walk through the logical flow of the new code changes.
4. The Gotcha
Highlight a potential side effect or a common mistake a future developer might make when touching this specific area of the code.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?