Update

Use this skill when the user asks to update a PR description, refresh PR body, or sync PR details based on branch changes. Triggered by phrases like "update PR#N desc", "refresh the PR description", or "update PR based on branch changes".

1shooperman b6885d8 1.4 KB Updated

File contents

Arguments

The user invoked this with: $ARGUMENTS

Parse the PR number from $ARGUMENTS. If no number is given, use the PR associated with the current branch:

gh pr view --json number -q .number

If no PR exists, tell the user and stop.

Instructions

  1. Fetch the current PR metadata:

    gh pr view <N> --json title,number,url
    
  2. Spin up all four agents in parallel:

    • agent-change-summarizer — produces ## Summary and ## Components
    • agent-security-auditor — produces ## Security
    • agent-test-planner — produces ## Test plan
    • agent-sdet — writes any missing tests/**/test-*.sh files; returns a brief summary (not a PR body section)
  3. Assemble the final PR body in this order:

    ## Summary
    <from agent-change-summarizer>
    
    ## Components
    <from agent-change-summarizer, omit if empty>
    
    ## Security
    <from agent-security-auditor>
    
    ## Test plan
    <from agent-test-planner>
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
  4. Update the PR:

    gh pr edit <N> --body "..."
    
  5. Output the PR URL.

1shooperman/shooperman-claude-plugins/tree/main/plugins/custom-plugin-tools/skills/update commit b6885d8f35

Frequently asked questions

npx skillmds@latest add 1shooperman/update