Slash Command80 estrellas del repoactualizado 1mo ago
fix-pr
Fetch and resolve unresolved PR comments
Instalar en Claude Code
Copiarmkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Weaverse/.agents/HEAD/commands/fix-pr.md -o ~/.claude/commands/fix-pr.mdDespués abre una sesión nueva de Claude Code; el slash command carga automáticamente.
Definición
fix-pr.md
# Fix PR Comments Fetch unresolved comments from this branch's pull request and address them systematically. ## Process 1. **Fetch PR Information** ```bash # Get PR number for current branch gh pr view --json number,url,title,reviews,comments ``` 2. **List Unresolved Comments** - Use `gh pr view --comments` to see all comments - Filter for unresolved/pending comments - Identify line-specific code review comments 3. **Address Each Comment** For each unresolved comment: - Read the relevant file and context - Understand the reviewer's concern - Implement the requested fix - Add a reply comment confirming the fix 4. **Verify Changes** - Run formatters and linters - Ensure tests still pass - Commit changes with reference to comment 5. **Update PR** ```bash git push origin HEAD gh pr comment <pr-number> --body "Addressed review comments" ``` ## Output Format For each comment addressed: ``` ✓ Comment #X (file:line): [brief description] - Issue: [what was requested] - Fix: [what was changed] - Files: [list of modified files] ``` ## Error Handling - If no PR exists for current branch, inform user - If gh CLI not installed, suggest installation - If unable to fetch comments, show error and suggest manual check
Del mismo repositorio
create-prSlash Command
Create PR from current or specified branch
create-taskSlash Command
Create a GitHub issue with project board integration
explainSlash Command
Explain recent code changes in simple terms a junior dev can understand
formatSlash Command
Auto-format code and fix TypeScript issues
handoffSkill
Capture current work context for handoff to another agent/developer. Gathers git state, todos, and modified files into a structured handoff document saved to the related spec folder.
review-changesSlash Command
Review uncommitted changes and suggest improvements
shipSlash Command
Create a release PR to main with version bump and draft a GitHub release
ultrathinkSlash Command
Deep analysis and multi-dimensional problem solving