Commit all staged and unstaged changes, push to remote, and open a pull request.
Steps:
- Run
git statusandgit diffto understand what changed - Run
git log --oneline -5to understand recent commit style in this repo - Stage all relevant changes:
git addspecific files (avoid .env, secrets, node_modules) - Write a concise commit message focused on WHY, not what. Format:
git commit -m "$(cat <<'EOF' <summary of change> EOF )" - Push:
git push(orgit push -u origin HEADif no upstream) - Create PR with
gh pr createusing this format:gh pr create --title "<short title under 70 chars>" --body "$(cat <<'EOF' ## Summary - <bullet 1> - <bullet 2> ## Test plan - [ ] <manual test step> 🤖 Generated with [Claude Code](https://claude.com/claude-code) EOF )" - Return the PR URL
Do not push to main/master without confirmation. If pre-commit hooks fail, fix the issue before retrying — never use --no-verify.