Full PR creation pipeline — self-review, code review checks, and PR creation with a structured template.
51
55%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./devflow-plugin/skills/create-pr/SKILL.mdYou are creating a pull request. This command runs the full PR pipeline.
Gather PR context. Run these commands to understand the full scope:
git log --oneline main..HEAD
git diff --stat main..HEAD
git diff main..HEADAlso check the branch name for a ticket ID (e.g., MES-1234).
Self-review the diff. Read through the full diff and check for:
Run code review checks:
devflow checkIf devflow check is not available, run lint, type-check, and tests:
yarn lint && yarn build && yarn test --changedSince=mainIf issues are found in self-review or checks, report them and ask the user whether to fix them first or proceed anyway.
Draft the PR. Analyze all commits and the full diff to create:
Present the PR draft to the user for review and approval.
Create the PR using GitHub CLI:
git push -u origin HEAD
gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
<bullet points>
## Changes
<file-level description of changes>
## Testing
<how it was tested>
## Ticket
<ticket link or N/A>
## Checklist
- [ ] Tests pass
- [ ] Lint passes
- [ ] Types check
- [ ] Self-reviewed
- [ ] CLAUDE.md compliance verified
EOF
)"Return the PR URL to the user.
$ARGUMENTS
b0b1bb6
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.