Create Pull Request
Steps
-
Check for existing PR: gh pr view --json url -q .url 2>/dev/null — if a PR already exists, output its URL and stop
-
Understand changes: git status , git diff dev...HEAD , git log dev..HEAD --oneline
-
Read PR template: .github/PULL_REQUEST_TEMPLATE.md
-
Draft PR title: Use conventional commits format (see CLAUDE.md for types and scopes)
-
Fill out PR template as the body — be thorough in the Changes section
-
Format first (if relevant changes exist):
-
Backend: cd autogpt_platform/backend && poetry run format
-
Frontend: cd autogpt_platform/frontend && pnpm format
-
Fix any lint errors, then commit formatting changes before pushing
-
Push: git push -u origin HEAD
-
Create PR: gh pr create --base dev
-
Output the PR URL
Rules
-
Always target dev branch
-
Do NOT run tests — CI will handle that
-
Use the PR template from .github/PULL_REQUEST_TEMPLATE.md