github
GitHub workflow patterns using the gh CLI for PRs and repository automation.
Developer Setup
Setup & Installation
npx skills add https://github.com/callstackincubator/agent-skills --skill githubnpx skills add https://github.com/callstackincubator/agent-skills --skill githubOverview
What This Skill Does
Provides commands and step-by-step guides for managing Pull Requests, resolving stacked PR conflict states, and executing squash merges using the GitHub CLI.
Application
When to use this Skill
- Automating standard pull request lifecycle tasks (creation, check monitoring, and merging) directly from the terminal.
- Implementing clean stacked pull request branches where changes target parent branches instead of main.
- Rebasing and squashing chains of dependent pull requests iteratively to maintain clean commit history.
- Lowering context overhead by preferring native command-line tooling over external web dashboard interfaces.
- Resolving conflicts between stacked PR steps before finalizing code reviews.
Documentation
Show Skills.md file
GitHub Patterns
Tools
Use gh CLI for all GitHub operations. Prefer CLI over GitHub MCP servers for lower context usage.
Quick Commands
# 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>
Stacked PR Workflow Summary
When merging a chain of stacked PRs (each targeting the previous branch):
- Merge the first PR into main via squash merge
Recommendations
Explore other random skills
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).