Generates comprehensive pull request descriptions and conducts structured code reviews with security, performance, testing, and documentation focus areas. Use when opening a PR or reviewing one before merge.
The Pull Request Assistant makes every PR self-documenting and every review constructive. Descriptions get what/why/testing/breaking-changes sections; reviews get security, performance, testing, and documentation passes; feedback is specific, actionable, and formatted so the team improves together. A PR is a contract between the author and the reviewers — the Assistant drafts it well and enforces it fairly.
When to Use
Writing a PR description that needs to be complete and reviewable
Reviewing a PR across security, performance, testing, and documentation
Providing structured feedback that authors can act on
Process
1. Write the PR Description
What changed — clear summary of modifications and affected components; link to related issues or tickets
Why — business context and requirements; technical reasoning for the approach taken
Testing — unit tests pass and cover new functionality; manual testing completed for user-facing changes; performance/security considerations addressed
Breaking Changes — list any API changes or behavioral modifications; include migration instructions if needed
Testing: adequate test coverage for new functionality
Documentation: code comments and README updates
3. Apply the Review Style
Be specific and constructive in feedback
Acknowledge good patterns and solutions
Ask clarifying questions when code intent is unclear
Focus on maintainability and readability improvements
Prioritize changes that improve security, performance, or user experience
Provide migration guides for significant changes; update version compatibility information
4. Check Deployment Requirements
Database migrations and rollback plans
Environment variable updates required
Feature flag configurations needed
Third-party service integrations updated
Documentation updates completed
5. Run the Review Passes
Security review — input validation vulnerabilities, authentication and authorization implementation, secure data handling and storage, hardcoded secrets or configuration issues, error handling that could leak information
Performance analysis — algorithmic complexity and efficiency, database query optimization opportunities, memory leaks or resource issues, caching strategies and network call efficiency, scalability bottlenecks
Code quality — readable, maintainable structure; adherence to team standards and style guides; function size, complexity, and single responsibility; naming conventions and code organization; error handling and logging practices
6. Format the Review Comments
Use this structure for consistent, helpful feedback:
Issue: what needs attention
Suggestion: specific improvement with a code example
Comments are specific, constructive, and formatted with issue/suggestion/why
Good patterns acknowledged; blocking issues clearly labeled
1---2name: pull-request-assistant3description: Generates comprehensive pull request descriptions and conducts structured code reviews with security, performance, testing, and documentation focus areas. Use when opening a PR or reviewing one before merge.4license: MIT5---67# The Pull Request Assistant89## Overview1011The Pull Request Assistant makes every PR self-documenting and every review constructive. Descriptions get what/why/testing/breaking-changes sections; reviews get security, performance, testing, and documentation passes; feedback is specific, actionable, and formatted so the team improves together. A PR is a contract between the author and the reviewers — the Assistant drafts it well and enforces it fairly.1213## When to Use1415- Writing a PR description that needs to be complete and reviewable16- Reviewing a PR across security, performance, testing, and documentation17- Checking deployment readiness: migrations, env vars, feature flags, docs18- Providing structured feedback that authors can act on1920## Process2122### 1. Write the PR Description23**What changed** — clear summary of modifications and affected components; link to related issues or tickets24**Why** — business context and requirements; technical reasoning for the approach taken25**Testing** — unit tests pass and cover new functionality; manual testing completed for user-facing changes; performance/security considerations addressed26**Breaking Changes** — list any API changes or behavioral modifications; include migration instructions if needed2728### 2. Review Focus Areas29- **Security**: hardcoded secrets, input validation, auth issues30- **Performance**: database query problems, inefficient loops31- **Testing**: adequate test coverage for new functionality32- **Documentation**: code comments and README updates3334### 3. Apply the Review Style35- Be specific and constructive in feedback36- Acknowledge good patterns and solutions37- Ask clarifying questions when code intent is unclear38- Focus on maintainability and readability improvements39- Prioritize changes that improve security, performance, or user experience40- Provide migration guides for significant changes; update version compatibility information4142### 4. Check Deployment Requirements43- [ ] Database migrations and rollback plans44- [ ] Environment variable updates required45- [ ] Feature flag configurations needed46- [ ] Third-party service integrations updated47- [ ] Documentation updates completed4849### 5. Run the Review Passes50**Security review** — input validation vulnerabilities, authentication and authorization implementation, secure data handling and storage, hardcoded secrets or configuration issues, error handling that could leak information51**Performance analysis** — algorithmic complexity and efficiency, database query optimization opportunities, memory leaks or resource issues, caching strategies and network call efficiency, scalability bottlenecks52**Code quality** — readable, maintainable structure; adherence to team standards and style guides; function size, complexity, and single responsibility; naming conventions and code organization; error handling and logging practices5354### 6. Format the Review Comments55Use this structure for consistent, helpful feedback:56- **Issue:** what needs attention57- **Suggestion:** specific improvement with a code example58- **Why:** the reasoning and benefits5960Label with emojis: 🔒 security concern, ⚡ performance, 🧹 cleanup/maintainability, 📚 documentation gap, ✅ positive acknowledgment, 🚨 blocks merge, 💭 clarification question.6162Always provide constructive feedback that helps the team improve together.6364## Red Flags6566- A PR description with no "why" — reviewers must guess the intent67- Reviews that only praise or only criticize68- Feedback without a concrete suggestion or example69- Missing deployment checklist on changes that need migrations or env vars70- Blocking the merge for style nits while security issues go unmentioned7172## Rationalizations7374| What you think | What The Pull Request Assistant knows |75|----------------|-----------------------------------------|76| "The code speaks for itself" | Code says what it does; it does not say why. The description carries the intent. |77| "I don't need to mention tests in the description" | The testing section is the merge decision in one glance. |78| "Negative feedback is what matters" | Acknowledged good patterns teach as much as flagged issues. Both belong in the review. |79| "Just approve it, the CI is green" | CI green is not review done. The security and deployment passes are yours. |8081## Verification8283The PR is ready when:8485- [ ] Description covers what changed, why, testing, and breaking changes86- [ ] Related issues are linked87- [ ] All four focus areas (security, performance, testing, documentation) were reviewed88- [ ] Deployment checklist addressed (migrations, env vars, feature flags, integrations, docs)89- [ ] Comments are specific, constructive, and formatted with issue/suggestion/why90- [ ] Good patterns acknowledged; blocking issues clearly labeled
Run npx skillmds@latest add fworks-tech/pull-request-assistant 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.
Generates comprehensive pull request descriptions and conducts structured code reviews with security, performance, testing, and documentation focus areas. Use when opening a PR or reviewing one before merge. It is listed under Security on SkillMD.
This skill has not completed SkillMD's automated safety review yet. 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. This skill is licensed under MIT.
fworks-tech (@fworks-tech) published this skill. Their other Agent Skills are listed on their SkillMD profile.