From callstackincubator-agent-skills-5
Uses gh CLI for GitHub PR creation, squash/rebase merges, stacked PR workflows, branching strategies, and repo automation. For PR management and merging tasks.
npx claudepluginhub callstackincubator/agent-skills --plugin react-native-brownfield-migrationThis skill uses the workspace's default tool permissions.
Use `gh` CLI for all GitHub operations. Prefer CLI over GitHub MCP servers for lower context usage.
Guides Git operations with conventional commits, PR workflows, squash merges, branch management, and conflict resolution. Useful for version control tasks like commits, branches, and pull requests.
Guides Git branch management and GitHub PR workflows using main-branch development, modern git switch/restore commands, and MCP tools for creating, listing, and updating PRs.
Automates GitHub workflows: branching with conventional names, committing with conventional messages, pushing, pull requests, issues, and code reviews using git and gh CLI. Use for git operations like commit, push, PRs, branches, issues.
Share bugs, ideas, or general feedback.
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 |