commit-and-push

v2026.09.24

Creates clean conventional git commits using standard git and pushes changes to the remote repository. Use when the user asks to "commit and push", "push changes", or complete a commit followed by git push.

GitHub
安装命令
npx skhub add fradser/commit-and-push
Markdown
SKILL.md

Commit and Push Skill (Standard Git)

Create clean, atomic Conventional Commits using standard git commands and push them to origin.

Workflow

  1. Inspect status and diff:
    git status --porcelain
    git diff --staged
    git diff
    
  2. Stage files:
    git add <file1> <file2> ...
    
  3. Commit: Formulate a Conventional Commit message and commit:
    git commit -m "<type>(<scope>): <summary>"
    
  4. Push: Detect current branch and push:
    BRANCH=$(git branch --show-current)
    git push origin "$BRANCH"
    
    If pushing a new branch for the first time, append -u:
    git push -u origin "$BRANCH"
    
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

MIT

源路径

git/skills/commit-and-push

默认分支

main

最新提交

9815c4f

Tree SHA

7a6c5f4