Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
Add this skill
npx mdskills install openai/yeetWell-structured Git workflow automation with clear prerequisites and error handling steps
1---2name: "yeet"3description: "Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`)."4---56## Prerequisites78- Require GitHub CLI `gh`. Check `gh --version`. If missing, ask the user to install `gh` and stop.9- Require authenticated `gh` session. Run `gh auth status`. If not authenticated, ask the user to run `gh auth login` (and re-run `gh auth status`) before continuing.1011## Naming conventions1213- Branch: `codex/{description}` when starting from main/master/default.14- Commit: `{description}` (terse).15- PR title: `[codex] {description}` summarizing the full diff.1617## Workflow1819- If on main/master/default, create a branch: `git checkout -b "codex/{description}"`20- Otherwise stay on the current branch.21- Confirm status, then stage everything: `git status -sb` then `git add -A`.22- Commit tersely with the description: `git commit -m "{description}"`23- Run checks if not already. If checks fail due to missing deps/tools, install dependencies and rerun once.24- Push with tracking: `git push -u origin $(git branch --show-current)`25- If git push fails due to workflow auth errors, pull from master and retry the push.26- Open a PR and edit title/body to reflect the description and the deltas: `GH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --head $(git branch --show-current)`27- Write the PR description to a temp file with real newlines (e.g. pr-body.md ... EOF) and run pr-body.md to avoid \\n-escaped markdown.28- PR description (markdown) must be detailed prose covering the issue, the cause and effect on users, the root cause, the fix, and any tests or checks used to validate.29
Full transparency — inspect the skill content before installing.