git-push
Skill393 starsChanged 3 months agoMITView on GitHub
Use when the user explicitly asks to commit and push the current repository changes. Suitable for analyzing current changes, generating an English commit message that follows the repo's conventions, and completing the push. Not suitable for status-only checks, local-only commits, push-disallowed contexts, or any case where the user has not explicitly asked to write to the remote.
- Reads credentials
- Commits and pushes
10 other projects use a version of this.
Adopted by
Most recently taken up by
- JeffreyFerreiras/ai-skillstheir own version, first seen Oct 5, 2026
- mir-am/skills-agents-ai-codingtheir own version, first seen Oct 1, 2026
- Moonelos/claude-code-reftheir own version, first seen Sep 29, 2026
- Hexi1997/skillstheir own version, first seen Sep 28, 2026
- pgnzbl-ux/crucibletheir own version, first seen Aug 27, 2026
- SmartAssets-io/skillstheir own version, first seen Aug 12, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- yunshu0909/yunshu_skillshub★ 764same name
- chengkj99/kj-skills★ 14same name
- phanghonghao/THU-Awesome-Skills★ 8same name
- pgnzbl-ux/crucible★ 4same name
- mir-am/skills-agents-ai-coding★ 2same name
- SmartAssets-io/skills★ 2same name
- Hexi1997/skills★ 1same name
- JeffreyFerreiras/ai-skills★ 1same name
- Moonelos/claude-code-ref★ 1same name
- gologo13/agent-skills★ 0same name
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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-new-changeSkill
- openspec-proposeSkill
- skill-designerSkill
- git-pushSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-new-changeSkill
- openspec-proposeSkill
- tauri-dev-mcpSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 12 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Only use this skill when the user explicitly asks to commit and push.
- Distinctive: line 12
Run git pull first to fetch the latest remote changes.
- Very specific: line 13
If the pull output contains conflict markers such as CONFLICT or Merge conflict, stop immediately — do not commit or push — and clearly …
- Distinctive: line 27
Use lowercase for the type because this repository's commitlint enforces lowercase conventional-commit types.
- Distinctive: line 37
Do not add any AI-generated sign-off.
- Distinctive: line 38
Before staging or committing, run the CI checks locally:
- Distinctive: line 43
Stop immediately if any check fails.
- Distinctive: line 47
Commit with the multi-line message
- Distinctive: line 49
After completion, report the commit hash, commit message, current branch, and push result.
- Distinctive: line 53
If there are no changes, stop and explain that no commit is needed.
- Distinctive: line 54
If commitlint or a git hook fails, fix the message or the underlying issue and retry.
- Distinctive: line 55
Do not use interactive git commands.
- Distinctive: line 56
Only push to the remote when the user has explicitly asked for a push.
“Common” is measured: kept by at least 6 in 10 of the 6 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
Only use this skill when the user explicitly asks to commit and push.
Workflow
- Run
git pullfirst to fetch the latest remote changes. - If the pull output contains conflict markers such as
CONFLICTorMerge conflict, stop immediately — do not commit or push — and clearly list the conflicting files. - Analyze the changes in parallel:
git status --shortgit diff HEAD
- Generate an English commit message. The commit type must be chosen from:
featfixdocstyleupdaterefactortestframeworkrevertUse lowercase for the type because this repository's commitlint enforces lowercase conventional-commit types.
- The commit message format must be:
type: brief summary of the change
- Change detail 1
- Change detail 2- Do not add any AI-generated sign-off.
- Before staging or committing, run the CI checks locally:
npx vue-tsc --noEmitnpm run test:runcargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warningscargo test --manifest-path src-tauri/Cargo.tomlStop immediately if any check fails; do not commit or push a failing change.
- In the main repository, run:
git add .git restore --staged .env.development 2>/dev/null || true(only skip committing.env.development; keep the local edits)- Commit with the multi-line message
git push
- After completion, report the commit hash, commit message, current branch, and push result.
Rules
- If there are no changes, stop and explain that no commit is needed.
- If commitlint or a git hook fails, fix the message or the underlying issue and retry; do not bypass validation.
- Do not use interactive git commands.
- Only push to the remote when the user has explicitly asked for a push.
.env.developmentchanges must be removed from the staging area before commit; do not implement the exclusion by modifying.gitignore.
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.

