pr-info
PR Info Skill
Fetches comprehensive PR information from GitHub, handling repo detection and all comment sources automatically.
This skill solves all of these by using a tested wrapper script.
Quick Usage (preferred)
Run the helper script from the project directory:
# Basic: overview + reviews + all comments
~/.claude/scripts/gh-pr-info.sh <PR_NUMBER>
# With diff included
~/.claude/scripts/gh-pr-info.sh <PR_NUMBER> --diff
# From a different repo path
~/.claude/scripts/gh-pr-info.sh <PR_NUMBER> --repo-path /path/to/repo
The script auto-detects owner/repo from the current git context. No need to
hardcode repository paths.
Manual Commands (when script is unavailable)
If you need to run individual commands, always detect the repo first:
# Step 1: detect repo (MANDATORY before any gh api call)
REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
# Step 2: use $REPO in API paths
gh api "repos/$REPO/pulls/<N>/reviews" --paginate
gh api "repos/$REPO/pulls/<N>/comments" --paginate # inline comments
gh api "repos/$REPO/issues/<N>/comments" --paginate # conversation comments
Three Comment Sources
| Endpoint | What it contains |
|---|---|
pulls/<N>/reviews |
Review verdicts (APPROVED, CHANGES_REQUESTED, COMMENTED) with optional body |
pulls/<N>/comments |
Inline comments on specific code lines (path + line number) |
issues/<N>/comments |
General conversation comments on the PR discussion tab |
More from nicolas-codemate/claudecodeconfig
architect
Software architecture skill for designing high-quality implementation plans. Provides universal patterns, quality checklists, and architectural guidelines. Use during planning phase to ensure plans are well-structured, atomic, and follow best practices.
25aep
Analyse-Explore-Plan methodology for thorough analysis and planning before development. Use when starting a new feature, investigating a problem, or needing to understand a codebase before making changes. Provides structured workflow with parallel exploration agents and clarification questions. Integrates with Architect skill for high-quality implementation plans.
1mentor-workflow
Coaching workflow orchestrator. Guides the developer through implementation without writing code.
1create-pr
>-
1analyze-ticket
Skill for analyzing ticket complexity and determining required workflow phases. Uses scoring system to classify tickets as SIMPLE, MEDIUM, or COMPLEX, which determines exploration depth and planning approach.
1mcp-tool-creator
>-
1