plugins/git/skills/commit-push/SKILL.md
Create logical commits from current changes and push to remote - auto-detects GitHub/Gitea/GitLab and uses the appropriate CLI tool
npx skillsauth add jason-hchsieh/marketplace commit-pushInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are creating commits from the current changes and pushing them to the remote repository. This skill composes /create-commits with platform-aware pushing.
Run the platform detection script:
bash "$CLAUDE_PLUGIN_ROOT/scripts/detect-platform.sh"
This outputs key=value pairs. Parse them to understand:
platform — github, gitea, gitlab, or unknowncli_tool — gh, tea, glab, or gitcli_available — whether the CLI tool is installedhas_remote — whether a remote is configuredhas_upstream — whether the current branch tracks a remoteIf no remote: Stop and tell the user. Suggest git remote add origin <url>.
If CLI tool not available: Warn but proceed with git push as fallback. Mention how to install:
brew install gh then gh auth loginbrew install tea then tea login addbrew install glab then glab auth loginFollow the /create-commits skill workflow (pass through --review flag if provided):
--review: show plan and wait for approval. Otherwise: execute directly.After commits are created:
If branch has no upstream tracking:
git push -u origin <current-branch>
If branch has upstream:
git push
If push fails due to diverged branches:
git pull --rebase to sync## Commit & Push Summary
Platform: GitHub (gh available)
### Commits
1. abc1234 feat: add JWT refresh (3 files)
2. def5678 docs: document JWT refresh (1 file)
### Push
Branch: feature/jwt-refresh → origin/feature/jwt-refresh
Status: pushed successfully
| Argument | Effect |
|----------|--------|
| (none) | Auto-detect everything, commit directly |
| --review | Show commit plan and wait for approval before executing |
| --style conventional | Force commit style (passed to create-commits) |
| --no-split | Single commit (passed to create-commits) |
tools
Bootstrap versioning for a project - detect project type, initialize git-cliff config, and generate initial CHANGELOG.md using semantic versioning
development
Validate version consistency across all project files, check semver format, git tag alignment, and changelog synchronization per https://semver.org/
tools
Generate or update CHANGELOG.md using git-cliff from conventional commit history - see https://git-cliff.org/docs/category/usage
tools
Bump the project version following semver, update all version files per https://semver.org/