skills.vishalvoidskills/vishalvoid
Technical & DevelopmentBeginner

github

GitHub workflow patterns using the gh CLI for PRs and repository automation.

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/callstackincubator/agent-skills --skill github

Overview

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

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):

  1. Merge the first PR into main via squash merge
Lines 1 - 25 of 51

Recommendations

Explore other random skills

All skillsMy patterns