homedir/.claude/skills/review-pr/SKILL.md
Review a PR by comparing the Jira ticket requirements against the actual implementation. Only use when working in a project whose path contains "kontrakcja".
npx skillsauth add joncol/dotfiles review-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review a pull request by comparing what the Jira ticket requires against what was actually implemented.
Fetch the Jira ticket by invoking the /jira skill (no arguments — let it auto-detect from the current bookmark). Read and internalize the ticket summary, description, acceptance criteria, and any relevant comments.
Determine the PR:
$ARGUMENTS is provided, use it as the PR number.jj log -r 'latest(bookmarks() & ancestors(@) & ~ancestors(trunk()))' --no-graph -T 'bookmarks'
Then use the bookmark name with gh pr view to resolve the PR number.Fetch the PR diff and metadata:
gh pr view <PR> --json number,title,body,baseRefName,headRefName,url
gh pr diff <PR>
Read the changed files to understand the full implementation context. Don't rely solely on the diff — read the complete files (or relevant sections) when needed to understand the change in context.
Compare requirements vs implementation and present a structured review:
Keep the review concise and actionable. Focus on whether the PR fulfills the ticket, not on style nitpicks.
tools
Copy the last code snippet or message to the system clipboard
development
List and delete old Claude Code sessions. Shows all sessions with dates and summaries, and lets the user pick which ones to remove.
documentation
Fetch and display GitHub PR review comments for the current branch or a given PR number. Only use when working in a project whose path contains "kontrakcja".
data-ai
Fetch Jira issue details for the current branch or a given issue key. Only use when working in a project whose path contains "kontrakcja".