fix-pr-comments
Fetch PR review comments and implement all requested changes
Best use case
fix-pr-comments is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Fetch PR review comments and implement all requested changes
Teams using fix-pr-comments should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/fix-pr-comments/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How fix-pr-comments Compares
| Feature / Agent | fix-pr-comments | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Fetch PR review comments and implement all requested changes
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Fix PR Comments
Systematically address ALL unresolved review comments until PR is approved.
## Context
- Current branch: !`git branch --show-current`
- Working tree status: !`git status --short`
- Recent commits: !`git log --oneline -3`
## Workflow
1. **FETCH COMMENTS**:
- Identify PR: `gh pr status --json number,headRefName`
- Get reviews: `gh pr review list --state CHANGES_REQUESTED`
- Get inline: `gh api repos/{owner}/{repo}/pulls/{number}/comments`
- Capture BOTH review comments AND inline code comments
- STOP if no PR found - ask user for PR number
2. **ANALYZE & PLAN**:
- Extract exact file:line references
- Group by file for MultiEdit efficiency
- STAY IN SCOPE: NEVER fix unrelated issues
- Create checklist: one item per comment
3. **IMPLEMENT FIXES**:
- BEFORE editing: ALWAYS `Read` target file first
- Batch changes with `MultiEdit` for same-file modifications
- Make EXACTLY what reviewer requested
- Check off each resolved comment
4. **COMMIT & PUSH**:
- Stage: `git add -A`
- Commit: `fix: address PR review comments`
- Push: `git push`
- NEVER include co-author tags
## Rules
- Every unresolved comment MUST be addressed
- Read files BEFORE any edits - no exceptions
- FORBIDDEN: Style changes beyond reviewer requests
- On failure: Return to ANALYZE phase, never skip comments
User: $ARGUMENTSRelated Skills
fix-grammar
Fix grammar and spelling errors in one or multiple files while preserving formatting
symfony-framework
Comprehensive Symfony 6.4 development skill for web applications, APIs, and microservices.
symfony:make
Cherche si il existe un maker Symfony pour faire la tache demandée et l'utilise si il existe. Si aucun maker n'existe alors utilise la slash command "/prepare"
phpstan-resolver
Résout automatiquement les erreurs PHPStan en analysant et corrigeant les problèmes de types. Boucle jusqu'à zéro erreur ou stagnation.
elegant-objects
Vérifie la conformité du code PHP aux principes Elegant Objects de Yegor Bugayenko. Analyse un fichier spécifique ou tous les fichiers modifiés dans la branche.
prompt:validate
Vérifie la checklist avant exécution et liste les oublis
prompt:transform
Transforme un prompt en prompt exécutable compatible avec le Task Management System (TaskCreate/TaskUpdate/TaskList)
prompt:team
Orchestre une équipe d'agents spécialisés pour les tâches complexes. Auto-détecte le type, compose l'équipe, coordonne les phases analyse → challenge → implémentation → QA.
prompt:start
Démarre un développement avec un starter léger puis active le mode plan
apex
Systematic implementation using APEX methodology (Analyze-Plan-Execute-eXamine) with parallel agents, self-validation, and optional adversarial review. Use when implementing features, fixing bugs, or making code changes that benefit from structured workflow.
fix-errors
Fix all ESLint and TypeScript errors with parallel processing using snipper agents
prompt-creator
Expert prompt engineering for creating effective prompts for Claude, GPT, and other LLMs. Use when writing system prompts, user prompts, few-shot examples, or optimizing existing prompts for better performance.