brainstorm
Use before any creative work or significant changes. Activates on "brainstorm", "let's brainstorm", "deep analysis", "analyze this feature", "think through",…
Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or issue comment. Use when user asks to review a PR, check a PR, look at PR changes, or comment on an issue.
$ npx -y skills add umputun/cc-thingz --skill pr --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/prContext preview
The summary Claude sees to decide when to auto-load this skill.
Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or issue comment. Use when user asks to review a PR, check a PR, look at PR changes, or comment on an issue.
name: pr description: Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or issue comment. Use when user asks to review a PR, check a PR, look at PR changes, or comment on an issue. argument-hint: '<pr-or-issue-number>' allowed-tools: Bash, Read, Grep, Glob, Write, Skill, AskUserQuestion, Task
Comprehensive pull request review that analyzes code quality, architecture, test coverage, and identifies scope creep (unrelated changes mixed into the PR).
1. Fetch PR metadata + discussion history + merge status 1.5. Ask review mode: Full (default) or Quick --- Full path --- 2. Setup worktree, launch subagent for deep analysis (read files, validate, architecture, scope creep, cleanup) 3. Present condensed findings from subagent, ask to proceed 4. Resolve open questions (if any) 5. Draft review comment --- Quick path --- Q1. Read diff inline, summarize what/why/size Q2. Flag obvious issues from diff Q3. Draft review comment
Determine if the target is a PR or an issue. If a URL is provided, check if it contains `/pull/` or `/issues/`. If just a number, detect type:
gh pr view <number> --json number 2>/dev/null && echo "PR" || echo "ISSUE"
For issues, skip worktree/diff/architecture analysis. Focus on understanding the issue and drafting a helpful comment.
1. **Fetch issue details and discussion**:
gh issue view <number> --json title,body,author,state,labels,comments,createdAt
2. **Read the full discussion** - understand what was reported, what others said, whether there are linked PRs
3. **Investigate the codebase** if the issue references specific code, files, or behavior:
4. **Draft a comment** addressing the issue - could be: analysis of root cause, a proposed approach, questions for clarification, or acknowledgment with next steps
5. **Post as a regular comment** (not a review):
cat > /tmp/issue-comment.md << 'COMMENT_END' <comment content> COMMENT_END gh issue comment <number> --body-file /tmp/issue-comment.md
Use AskUserQuestion before posting:
question: "Post this comment to issue #<number>?" header: "Comment" options: - Post (post as shown above) - Edit (tell me what to change) - Cancel (discard draft)
After posting → done. No worktree cleanup needed for issues.
---
Get PR number from $ARGUMENTS. If not provided, list recent PRs and ask user to select:
# if no PR number provided, list recent PRs gh pr list --limit 5 --state all # get PR details gh pr view <number> --json title,body,additions,deletions,changedFiles,files,author,state,headRefName # get all comments (PR comments and review comments) gh pr view <number> --json comments,reviews
Capture:
Before reviewing, understand what has already been discussed:
# get PR comments (general discussion)
gh api repos/{owner}/{repo}/issues/<number>/comments --jq '.[] | "[\(.user.login)] \(.body)"'
# get review comments (inline code comments)
gh api repos/{owner}/{repo}/pulls/<number>/comments --jq '.[] | "[\(.user.login) on \(.path):\(.line)] \(.body)"'
# get reviews with their state (approved, changes_requested, commented)
gh api repos/{owner}/{repo}/pulls/<number>/reviews --jq '.[] | "[\(.user.login) - \(.state)] \(.body)"'Summarize discussion:
**Check automated reviews (Copilot, etc.)**: Read any automated review comments - they can have valuable findings. If Copilot or other bots flagged real issues, verify them and include in your review if valid. Don't dismiss automated feedback just because it's automated.
**CRITICAL - Check for inline suggestions:**
# get inline review comments (where actual suggestions live)
gh api repos/{owner}/{repo}/pulls/<number>/comments --jq '.[] | "[\(.user.login) on \(.path):\(.line // .original_line)]\n\(.body)\n---"'Look specifically for:
The review body is often just a summary. The **inline comments** are where the real feedback is.
**Important**: Do not re-raise issues that were already discussed and resolved. Focus on new findings or unaddressed concerns.
Check if PR is mergeable and CI status:
gh pr view <number> --json mergeable,mergeStateStatus,statusCheckRollup
Report:
If PR has conflicts or is behind, note this early - it may explain "deletions" in the diff that are actually just missing commits from the base branch.
Print summary:
PR #
Things to make Claude Code even better — hooks, skills, and commands, organized as a marketplace of independent plugins. This is an unapologetically opinionated set.
Use before any creative work or significant changes. Activates on "brainstorm", "let's brainstorm", "deep analysis", "analyze this feature", "think through",…
Execute plan tasks sequentially using subagents. Use when user says 'exec', 'execute plan', 'run plan', or wants to implement a plan file task by task with…
Show commits since the last tag in a formatted table. Use when user asks "what changed since last release", "commits since last tag", "last-tag", "what's new",…
Use when user asks to create a release, cut a release, or publish a version. Auto-detects GitHub vs GitLab vs Gitea, calculates semantic version, generates…
Interactive git diff annotation review. Generates a cleaned-up diff, opens in editor for user annotations, and addresses feedback in a loop. Activates on "git…
Use for technical communication - GitHub/GitLab tickets, PR/MR descriptions, issue comments, code review comments, commit messages. Direct, brief style with no…