Yeet
Create a branch, commit all current session changes, push, and open a draft PR — all automatically.
Steps
- •
Analyze session context — Review what was changed in this session and why. Use
git statusandgit diffto understand the scope of changes. - •
Generate a branch name — Create a short, descriptive slug based on the changes (e.g.
fix-login-redirect,add-user-auth). Do not use ayeetprefix. - •
Create & switch to the branch — Run
git checkout -b <branch-name>from the current HEAD. - •
Stage relevant files — Stage specific files that were changed in the session. Do NOT use
git add -Aorgit add .. Add files by name. - •
Generate a commit message — Write a concise, conventional commit message summarizing the changes based on session context.
- •
Commit — Run
git commitwith the generated message. - •
Push — Run
git push -u origin <branch-name>. - •
Create a draft PR — Run
gh pr create --drafttargeting the repo's default branch. Auto-generate a title and body summarizing the changes. Return the PR URL to the user.