git-push
Skill8 starsChanged 3 months agoMITView on GitHub
Push git changes to GitHub. Use whenever user wants to upload/commit/push code changes to GitHub repository.
- Commits and pushes
18 other projects use a version of this.
Adopted by
Most recently taken up by
- Hexi1997/skillstheir own version, first seen Nov 7, 2026
- mattmireles/gemma-tuner-multimodaltheir own version, first seen Nov 1, 2026
- vladimiracunadev-create/claude-skills-toolkittheir own version, first seen Nov 1, 2026
- MYQFJ23333/git-claudetheir own version, first seen Nov 1, 2026
- solplum/agent-git-workflow-skillstheir own version, first seen Oct 15, 2026
- cognis-digital/skillsmiththeir own version, first seen Oct 11, 2026
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- yunshu0909/yunshu_skillshub★ 760same name
- jerrywu001/cc-sessions-viewer★ 415same name
- chengkj99/kj-skills★ 14same name
- pgnzbl-ux/crucible★ 4same name
- rohanhong/tmpl.general-repo★ 3same name
- solplum/agent-git-workflow-skills★ 3same name
- mir-am/skills-agents-ai-coding★ 2same name
- MYQFJ23333/git-claude★ 2same name
- SmartAssets-io/skills★ 2same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- ai-genSkill
- any2mdSkill
- assignment-wordSkill
- cheatsheatSkill
- claude2antiSkill
- claude2codexSkill
- codex2claudeSkill
- fincomp-deckSkill
- github-trendingSkill
- html2mdSkill
- html2pdfSkill
- html2texSkill
- html-slidesSkill
- img-readerSkill
- latex-beamerSkill
- markitdownSkill
- md2docxSkill
- md2texSkill
- mergeSkill
- notesSkill
- paper-html-onepageSkill
- paper-reproSkill
- pdf2wordSkill
- pdf-readerSkill
- posterSkill
- repo-docsSkill
- repo-docs-zhSkill
- resume-builderSkill
- web-search-fallbackSkill
- word2htmlSkill
- word2mdSkill
- word2pdfSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
FIRST: Ask the user to provide their own description for this commit:
- Distinctive: line 30
If the user provides a path:
- Distinctive: line 31
Read the current README.md at the repo root
- Distinctive: line 41
Run git status and git diff --stat to see what files have changed.
- Distinctive: line 74
DO add: source code (.py, .js, .md, etc.), data files (.csv), images/docs
- Distinctive: line 75
DON'T add: __pycache__, venv, node_modules, .claude, .git, etc.
- Distinctive: line 77
Create commit with combined message format:
- Very specific: line 112
If user chooses merge: run gh pr merge <number> --merge
- Very specific: line 114
If user chooses skip: abort the push, tell user to handle PR first
- Distinctive: line 115
After all PRs resolved → continue to Step 7
- Very specific: line 122
If myfork remote exists → push to myfork (NOT origin)
- Distinctive: line 139
After confirmation, execute without further prompts: add → commit → push
- Very specific: line 140
Commit message format: (User's description), (AI's summary)
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Git Push Skill
Quickly commit and push git changes to GitHub.
Workflow
Step 1: Ask User for Description
FIRST: Ask the user to provide their own description for this commit:
请输入本次提交的描述(简短说明你做了什么改动):Step 2: Ask about README.md update
Ask the user:
是否需要更新 GitHub 首页 README.md?
如果需要,请提供素材目录路径(包含 gif、reward 趋势图等):
(留空跳过,默认路径示例:RTX6000\Magicbot_Z1\docs\github_readme)If the user provides a path:
- Read the current
README.mdat the repo root - List all files in the provided素材目录 (gifs, pngs, etc.)
- Compare with what's already referenced in README.md
- Propose updates to README.md (new images, updated sections, etc.)
- Apply the changes after user confirms
This step runs in parallel with Step 3 (git status check).
Step 3: Check git status
Run git status and git diff --stat to see what files have changed.
Step 4: List Changes for Confirmation
Clearly display what will be uploaded:
=== 将要上传的更改 ===
新增文件:
- file1.ext
- file2.ext
修改文件:
- file3.ext
- file4.ext
删除文件:
- file5.ext
=== AI 生成的总结 ===
[AI's summary of changes]
请确认是否上传?(yes/no)Wait for user confirmation before proceeding.
Step 5: Add and Commit
After user confirms:
- Add relevant files:
- DO add: source code (.py, .js, .md, etc.), data files (.csv), images/docs
- DON'T add: pycache, venv, node_modules, .claude, .git, etc.
- Create commit with combined message format:
(User's description), (AI's summary)
- [key change 1]
- [key change 2]
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>Example:
修复笔记图片显示问题, 更新材料加工笔记结构和图片路径
- 图片重命名为 English_Pinyin 格式
- 更新 MD 和 HTML 中的图片引用路径
- 修复 3_17.html 图片不显示问题
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>Step 6: Check for Open PRs (gate before push)
Before pushing, check for open Pull Requests using gh pr list:
gh pr list --state openIf there are open PRs:
- Display each PR with title, author, and clickable URL
- Ask user:
检测到以下 PR 尚未处理,请选择操作:- For each PR, offer:
merge/close/skip (稍后处理)
- For each PR, offer:
- If user chooses
merge: rungh pr merge <number> --merge - If user chooses
close: rungh pr close <number> - If user chooses
skip: abort the push, tell user to handle PR first - After all PRs resolved → continue to Step 7
If no open PRs: → proceed directly to Step 7
Step 7: Push to GitHub
First check remotes with git remote -v. Many projects have multiple remotes:
- If
myforkremote exists → push tomyfork(NOTorigin) - Otherwise → push to
origin
Before push, pull latest changes to avoid conflicts:
git pull <remote> main --rebaseThen push:
git push <remote> mainImportant Notes
- Always ask user for their description first
- Always list changes and wait for confirmation
- After confirmation, execute without further prompts: add → commit → push
- Commit message format:
(User's description), (AI's summary) - Push to
myforkif it exists, never push tooriginwhenmyforkis available - Always check for open PRs before pushing — unresolved PRs may cause conflicts
- Pull with rebase before push to stay in sync with remote
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

