name: git-push description: Commits and pushes changes to GitHub remote repository using Conventional Commits format. metadata: tags: [Git, GitHub, Push, Development, Workflow]
Git Push
Commit uncommitted changes and push to remote GitHub repository. Handles the complete flow: stage, commit, and push.
Instructions
-
Check Git Status
- Run
git status - Show all uncommitted changes
- Run
-
Analyze Changes
- Review changed files
- Determine commit type (feat/fix/docs/refactor/test/chore)
- Determine scope (affected module/component)
-
Create Commit Message Follow Conventional Commits format:
<type>(<scope>): <subject> <body> <footer>Types:
feat: New featurefix: Bug fixdocs: Documentation updaterefactor: Code refactoringperf: Performance optimizationtest: Test relatedchore: Other changes
-
Stage and Commit
- Run
git addfor affected files - Create commit with formatted message
- Include
Co-Authored-By: Claude <noreply@anthropic.com>in footer
- Run
-
Push to Remote
- Run
git push - If rejected, pull with rebase first:
git pull --rebase origin $(git branch --show-current) git push
- Run
-
Verify Success
- Show commit SHA
- Show remote branch status
Options
--amend- Amend last commit instead of creating new one--no-verify- Skip pre-commit hooks- Custom commit message can be provided directly in
<type>(<scope>): <message>format
Integration
This skill uses the same Conventional Commits format as git-commit but focuses on the complete flow: stage, commit, and push.
Related skills
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
Claude CodeCursoradvanced
890
234
3,212
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
claudeCursorWindsurfbeginner
259
72
1,114
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.
claudeCursorWindsurfintermediate
156
44
975