Update yeet skill workflow formatting (#66)

Summary
- tighten up the `yeet` skill instructions by trimming extra whitespace
and reformatting the workflow steps into consistent Markdown bullets
- clarify that the branch creation step only applies when starting from
main/master/default

Testing
- Not run (not requested)
This commit is contained in:
Dominik Kundel
2026-01-31 13:26:07 +01:00
committed by GitHub
parent 33a75a7b57
commit 8766dfebfe
+10 -10
View File
@@ -3,7 +3,6 @@ name: "yeet"
description: "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`)."
---
## Prerequisites
- Require GitHub CLI `gh`. Check `gh --version`. If missing, ask the user to install `gh` and stop.
@@ -17,12 +16,13 @@ description: "Use only when the user explicitly asks to stage, commit, push, and
## Workflow
If on main/master/default, git checkout -b "codex/{description}"; otherwise stay on the current branch.
Confirm status git status -sb, then stage everything git add -A.
Commit tersely with the description, e.g. git commit -m "{description}".
Run checks if not already. If checks fail due to missing deps/tools, install dependencies and rerun once.
Push with tracking: git push -u origin $(git branch --show-current).
If git push fails due to workflow auth errors, pull from master and retry the push.
Open a PR: GH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --head $(git branch --show-current) and edit title/body to reflect the description and the deltas.
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.
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.
- If on main/master/default, create a branch: `git checkout -b "codex/{description}"`
- Otherwise stay on the current branch.
- Confirm status, then stage everything: `git status -sb` then `git add -A`.
- Commit tersely with the description: `git commit -m "{description}"`
- Run checks if not already. If checks fail due to missing deps/tools, install dependencies and rerun once.
- Push with tracking: `git push -u origin $(git branch --show-current)`
- If git push fails due to workflow auth errors, pull from master and retry the push.
- 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)`
- 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.
- 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.