Methodically work through GitHub pull request comments in a conversational workflow, analyzing each comment, presenting solution options, gathering your decisions, and implementing approved changes.
Methodically addresses GitHub PR comments through a conversational workflow, analyzing each comment, presenting solution options, and implementing approved changes.
/plugin marketplace add Uniswap/ai-toolkit/plugin install development-pr-workflow@uniswap-ai-toolkit<pr-number> OR <owner/repo> <pr-number>Methodically work through GitHub pull request comments in a conversational workflow, analyzing each comment, presenting solution options, gathering your decisions, and implementing approved changes.
/work-through-pr-comments <pr-number> # Work through comments on PR in current repo
/work-through-pr-comments <owner/repo> <pr-number> # Work through comments on PR in specific repo
This command implements a conversational, methodical workflow for addressing PR comments:
Fetch all PR-related data in parallel:
For each comment:
After processing all comments:
For each comment:
Always provide 2-3 options with:
Before offering to commit:
/work-through-pr-comments 154
š Analyzing PR #154 in Uniswap/ai-toolkit...
Found 3 comment(s) to address
================================================================================
š Comment 1/3
================================================================================
**Author**: Melvillian
**Type**: Inline code comment
**Location**: `scripts/lefthook/lint-markdown.sh:14`
**Comment**:
> security-nit: pin to `npx markdownlint-cli2@v1.18.1 --fix`
## š¤ My Analysis
The reviewer is raising a security concern about using `npx` without version pinning...
## š” Suggested Solutions
**Option A**: Pin to exact version in script
- ā
Pros: Clear version, reproducible builds
- ā Cons: Version duplication
**Option B**: Use locally installed version (`npm exec`)
- ā
Pros: Single source of truth
- ā Cons: Requires npm install first
**š My Recommendation**: Option B
How would you like to address this comment?
ā Option A
ā Option B
ā Custom
ā Skip