push-everything
Skill898 starsChanged 3 months agoMITView on GitHub
Stage ALL changes in the repository (not just session changes), commit, and push. Use when you need to commit all pending changes.
- Commits and pushes
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 15 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
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
If on main, checkout a new branch first.
- Distinctive: line 10
If on a non-main branch where the existing PR is already merged, the uncommitted changes are likely unrelated to that branch.
- Distinctive: line 13
Create a new branch with a name describing the uncommitted changes
- Distinctive: line 24
When creating or updating a PR in this repo, make sure it has a changelog label so GitHub Releases can categorize it correctly.
- Very specific: line 32
If the correct label is unclear, prefer enhancement.
- Very specific: line 34
If the PR should be excluded from release notes, use skip-changelog.
- Very specific: line 36
Use skip-changelog for PRs focused only on developer tooling changes, such as agent skills, workflow plumbing, local tooling, or similar …
- Very specific: line 40
When the PR body contains Markdown code spans/backticks, parentheses, angle brackets, or shell-sensitive characters, do not pass it …
- Very specific: line 42
Use --body-file with stdin/heredoc instead:
- Distinctive: line 51
Use the same pattern for updates:
- Distinctive: line 62
Do not report completion to the user until all required GitHub PR checks pass.
- Distinctive: line 64
Do not auto-commit or auto-push fixes for issues discovered after the initial push, including CI failures and AI review bot findings.
- Distinctive: line 69
Wait for the user to approve committing before committing, pushing, or restarting the CI loop.
- Very specific: line 74
If GitHub returns no checks reported, treat it as possible propagation delay.
- Distinctive: line 75
If checks are still not reported after those retries, run one remediation pass and treat merge conflicts with main as a likely cause:
- Very specific: line 77
If merge conflicts occur, resolve them by following the fix-merge-conflicts skill.
- Distinctive: line 78
Commit the conflict resolution if needed, push, and restart this CI loop once.
- Distinctive: line 79
If checks are still not reported after that remediation pass, conclude no required checks are configured for this PR.
- Distinctive: line 80
If checks appear, wait for all required checks to complete.
- Distinctive: line 81
If any test or type-check command fails, inspect logs immediately, fix the issue locally, and hand the uncommitted fix back to the user for …
- Distinctive: line 82
If checks are blocked on AI review bots, wait for bot completion and read all bot reviews before reporting completion.
- Distinctive: line 86
Read every new AI review comment on the PR, including multiple reviews from multiple bots.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Branch handling
If on main, checkout a new branch first.
If on a non-main branch where the existing PR is already merged, the uncommitted changes are likely unrelated to that branch. In this case:
- Checkout main and pull
- Create a new branch with a name describing the uncommitted changes
- Continue with the commit workflow below
Commit workflow
Stage and commit ALL the changes in the git repo (not just the ones in this session). Use gh cli to check if a PR exists for this branch. If no PR exists, create one with an appropriate title and description. If a PR exists, query its current title and description and update them if the new changes warrant it. Push the changes.
Ignore developer tooling changes (e.g. changes to .gitignore, or agent skills, or anything in dev-tools or .bin) in the commit message or PR title/description, unless the PR is solely about those changes.
Release note labels
When creating or updating a PR in this repo, make sure it has a changelog label so GitHub Releases can categorize it correctly.
Prefer one of:
enhancementbugdocumentation
If the correct label is unclear, prefer enhancement.
If the PR should be excluded from release notes, use skip-changelog.
Use skip-changelog for PRs focused only on developer tooling changes, such as agent skills, workflow plumbing, local tooling, or similar maintenance that should not appear in user-facing release notes.
PR body formatting
When the PR body contains Markdown code spans/backticks, parentheses, angle brackets, or shell-sensitive characters, do not pass it directly via --body "..." because shells can mangle it.
Use --body-file with stdin/heredoc instead:
cat <<'EOF' | gh pr create --base main --head <branch> --title "<title>" --body-file -
## Summary
- item with `code`
EOFUse the same pattern for updates:
cat <<'EOF' | gh pr edit <branch-or-number> --body-file -
## Updated Summary
- item with `code`
EOFCI and review gating
Do not report completion to the user until all required GitHub PR checks pass.
Do not auto-commit or auto-push fixes for issues discovered after the initial push, including CI failures and AI review bot findings. If fixes are needed after CI or review feedback:
- Inspect the failure or review feedback.
- Apply the fixes locally without committing them.
- Report the fixes to the user and explicitly hand the changes back for review.
- Wait for the user to approve committing before committing, pushing, or restarting the CI loop.
After every push:
- Watch PR checks with
gh pr checks --watch. - If GitHub returns
no checks reported, treat it as possible propagation delay. Wait 15 seconds and retrygh pr checks --watch. Repeat up to 8 times (about 2 minutes total). - If checks are still not reported after those retries, run one remediation pass and treat merge conflicts with
mainas a likely cause:- Pull and merge
maininto your branch. - If merge conflicts occur, resolve them by following the
fix-merge-conflictsskill. - Commit the conflict resolution if needed, push, and restart this CI loop once.
- Pull and merge
- If checks are still not reported after that remediation pass, conclude no required checks are configured for this PR.
- If checks appear, wait for all required checks to complete.
- If any test or type-check command fails, inspect logs immediately, fix the issue locally, and hand the uncommitted fix back to the user for review. Do not commit, push, or repeat the CI loop until the user approves.
- If checks are blocked on AI review bots, wait for bot completion and read all bot reviews before reporting completion.
AI review bot handling:
- Read every new AI review comment on the PR, including multiple reviews from multiple bots.
- Analyze each concern and classify it as valid, partially valid, or not valid.
- For valid or partially valid concerns, apply fixes locally and hand the uncommitted changes back to the user for review. Do not commit, push, or restart the CI loop until the user approves.
- For concerns that are not valid, explain why with concrete technical reasoning when you report status to the user.
For follow-up edits in this session, continue to commit, push, and update the PR as needed. After each follow-up push, re-run the full check-wait loop above (gh pr checks --watch and retries) before reporting completion.
Other versions2 projects use a version of this.
Word for word · 1
- saffron-health/libretto★ 883100% same
Edited · 1
- saffron-health/opencode-gui★ 5938% same
Wrote their own version · 0
None found.
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 repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .deepsec/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- .opencode/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- address-reviewSkill
- cli-developmentSkill
- erroreSkill
- external-electron-appsSkill
- fix-merge-conflictsSkill
- generate-specSkill
- generate-spec-v2Skill
- get-pr-reviewsSkill
- glimpse-changesSkill
- implement-specSkill
- improve-codebase-architectureSkill
- libretto-readonlySkill
- librettoSkill
- promptingSkill
- pushSkill
- reviewSkill
- spec-reviewSkill
- summarizeSkill
- technical-writingSkill
- turborepoSkill
- update-docsSkill
- writing-testsSkill
- libretto-readonlySkill
- librettoSkill
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.

