From mcollina-skills-1
Handles git and GitHub operations using gh CLI. Activates on any github.com URL for issues, PRs, commits, actions, repos, and more.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mcollina-skills-1:octocatThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill for:
Use this skill for:
github.com URL, even without words like "GitHub", "issue", "PR", or "repo"When invoked:
gh/git firstgithub.com URL, activate this skill immediately and translate that URL into the relevant gh/git workflowFix https://github.com/mercurius-js/mercurius/issues/1227Review https://github.com/nodejs/node/pull/12345What changed in https://github.com/org/repo/compare/v1.0.0...v1.1.0?Check https://github.com/org/repo/actions/runs/123456789Investigate https://github.com/org/repo/commit/abcdef1234567890Advanced git operations:
GitHub operations via gh CLI:
gh pr create --base main --head <branch> --title "<title>" --body-file <file>gh pr checks <num> --watch 2>&1 and proactively fix failuresgh help <command> before using them in guidanceWhen creating PRs with gh pr create, use --body-file to avoid newline escaping issues with the --body flag.
PR descriptions should stay simple:
## Summary or ## Testingcat > /tmp/pr-body.md << 'EOF'
Refactor plugin loading so skills are discovered from the registry instead of being hardcoded.
EOF
gh pr create --body-file /tmp/pr-body.md
Using a temporary file is cleaner, more reliable, and easier to debug.
Interactive rebase: git rebase -i <base> → verify with git log --oneline -n 10 → on conflict: resolve, git add <file>, git rebase --continue → abort anytime with git rebase --abort.
Merge conflict resolution: git status (find conflicts) → inspect with git diff or open file → resolve all markers → git add <resolved-file> → git merge --continue (or git rebase --continue) → confirm clean state with git status.
Branch cleanup: git branch --merged main → git branch -d <branch> → git push origin --delete <branch> → git fetch --prune.
user.signingkey) or signing mode in user/repo confignpx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin mcollina-skills-1Provides gh CLI patterns for PR creation, stacked PRs, squash/rebase merging, branching, and repository automation. Use when managing GitHub PRs or merging strategies.
Automates GitHub workflow: branching, committing, pushing, PRs, issues, and code review. Use when managing git operations or GitHub development lifecycle.
Executes GitHub operations via the gh CLI for inspecting repos, files, issues, PRs, releases, Actions, and cloning for deep analysis. Activates on github.com URLs or repo paths.