pr-review

Solid

Fix PR review comments by implementing requested changes

Code & Development 98 stars 12 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
66
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Fix PR Review Comments Fix PR review comments by implementing the requested changes. ## Usage ```bash /pr-review <PR_URL> # Review PR by URL (expects full GitHub URL) /pr-review <PR_NUMBER> # Review PR by number (expects number, e.g., 123) /pr-review # Auto-detect PR from current branch ``` ### ๐Ÿ“‹ Argument Handling The command accepts the PR identifier from `$ARGUMENTS`: 1. **PR URL**: Full GitHub PR URL (e.g., `https://github.com/owner/repo/pull/123`) 2. **PR Number**: Just the PR number (e.g., `123`) 3. **No Arguments**: Auto-detect the PR associated with the current Git branch If `$ARGUMENTS` is provided, use it as the PR identifier. Otherwise, auto-detect the current branch's PR using: ```bash gh pr view --json number,url -q '.number' ``` This extracts the PR number from the current branch's open PR for use in subsequent commands. If no open PR is found for the current branch, show this error: ```text Error: No open pull request found for the current branch. To review a specific PR: /pr-review <PR_URL> /pr-review <PR_NUMBER> Or create a PR first: gh pr create ``` ## Process 1. Parse `$ARGUMENTS` to determine PR identifier (URL, number, or auto-detect) 2. Fetch PR details and review comments using `gh` CLI 3. Parse review comments to understand what needs to be changed 4. For each comment, implement the fix 5. Run tests to ensure nothing breaks 6. Commit the changes ## Available Scripts ### Extract PR Comments The `extract-pr-...

Details

Author
jellydn
Repository
jellydn/my-ai-tools
Created
6 months ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content โ€” not just same category