From awesome-react-native-skills
GitHub patterns using gh CLI for pull requests, stacked PRs, code review, branching strategies, and repository automation. Use when working with GitHub PRs, merging strategies, or repository management tasks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/awesome-react-native-skills:githubThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use `gh` CLI for all GitHub operations. Prefer CLI over GitHub MCP servers for lower context usage.
Use gh CLI for all GitHub operations. Prefer CLI over GitHub MCP servers for lower context usage.
# Create a PR from the current branch
gh pr create --title "feat: add feature" --body "Description"
# Squash-merge a PR
gh pr merge <PR_NUMBER> --squash --title "feat: add feature (#<PR_NUMBER>)"
# View PR status and checks
gh pr status
gh pr checks <PR_NUMBER>
When merging a chain of stacked PRs (each targeting the previous branch):
# Rebase next PR's branch onto main, excluding already-merged commits
git rebase --onto origin/main <old-base-branch> <next-branch>
git push --force-with-lease origin <next-branch>
gh pr edit <N> --base main
gh pr merge <N> --squash --title "<PR title> (#N)"
See stacked-pr-workflow.md for full step-by-step details.
| File | Description |
|---|---|
| stacked-pr-workflow.md | Merge stacked PRs into main as individual squash commits |
| Problem | Start With |
|---|---|
| Merge stacked PRs cleanly | stacked-pr-workflow.md |
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub maikotrindade/awesome-react-native-skills --plugin awesome-react-native-skills