Create a pull request for the current branch. TRIGGER when user asks to create a PR, open a pull request, push changes for review, or submit work for merging.
Install
npx skillscat add significant-gravitas/autogpt/pr-create Install via the SkillsCat registry.
SKILL.md
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
- Backend:
- Push:
git push -u origin HEAD - Create PR:
gh pr create --base dev - Output the PR URL
Rules
- Always target
devbranch - Do NOT run tests — CI will handle that
- Use the PR template from
.github/PULL_REQUEST_TEMPLATE.md