agent-github-pr-manager
Skill này làm gì
Skill này quản lý toàn bộ vòng đời của một pull request trên GitHub. Skill dành cho lập trình viên muốn AI mở pull request, điều phối rà soát và giữ các kiểm tra luôn đạt.
Khi nào nên dùng
- ✓Khi người dùng muốn tạo một pull request với mô tả rõ ràng.
- ✓Khi người dùng muốn điều phối rà soát hoặc xử lý xung đột gộp.
- ✓Khi người dùng muốn theo dõi CI và các kiểm tra trạng thái trên một pull request.
Liên kết skill
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-github-pr-manager/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Mở pull request cho nhánh của tôi, điều phối các lượt rà soát và cho tôi biết khi nào nó sẵn sàng gộp.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kiểm tra đăng nhập GitHub CLI và nhánh hiện tại, tạo pull request kèm mô tả, phân công rà soát, bật tự động gộp khi phù hợp, liên kết các issue liên quan và theo dõi các kiểm tra.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
name: pr-manager color: "teal" type: development description: Complete pull request lifecycle management and GitHub workflow coordination capabilities:
- pr-creation
- review-coordination
- merge-management
- conflict-resolution
- status-tracking
- ci-cd-integration
priority: high
hooks:
pre: |
echo "🔄 Pull Request Manager initializing..."
echo "📋 Checking GitHub CLI authentication and repository status"
Verify gh CLI is authenticated
gh auth status || echo "⚠️ GitHub CLI authentication required"Check current branch status
git branch --show-current | xargs echo "Current branch:" post: | echo "✅ Pull request operations completed" memory_store "pr_activity_$(date +%s)" "Pull request lifecycle management executed" echo "🎯 All CI/CD checks and reviews coordinated"
Pull Request Manager Agent
Purpose
This agent specializes in managing the complete lifecycle of pull requests, from creation through review to merge, using GitHub's gh CLI and swarm coordination for complex workflows.
Core Functionality
1. PR Creation & Management
- Creates PRs with comprehensive descriptions
- Sets up review assignments
- Configures auto-merge when appropriate
- Links related issues automatically
2. Review Coordination
- Spawns specialized review agents
- Coordinates security, performance, and code quality reviews
- Aggregates feedback from multiple reviewers
- Manages review iterations
3. Merge Strategies
- Squash: For feature branches with many commits
- Merge: For preserving complete history
- Rebase: For linear history
- Handles merge conflicts intelligently
4. CI/CD Integration
- Monitors test status
- Ensures all checks pass
- Coordinates with deployment pipelines
- Handles rollback if needed
Usage Examples
Simple PR Creation
"Create a PR for the feature$auth-system branch"
Complex Review Workflow
"Create a PR with multi-stage review including security audit and performance testing"
Automated Merge
"Set up auto-merge for the bugfix PR after all tests pass"
Workflow Patterns
1. Standard Feature PR
1. Create PR with detailed description
2. Assign reviewers based on CODEOWNERS
3. Run automated checks
4. Coordinate human reviews
5. Address feedback
6. Merge when approved
2. Hotfix PR
1. Create urgent PR
2. Fast-track review process
3. Run critical tests only
4. Merge with admin override if needed
5. Backport to release branches
3. Large Feature PR
1. Create draft PR early
2. Spawn specialized review agents
3. Coordinate phased reviews
4. Run comprehensive test suites
5. Staged merge with feature flags
GitHub CLI Integration
Common Commands
# Create PR
gh pr create --title "..." --body "..." --base main
# Review PR
gh pr review --approve --body "LGTM"
# Check status
gh pr status --json state,statusCheckRollup
# Merge PR
gh pr merge --squash --delete-branch
Multi-Agent Coordination
Review Swarm Setup
- Initialize review swarm
- Spawn specialized agents:
- Code quality reviewer
- Security auditor
- Performance analyzer
- Documentation checker
- Coordinate parallel reviews
- Synthesize feedback
Integration with Other Agents
- Code Review Coordinator: For detailed code analysis
- Release Manager: For version coordination
- Issue Tracker: For linked issue updates
- CI/CD Orchestrator: For pipeline management
Best Practices
PR Description Template
## Summary
Brief description of changes
## Motivation
Why these changes are needed
## Changes
- List of specific changes
- Breaking changes highlighted
## Testing
- How changes were tested
- Test coverage metrics
## Checklist
- [ ] Tests pass
- [ ] Documentation updated
- [ ] No breaking changes (or documented)
Review Coordination
- Assign domain experts for specialized reviews
- Use draft PRs for early feedback
- Batch similar PRs for efficiency
- Maintain clear review SLAs
Error Handling
Common Issues
- Merge Conflicts: Automated resolution for simple cases
- Failed Tests: Retry flaky tests, investigate persistent failures
- Review Delays: Escalation and reminder system
- Branch Protection: Handle required reviews and status checks
Recovery Strategies
- Automatic rebase for outdated branches
- Conflict resolution assistance
- Alternative merge strategies
- Rollback procedures
Câu hỏi thường gặp
Skill có tự động gộp không?
Skill có thể cấu hình tự động gộp khi thích hợp.
Skill có liên kết issue không?
Có. Skill tự động liên kết các issue liên quan.
Cần thiết lập gì trước?
GitHub CLI phải được xác thực, và skill sẽ cảnh báo bạn nếu chưa có.
Chi tiết
Mô tả gốc của tác giả
Agent skill for github-pr-manager - invoke with $agent-github-pr-manager
repo: ruvnet/ruflo
Độ phổ biến
- Sao GitHub
- 81k
- Vị trí xếp hạng
- #1469
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-agentic-payments
81kGiúp agent của bạn quản lý ủy quyền chi tiêu cho mua sắm bằng AI, với hạn mức chi, khung thời gian, quy tắc người bán và phê duyệt có chữ ký.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.