Skip to main content

commit-and-push

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.

معلومات المصدر

المستودع
FradSer/dotclaude
آخر نشاط في المصدر
١١ أغسطس ٢٠٢٦ في ٠٩:٠٨
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٥٩٦
التفرعات
٥١

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
commit-and-push
description
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.
user-invocable
true
argument-hint
[optional commit message or instructions]
allowed-tools
["bash"]
# 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**: ```bash git status --porcelain git diff --staged git diff ``` 2. **Stage files**: ```bash git add <file1> <file2> ... ``` 3. **Commit**: Formulate a Conventional Commit message and commit: ```bash git commit -m "<type>(<scope>): <summary>" ``` 4. **Push**: Detect current branch and push: ```bash BRANCH=$(git branch --show-current) git push origin "$BRANCH" ``` If pushing a new branch for the first time, append `-u`: ```bash git push -u origin "$BRANCH" ```
عرض على GitHub