
Load PR Comments
Use to load open/unresolved PR review comments then aggregate them as tasks in...
Install
npx skills add NeoLabHQ/context-engineering-kit --skill load-pr-comments -g -a claude-code -y- Repository
- NeoLabHQ/context-engineering-kit1.8k
- Category
- AI and agents
- Updated
- 2mo ago
- License
- GPL-3.0
- Context cost
- Mediumabout 2,026 tokens
- Runs scripts
- No, instructions only
What it does
Use to load open/unresolved PR review comments then aggregate them as tasks in .specs/comments/*.md for parallel agents to fix.
Load Unresolved PR Review Comments as Parallel Tasks
Load ONLY open/UNRESOLVED PR review threads and rewrite them into grouped markdown task files under .specs/comments/*.md, each safe for a separate parallel agent to implement with no overlap.
Critical Guidelines
- You MUST load ONLY threads where the resolved state is false. Skip resolved threads.
- You MUST rewrite each comment as an actionable TASK requirement, not a summary. Preserve substance (code suggestions, exact instructions) verbatim.
- You MUST NOT post, reply to, or modify anything on GitHub. This skill is read-only against the API.
- You MUST group comments so each file is independently implementable with NO duplication across files.
Step 0: Verify what tools are available
-
Check if GitHub CLI is installed and authenticated:
gh auth status -
Check if the GitHub MCP server is available:
mcp__MCP_DOCKER__pull_request_reador simular command without
MCP_DOCKERprefix, if installed directly.
- if both are available, use any that have enough accesses to the repository.
- if github mcp server avaiable but have different structure, adjust in order to fit the expected structure.
- if none is available, try to load directly through curl in case if it is public repository. If it is private, ask user to install GitHub CLI or GitHub MCP server.
- if MCP server not installed, but github cli is installed, but not authenticated, ask user to run
gh auth loginto authenticate.
Step 1: Resolve the Target PR
- An explicit PR argument ALWAYS takes precedence over current-branch resolution. If a PR number or URL was passed, use it (a URL like
https://github.com/{owner}/{repo}/pull/{n}→ number{n}) and do NOT consult the current branch. - Otherwise default to the PR of the CURRENT branch:
gh pr view --json number,url,headRefName # current branch's PR

