askill
pr-make-suggestion-to-pr

pr-make-suggestion-to-prSafety 90Repository

Create separate suggestion PRs from unstaged edits, each based on current PR branch. Use when: (1) User says 'suggestion to pr' or 'create suggestion PRs', (2) After /pr-make-suggestion-edit has left unstaged changes that need to be turned into separate PRs by topic.

6 stars
1.2k downloads
Updated 3/14/2026

Package Files

Loading files...
SKILL.md

PR Make Suggestion To PR

Create separate pull requests for each suggestion topic from the unstaged changes, with each PR based on the current PR branch.

Context

This command is typically used after /pr-make-suggestion-edit which leaves unstaged changes. These changes represent suggestions to improve the current PR, grouped by topic.

Process

Step 1: Analyze Unstaged Changes

  1. Check current branch and PR
  2. View all unstaged changes: git status, git diff --stat, git diff
  3. Analyze the changes and determine logical groupings

Step 2: Group Changes by Topic

Examples of topics:

  • Formatting errors
  • Type safety improvements
  • Refactoring for better patterns
  • Performance optimizations
  • Accessibility improvements

Present the groupings to the user for confirmation.

Step 3: Create Suggestion PRs

For each topic, create a separate PR:

  1. Create a new branch based on CURRENT branch (not base branch)

    git checkout -b suggest/[descriptive-topic-name] $ORIGINAL_BRANCH
    
  2. Selectively stage only files for this topic

  3. Create commit following project conventions

    git commit -m "suggest: [clear description]"
    
  4. Push and create PR targeting the original PR branch

    gh pr create --base $ORIGINAL_BRANCH --title "suggest: [title]"
    
  5. Return to original branch for next topic

Step 4: Verify and Report

List all created PRs and remaining unstaged changes.

Important Rules

Branch Strategy

  • Base suggestion PRs on the CURRENT PR branch (not on main/master)
  • Branch names should start with suggest/
  • This creates a chain: main <- original-pr <- suggestion-pr

Commit & PR Conventions

  • PR titles MUST start with suggest:
  • Follow project's commit message format
  • Follow project's PR format

Process

  • One topic = One PR (don't mix unrelated changes)
  • Stage only relevant files for each PR
  • Test that changes still work (type check if applicable)
  • Provide clear URLs to all created PRs

Notes

  • This command works with /pr-make-suggestion-edit as a pair
  • Each suggestion PR is independent and reviewable
  • The base PR maintainer can choose which suggestions to merge
  • After merging suggestions, they become part of the base PR

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

76/100Analyzed 3/15/2026

Well-structured skill documenting a specific PR workflow. Provides clear step-by-step instructions for creating suggestion PRs from unstaged changes, with proper branch strategy and conventions. The trigger section and structured commands make it actionable. Somewhat specialized to a particular workflow but logically complete. Minor gaps in error handling and edge cases.

90
85
60
72
80

Metadata

Licenseunknown
Version-
Updated3/14/2026
PublisherTakazudo

Tags

testing