Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    GitHub Pull Request Description Writer

    by Saizul Amin

    1

    Draft structured pull request descriptions and run automated self-review checks directly from your git diff.

    Free

    Security scanned
    GitHub Pull Request Description Writer

    GitHub Pull Request Description Writer

    Example session with this skill installed

    Run the Pull Request Description Writer skill on my project and give me a prioritised list of what to fix, with exact changes.

    • Read your context and instructions
    • Compiled the github pull request

    Here is what the Pull Request Description Writer skill produced.

    Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.

    Output

    
    ## Summary
    
    <!-- One or two sentences: what changes and why. -->
    
    ## Changes
    
    - **source**: `src/p.py`
    
    1 files, +1 / -0 lines.
    
    ## How to test
    
    1. <!-- exact commands or steps -->
    
    ## Risk and rollout
    
    - <!-- low / medium / high, and why; rollback plan -->
    
    ## Checklist
    
    - [ ] Tests added or updated
    - [ ] Docs / changelog updated if behaviour changed
    - [ ] No debug output, focused tests or secrets
    

    What you do next

    1. Fix the highest-severity items first.
    2. Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
    3. Keep the skill installed and re-run it whenever the project changes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manual PR creation is a tedious process of hunting through diffs and commit logs to explain your work. This skill automates the synthesis of pull request metadata by analyzing your branch diff and running a pre-flight self-review to catch common mistakes before they hit CI or a human reviewer.

    What it does

    • Drafts PR metadata by generating concise, descriptive titles and structured bodies from your actual code changes.
    • Groups changes by area such as source, tests, documentation, migrations, and CI config to give reviewers better context.
    • Runs a self-review scan that flags debug statements, focused tests, conflict markers, and uncommitted manifest changes.
    • Detects secrets by scanning for potential keys or credentials (masked in output) before you push them to the server.
    • Enforces repo standards by locating and populating existing PR templates from .github or docs directories.

    How it works

    1. Analyze the diff using pr_diff_summary.py to compare your current head against the base branch.
    2. Review blockers to identify and fix high-priority flags like it.only or leftover merge conflict markers.
    3. Determine intent by reading key files and asking for the "why" behind the logic if not evident in commits.
    4. Generate the PR following either the repository's template or a standard professional structure.
    5. Verify the checklist to confirm test coverage, documentation updates, and migration safety.

    Frameworks & tools

    This skill utilizes a Python 3.8+ script that interfaces with standard git commands. It is compatible with GitHub CLI (gh) and GitLab CLI (glab) for final PR submission.

    Why this beats prompting it yourself

    Generic prompts often hallucinate changes or miss small, critical files like lockfiles and migrations. This skill uses a specialized read-only script to extract ground-truth facts from the git tree, ensuring your PR description matches the actual code.

    Use cases

    • Summarizing complex branches for a teammate who has not seen the work.
    • Pre-submission auditing to find forgotten console.log or debugger statements.
    • Formatting branch changes into a standard repo PR template automatically.
    • Evaluating if a diff is too large and needs to be split before review.

    Known limitations

    Does not perform deep logic or architectural code reviews. Requires a local git installation and Python 3.8+. Only analyzes local or fetched branch data; does not push code without permission.


    Open source: saizul/git-workflow-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.

    Requires local git and Python 3.8+. Read-only analysis; does not push or call APIs without explicit user confirmation. Does not perform architectural or bug-finding reviews.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    This skill automates the creation of structured PR descriptions by analyzing your git diff and runs a 'pre-flight' scan to catch issues like debug statements or exposed secrets before they reach a human reviewer.

    The skill is compatible with any AI agent that can execute Python 3.8+ scripts and has access to a local Git environment, including popular tools that interface with GitHub CLI (gh) and GitLab CLI (glab).

    Your purchase includes the core Python automation script, integration instructions for your AI agent, and pre-configured templates for generating professional, structured pull request metadata.

    Yes, the skill automatically detects and populates existing PR templates located in `.github` or `docs` directories to ensure your descriptions always meet repository-specific standards.

    Security is a priority; the skill scans for potential credentials and masks them in the output, and it operates entirely on your local branch data without pushing code unless you explicitly authorize the action.

    The skill focuses on diff analysis and metadata synthesis; it does not perform deep architectural reviews or execute your code, so it serves as a supplement to, rather than a replacement for, human logic review.

    New in Code Quality & Review

    Free