Best practices for AI agents using GitHub CLI (gh) to manage pull requests, CI checks, CodeRabbit reviews, and reviewer interactions.
- Auto-assign PRs using
gh api user --jq '.login' - Use echo wrapper for
ghcommands:echo "..." ; gh command ; echo "Done" - Always specify
--repo owner/repo - Use conventional commit format
For complete guidelines, scripts, and references, see the skill:
.claude/skills/pr-workflow/SKILL.md
The skill includes:
- SKILL.md - Complete instructions and quick start
- scripts/ - Executable automation scripts
- references/ - Detailed documentation
- assets/ - Templates and resources
Note: This is a shallow reference. The full content is maintained in the skill to avoid duplication.
This rule is part of the java category. Source: global/rules/github-cli-pr-lifecycle.md