From srnnkls-tropos
Review GitHub PRs with inline comments and structured summaries. Use when reviewing PRs via gh CLI.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-2 --plugin srnnkls-troposThis skill uses the workspace's default tool permissions.
Interactive GitHub PR review workflow: fetch PR, iterate findings with clarification, manage draft comments, submit when ready.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Interactive GitHub PR review workflow: fetch PR, iterate findings with clarification, manage draft comments, submit when ready.
Delegates to: code-review for methodology, code-implement for language guidelines.
Requires: gh-review extension (gh extension install srnnkls/gh-review)
owner/repo#N or just #NUse AskUserQuestion to gather configuration (see code-review for details):
gh pr view {pr} --repo {owner}/{repo} --json title,body,files,commits,additions,deletions
gh pr diff {pr} --repo {owner}/{repo}
gh api repos/{owner}/{repo}/pulls/{pr} --jq '.head.sha' # Get commit SHA
Fetch any pending review from previous session:
gh review comments {pr} -R {owner}/{repo} --mine --states=pending
If drafts exist, display them and offer to continue or discard.
gh issue view {issue} --repo {owner}/{repo} --json title,body
Detect language from file extensions:
gh pr view {pr} --repo {owner}/{repo} --json files --jq '.files[].path' | \
sed 's/.*\.//' | sort | uniq -c | sort -rn
Load review methodology:
code-review - Generic review process and checklistLoad language guidelines:
~/.claude/skills/code-implement/resources/loqui/languages/{language}/* - Load language-specific resources based on file extensionsCompare against:
For each potential issue identified:
AskUserQuestion with multiSelect:
For each confirmed finding, add to pending review:
gh review add {pr} -R {owner}/{repo} -p {file_path} -l {line} -b "{comment_body}"
For multi-line comments:
gh review add {pr} -R {owner}/{repo} -p {file_path} -l {end_line} --start-line {start_line} -b "{comment_body}"
To update an existing draft:
gh review edit {pr} -R {owner}/{repo} -c {comment_id} -b "{updated_body}"
To remove a draft:
gh review delete {pr} -R {owner}/{repo} -c {comment_id}
Use AskUserQuestion to determine action:
Options:
To submit:
gh review submit {pr} -R {owner}/{repo} -v {approve|request_changes|comment} -b "{summary}"
To discard and start fresh:
gh review discard {pr} -R {owner}/{repo}
gh reviewPRRC_kwDOABC123) - get with --ids flag| Command | Description |
|---|---|
comments | List PR comments with filtering (--mine, --states) |
view | View review threads hierarchically |
add | Add draft comment to pending review |
edit | Update existing draft comment |
delete | Remove draft comment |
submit | Submit review with verdict |
discard | Delete pending review |
gh review --helpgh pr review --help