askill
commit-push

commit-pushSafety 75Repository

Commit and push changes with gitmoji-style messages. Triggers on '/commit-push' or phrases like 'commit and push', 'save my changes', 'push this'.

1 stars
1.2k downloads
Updated 2/9/2026

Package Files

Loading files...
SKILL.md

Commit and Push

When the user wants to commit and push changes (detected via /commit-push command or phrases like "commit and push", "save my changes", "push this", "commit this"), follow this workflow:

1. Gather Context

Run these commands in parallel:

git status
git diff --staged
git diff
git log --oneline -5

2. Stage Changes

If there are unstaged changes the user likely wants committed:

git add -A

If unsure which files to include, ask the user.

3. Write Commit Message

Use gitmoji style with this format:

<emoji> <type>: <short description>

<optional body explaining what and why>

Gitmoji Reference

EmojiCodeUse for
✨:sparkles:New feature
πŸ›:bug:Bug fix
πŸ”§:wrench:Configuration
πŸ“:memo:Documentation
♻️:recycle:Refactor
🎨:art:Style/format
⚑:zap:Performance
πŸ”’:lock:Security
πŸ§ͺ:test_tube:Tests
πŸš€:rocket:Deploy
πŸ—‘οΈ:wastebasket:Remove code/files
πŸ“¦:package:Dependencies
πŸ—οΈ:building_construction:Architecture
πŸ’„:lipstick:UI/cosmetic

Examples

✨ feat: add user authentication flow

Implements JWT-based auth with refresh tokens.
Adds login, logout, and session management.
πŸ› fix: resolve race condition in data fetching

The useEffect cleanup wasn't cancelling pending requests,
causing state updates on unmounted components.
πŸ”§ config: update ESLint rules for stricter typing

4. Commit and Push

git commit -m "<message>"
git push

If push fails due to remote changes:

git pull --rebase
git push

5. Report Result

After successful push, show:

  • Commit hash (short)
  • Branch name
  • Files changed summary
  • Remote URL for easy access

Important

  • Never use --force unless explicitly requested
  • Never skip hooks (--no-verify) unless explicitly requested
  • If there are merge conflicts, stop and explain the situation
  • Keep commit messages concise but informative

Install

Download ZIP
Requires askill CLI v1.0+β–Ά

AI Quality Score

81/100Analyzed 2/20/2026

Well-structured skill for committing and pushing with gitmoji-style messages. Provides comprehensive workflow with clear commands, gitmoji reference table, examples, and safety guidelines. Generic enough to be reusable across projects. Slightly lacking in edge case handling but overall actionable and clear.

75
88
80
75
88

Metadata

Licenseunknown
Version-
Updated2/9/2026
Publishernunomen

Tags

ci-cdgithub-actionssecurity