commit-push-pr
Skill1 starsChanged 7 months agoApache-2.0View on GitHub
Creates a git commit and pushes to remote. Use -a to amend. Optionally accepts a commit message.
- Deletes or force-pushes
- Commits and pushes
23 other projects use a version of this.
Adopted by
Most recently taken up by
- kbourzayq/arch-guardtheir own version, first seen Nov 8, 2026
- jh941213/my-cc-harnesstheir own version, first seen Nov 1, 2026
- jh941213/ADLC-harnesstheir own version, first seen Nov 1, 2026
- converge-ai-labs/agent-foundationtheir own version, first seen Oct 29, 2026
- dceoy/ai-coding-agent-skillstheir own version, first seen Oct 23, 2026
- tardigrde/agent-skill-evaltheir own version, first seen Oct 20, 2026
Used with
Projects with it also use docs-ci, docs-interfaces and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jh941213Skilldocs-ci
문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.
Also in 3 projects that use this
jh941213Skilldocs-interfaces
API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.
Also in 3 projects that use this
RachaelQuiselSkillclient-docs
Client documentation. Use when a build needs documentation updates or missing project documents need to be identified.
Also in 3 projects that use this
dbankscardSkilltechdebt
Find and report technical debt, duplicated code, and cleanup opportunities. Run at end of sessions.
Also in 5 projects that use this
planailabsSkilldocs-architecture
Layout, build pipeline, and structural gotchas for this dual-Astro repo. Read before changing structure, routing, or adding content. Operational/dev-server questions → dev-build skill.
Also in 3 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 3 projects that use this
- +4 more from jh941213
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- llama-farm/llamafarm★ 837same name
- converge-ai-labs/agent-foundation★ 825same name
- galacean/effects-runtime★ 751same name
- shenjingnan/xiaozhi-client★ 341same name
- RedWoodOG/Hermes-Desktop★ 177same name
- jh941213/ADLC-harness★ 125same name
- jh941213/my-cc-harness★ 125same name
- jh941213/my-claude-code-asset★ 125same name
- sneg55/agent-starter★ 76same name
- jackson-video-resources/skills★ 17same name
13 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 repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- code-reviewSkill
- code-simplifierSkill
- coding-workflowSkill
- data-analystSkill
- data-triageSkill
- data-workflowSkill
- pr-descriptionSkill
- repo-skillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 10 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create a git commit with all modified code and push to the remote repository.
- Distinctive: line 12
Run git status to see what files have changed.
- Distinctive: line 15
Do NOT stage unrelated changes or files that shouldn't be committed (e.g., local config, debug files)
- Very specific: line 16
Use git add <file> for specific files or git add -A if all changes should be committed
- Very specific: line 22
If a commit message is provided, use git commit --amend -m "<message>"
- Distinctive: line 27
If a commit message is provided, use it
- Distinctive: line 28
If no message provided, run git diff --cached to see what's staged, then draft a concise commit message
- Distinctive: line 29
Create a new commit with the message
- Very specific: line 37
Check if a PR already exists for this branch: gh pr view --json url 2>/dev/null
- Very specific: line 39
If no PR exists, create one as a draft: gh pr create --draft --title "<title>" --body "<body>"
- Distinctive: line 40
If a PR already exists, skip this step (the push already updated it)
- Very specific: line 44
NEVER use --force unless explicitly requested
- Very specific: line 45
NEVER skip hooks (--no-verify) unless explicitly requested
- Distinctive: line 46
ALWAYS create PRs as drafts — never create non-draft PRs
- Distinctive: line 47
If the commit fails due to pre-commit hooks, fix the issues
- Distinctive: line 48
If push fails due to remote changes, pull and rebase before retrying
- Very specific: line 49
If push fails with 403/permission denied, fork the repo (gh repo fork --remote=true), then push to the fork and open a PR against the …
“Common” is measured: kept by at least 6 in 10 of the 17 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
Task
Create a git commit with all modified code and push to the remote repository.
Step 1: Stage Changes
Run git status to see what files have changed. Stage the relevant changes:
- Stage files that are related to the current work
- Do NOT stage unrelated changes or files that shouldn't be committed (e.g., local config, debug files)
- Use
git add <file>for specific files orgit add -Aif all changes should be committed
Step 2: Commit
If amending:
- If a commit message is provided, use
git commit --amend -m "<message>" - Otherwise, use
git commit --amend --no-editto keep the previous message
Otherwise:
- If a commit message is provided, use it
- If no message provided, run
git diff --cachedto see what's staged, then draft a concise commit message - Create a new commit with the message
Step 3: Push to Remote
Push to the remote. If amending, use git push --force-with-lease. If no upstream exists, add -u origin <branch-name>. Both flags can be combined if needed.
Step 4: Create or Update PR
Check if a PR already exists for this branch: gh pr view --json url 2>/dev/null
- If no PR exists, create one as a draft:
gh pr create --draft --title "<title>" --body "<body>" - If a PR already exists, skip this step (the push already updated it)
Important Notes
- NEVER use
--forceunless explicitly requested - NEVER skip hooks (
--no-verify) unless explicitly requested - ALWAYS create PRs as drafts — never create non-draft PRs
- If the commit fails due to pre-commit hooks, fix the issues
- If push fails due to remote changes, pull and rebase before retrying
- If push fails with 403/permission denied, fork the repo (
gh repo fork --remote=true), then push to the fork and open a PR against the upstream repo
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.

