Stages changes, creates commits, pushes to GitHub, and uses the GitHub CLI (gh) for auth, repo context, and follow-ups like pull requests. Use whenever the user wants to commit, push, sync with GitHub, open a PR, or says things like "stage and commit", "push my changes", "gh pr", or "get this on GitHub" — even if they only mention git; prefer this workflow when GitHub or gh is available or implied.
Ships in claude-api. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Guide and execute a safe, repeatable path from working tree → remote on GitHub using git for version control and gh for GitHub-specific actions.
git rev-parse --show-toplevel.gh for anything that needs GitHub identity or API:
gh auth status — If not logged in, tell the user to run gh auth login (do not invent tokens).gh repo view — Quick check that the directory is linked to a GitHub repo when helpful.git status (and optionally git branch --show-current, git remote -v). Do not assume branch names like main without checking.git add -A or git add . from repo root is fine; otherwise stage explicit paths.git add -p (patch) for tracked files; explain briefly that new files must be added normally first (git add -N or add file then git add -p).git diff --staged before committing. Do not stage obvious secrets (.env, keys, large binaries) unless the user explicitly asked; warn if you see them..gitmessage, CONTRIBUTING, or recent history shows a pattern (e.g. Conventional Commits).--no-verify unless the user explicitly requests it.git push -u origin <branch> (use the actual remote name, usually origin).git push --force or --force-with-lease without explicit user instruction.gh after pushUse when the task implies GitHub workflows:
| Goal | Typical command |
|---|---|
| Open a PR from current branch | gh pr create (add --fill or title/body flags as appropriate) |
| See PR for this branch | gh pr view / gh pr status |
| Sync default branch | git fetch origin and merge/rebase as the user prefers; optional gh repo sync only if the user wants that workflow |
Prefer non-interactive flags when running for the user in automation (--title, --body, --fill, -w to open browser) so commands do not hang waiting for an editor.
- [ ] gh auth OK (or user notified to log in)
- [ ] Correct repo and branch
- [ ] Staged only intended paths
- [ ] Commit message matches intent and project style
- [ ] Push succeeded (or user informed of conflict/rejection)
- [ ] PR created or linked if user wanted one
gh auth and system credential helpers.gh is missingFall back to git + HTTPS/SSH only: git push with configured remotes. Tell the user installing the CLI enables gh pr create and richer GitHub integration: https://cli.github.com/
What SKILL.md sets; muted values are Claude Code's defaults
/philippoertle-claude-api:git-gh-commit-pushfrom claude-api
Claude Code refuses to install this plugin
Claude Code refuses to add this marketplace: The name 'anthropic-agent-skills' is reserved for official Anthropic marketplaces and can only be used with GitHub sources from the 'anthropics' organization.
Claude Code refuses to add this marketplace: The name 'anthropic-agent-skills' is reserved for official Anthropic marketplaces and can only be used with GitHub sources from the 'anthropics' organization.
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
38 skills in this plugin
/algorithmic-artCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations./brand-guidelinesApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply./canvas-designCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Other plugins' skills for the same job