commit-push-pr
Skill4 starsChanged 5 months agoMITView on GitHub
Check out latest base branch, create a new feature branch, commit changes, push to remote, and create a pull request via gh CLI.
- 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
- malinskibeniamin/skillstheir own version, first seen Oct 17, 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- fix-failing-testsSkill
- review-diffSkill
- validate-configSkill
- write-release-notesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 11 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
11
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 16
Use when the user asks to commit, push, create a PR, or get changes into a branch.
- Distinctive: line 30
When staging files, stage ALL changed files EXCEPT those in agent config directories
- Distinctive: line 31
If the user mentions specific files, prioritize those but also include other changes
- Distinctive: line 54
Run git status to find all modified and untracked files.
- Distinctive: line 59
If after filtering there are NO changes (no modified files, no untracked files outside agent config dirs), then inform the user "No changes …
- Very specific: line 64
Use feature/<descriptive-name> for new features
- Very specific: line 65
Use fix/<descriptive-name> for bug fixes
- Very specific: line 80
Use conventional commit format: feat:, fix:, chore:, etc.
- Distinctive: line 81
Write a clear, descriptive commit message based on the changes
- Distinctive: line 101
All of these must be true:
- Distinctive: line 103
All changes (excluding agent config) are committed with a descriptive message
- Distinctive: line 110
If there are no changes to commit (after excluding agent config dirs), inform the user and stop
- Very specific: line 111
If gh CLI is not available, provide the push command and instruct the user to create the PR manually
- Distinctive: line 112
If push fails due to conflicts, inform the user and suggest resolution steps
- Distinctive: line 113
If the remote doesn't exist, inform the user and stop after the commit
“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
What I do
Automate the full git workflow: update base branch, create feature branch, stage and commit changes, push, and open a PR. You execute ALL steps autonomously without asking the user for confirmation.
When to use me
Use when the user asks to commit, push, create a PR, or get changes into a branch. Trigger on phrases like:
- "commit and push my changes"
- "get this into a PR"
- "push this up and make a PR"
- "create a pull request"
IMPORTANT: Autonomous execution
You MUST execute all steps below in sequence WITHOUT asking the user for confirmation. Do NOT ask "would you like me to proceed?" or "should I stage these files?". Just do it.
IMPORTANT: What counts as changes
- Changes include: any modified tracked files AND any untracked files (new files not yet in git)
- Changes EXCLUDE: agent/skill configuration directories (
.opencode/,.claude/,.codex/) - When staging files, stage ALL changed files EXCEPT those in agent config directories
- If the user mentions specific files, prioritize those but also include other changes
Steps
Execute these steps in order. Do not stop or ask for confirmation between steps.
Step 1: Detect the base branch
git remote show origin | grep 'HEAD branch' | awk '{print $NF}'Fall back to main if detection fails or no remote exists.
Step 2: Fetch and update the base branch
git fetch origin
git checkout <base-branch>
git pull origin <base-branch>Step 3: Identify changes to commit
Run git status to find all modified and untracked files. Filter out agent config directories:
- Ignore anything under
.opencode/ - Ignore anything under
.claude/ - Ignore anything under
.codex/
If after filtering there are NO changes (no modified files, no untracked files outside agent config dirs), then inform the user "No changes to commit" and STOP. Do not proceed.
Step 4: Create a new feature branch
Generate a descriptive branch name from the changes or user request:
- Use
feature/<descriptive-name>for new features - Use
fix/<descriptive-name>for bug fixes
git checkout -b <branch-name>Step 5: Stage and commit changes
Stage all changed files (modified + untracked), excluding agent config directories:
git add <files>
git commit -m "<type>: <description>"- Use conventional commit format:
feat:,fix:,chore:, etc. - Write a clear, descriptive commit message based on the changes
Step 6: Push to remote
git push -u origin <branch-name>Step 7: Create a pull request
gh pr create --base <base-branch> --title "<PR title>" --body "<PR description>"- The PR title should match the commit message
- The PR body should summarize the changes
- Report the PR URL back to the user
Definition of done
All of these must be true:
- A new feature branch was created based on the latest base branch
- All changes (excluding agent config) are committed with a descriptive message
- Branch is pushed to the remote with
git push - A PR is created targeting the base branch via
gh pr create - The PR URL is reported back to the user
Error handling
- If there are no changes to commit (after excluding agent config dirs), inform the user and stop
- If
ghCLI is not available, provide the push command and instruct the user to create the PR manually - If push fails due to conflicts, inform the user and suggest resolution steps
- If the remote doesn't exist, inform the user and stop after the commit
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.

