Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Commit and push changes, creating or updating a PR as needed. Use for standard push workflow.
.claude/skills/saffron-health-push/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-03 | ✓→✗ | ▼ Worse | -4% | 0% |
| case-04 | ✓→✗ | ▼ Worse | -14% | 0% |
| case-15 | ✓→✗ | ▼ Worse | 4% | 0% |
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:
Commit the changes. 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.
When writing or updating a PR title and description, always base them on the full diff against main (git diff main...HEAD), not just the most recent commits. The title and description should accurately summarize the entire set of changes in the PR.
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:
enhancementbugdocumentationIf 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.
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:
bashcat <<'EOF' | gh pr create --base main --head <branch> --title "<title>" --body-file - ## Summary - item with `code` EOF
Use the same pattern for updates:
bashcat <<'EOF' | gh pr edit <branch-or-number> --body-file - ## Updated Summary - item with `code` EOF
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:
After every push:
gh pr checks --watch.no checks reported, treat it as possible propagation delay. Wait 15 seconds and retry gh pr checks --watch. Repeat up to 8 times (about 2 minutes total).main as a likely cause:main into your branch.fix-merge-conflicts skill.AI review bot handling:
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 measured skills in the registry, with their headline benchmark lift.