Skills

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
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

  1. Check if GitHub CLI is installed and authenticated:

    gh auth status
    
  2. Check if the GitHub MCP server is available:

    mcp__MCP_DOCKER__pull_request_read
    

    or simular command without MCP_DOCKER prefix, 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 login to 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
Read the whole SKILL.md on GitHub

More in AI and agents