Install
$ agentstack add skill-mostafa-drz-claude-skills-address-pr-feedback ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Address PR Feedback
Comprehensive PR review workflow that fetches all comments, uses parallel agents for critical analysis, makes implementation decisions, then systematically addresses valid concerns with incremental commits and browser validation.
Preferences
On startup, use Read to load ~/.claude/skills/address-pr-feedback/preferences.md. If file doesn't exist, use defaults.
Context
On startup, use Bash to detect: current git branch, git status, repo name, and check for localhost development server. Skip any that fail.
Command routing
Check $ARGUMENTS:
help→ display help then stopconfig→ interactive setup then stopreset→ delete preferences file, confirm, stop- PR number/URL with optional flags → run the workflow
Help
Address PR Feedback — Systematic PR review implementation with agent validation
Usage:
/address-pr-feedback Process all PR feedback
/address-pr-feedback #123 --dry-run Analyze only, no changes
/address-pr-feedback #123 --auto-push Skip push confirmation
/address-pr-feedback #123 --no-browser Skip browser validation
/address-pr-feedback config Set preferences
/address-pr-feedback reset Clear preferences
/address-pr-feedback help This help
Examples:
/address-pr-feedback #123 Full workflow for PR 123
/address-pr-feedback https://github.com/owner/repo/pull/456
/address-pr-feedback #789 --dry-run --no-browser
Current preferences:
localhost-port: 3000 (or "auto-detect")
browser-validation: enabled (or "disabled")
auto-commit: true (or "false")
agent-analysis: parallel (or "sequential")
Config
Use AskUserQuestion to collect:
- Q1: Default localhost port — 3000, 3001, 4000, auto-detect
- Q2: Browser validation — Always validate, Skip for non-UI changes, Always skip
- Q3: Commit behavior — Auto-commit after each fix, Ask before each commit
- Q4: Agent analysis — Parallel (faster), Sequential (more thorough)
Save responses to ~/.claude/skills/address-pr-feedback/preferences.md.
Reset
Delete ~/.claude/skills/address-pr-feedback/preferences.md and confirm: "Preferences cleared. Using defaults."
First-time detection
If no preferences file exists, show:
> First time using /address-pr-feedback? Run /address-pr-feedback config to set defaults, or just continue with sensible defaults.
Then proceed with the workflow.
Workflow
1. Gather PR context
- Parse PR number/URL from
$ARGUMENTS - Use
gh pr view --repo --json comments,files,title,bodyto fetch all data - Check git status and current branch
- Validate we're in the right repository
2. Organize feedback table
Create table with all comments:
| # | Author | File:Line | Comment | |---|--------|-----------|---------| | 1 | reviewer1 | src/app.ts:42 | This function could be optimized... | | 2 | claude | README.md:15 | Missing installation steps |
Display table to user for visibility.
3. Deploy parallel agents
For each comment row:
- Spawn
Agentwith specific analysis prompt - Task: "Critically analyze this PR comment. Is it valid? What's the implementation effort? What are the risks if ignored?"
- Run all agents in parallel for efficiency
- Collect responses when complete
4. Collect agent analysis
Create enhanced table:
| # | Author | File:Line | Comment | Agent Opinion | Implementation Effort | |---|--------|-----------|---------|---------------|---------------------| | 1 | reviewer1 | src/app.ts:42 | This function... | Valid concern, performance impact | Medium - refactor needed | | 2 | claude | README.md:15 | Missing steps | Critical for users | Low - add 3 lines |
5. Make implementation decisions
Review agent analysis and decide what to address:
| # | Action | Reasoning | Change Summary | |---|--------|-----------|---------------| | 1 | ✅ Address | Performance critical, user-facing | Refactor function, add caching | | 2 | ✅ Address | Documentation gap blocks users | Add installation section | | 3 | ❌ Skip | Edge case, minimal value | N/A |
Ask user to confirm the implementation plan before proceeding.
6. Implement fixes incrementally
For each ✅ item:
- Make the change - Edit files as needed
- Validate syntax - Run
npm run typecheckor equivalent - Browser test - Navigate to localhost, verify the change works
- Clean commit -
git addandgit commit -m "fix: " - Progress update - Mark item complete, move to next
Stop and ask user if any change seems complex or risky.
7. Final verification & summary
- Complete browser test - Full app walkthrough on localhost
- Run all checks - TypeScript, ESLint, tests if available
- Summary table - Show what was completed
| Item | Status | Files Changed | Commit | |------|--------|---------------|--------| | Function optimization | ✅ Done | src/app.ts | abc1234 | | README updates | ✅ Done | README.md | def5678 |
8. Reply to comment threads
For each ✅ addressed item with a specific comment ID:
- Use GitHub API to add reply to the original comment thread
- NEVER edit original reviewer comments - always add replies
- Format:
gh api repos///pulls//comments --method POST --field body="✅ **FIXED** in commit [SHA](link)" --field in_reply_to= - One reply per comment thread showing exactly which commit addressed the feedback
9. Push changes
- Show
git log --oneline -nof new commits - Ask for push confirmation (unless
--auto-pushflag used) git push origin- Report success and suggest next actions (merge, request re-review)
Flag handling
--dry-run- Stop after step 5 (implementation decisions), don't make changes--auto-push- Skip final push confirmation in step 8--no-browser- Skip browser validation in step 6, only run syntax checks
Error handling
- No PR comments found - Report "No feedback to address" and exit gracefully
- Agent spawn failures - Continue with manual analysis for failed items
- Browser validation fails - Stop, show error, ask user how to proceed
- Git conflicts - Stop, guide user to resolve, offer to resume
Principles
- One commit per logical fix - Each addressed comment gets its own clean commit with descriptive message
- Always validate before proceeding - Browser test after every change, TypeScript check before commits
- Fail fast on complexity - If a change seems large or risky, stop and ask user for guidance
- Preserve agent analysis - Show tables throughout so user can see the reasoning behind decisions
- Non-destructive by default - Use
--dry-runto analyze first, then implement with full visibility - Never edit original reviewer comments - Always add replies to comment threads, never modify someone else's feedback
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mostafa-drz
- Source: mostafa-drz/claude-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.