Prompt file imported from WPDevelopers/essential-addons-for-elementor-lite (
.claude/commands/pr.md). Fill in{{arguments}}before use. Copyright stays with the author.
PR Workflow — Card #{{arguments}}
Use the pr-workflow skill at .claude/skills/pr-workflow/SKILL.md to ship the current changes.
Card number: {{arguments}}
If {{arguments}} is empty, ask the user for the FluentBoards card number before doing anything — the skill requires it for the branch name and PR Related link.
Follow the skill's 7 phases in order:
- Pre-check (working tree, current branch, default branch via
gh) - Branch setup — name
<card-number>-<specific-slug> - Stage selectively (no
git add -A) - Build if
src/was touched (npm run build) - Commit atomically (husky hook honored,
Refs: #{{arguments}}footer) - Push branch (hard refuse to default branch)
- Create PR with structured body and FluentBoards card link
Return the PR URL when done.