PR creation, CI/CD validation, and release coordination patterns. Use when creating pull requests, running pre-PR validation, checking CI status, or coordinating merges.
Ensure consistent PR creation, CI/CD validation, and release coordination following rebase-first workflow.
Invoke this skill when:
yarn ci:validate)# FORBIDDEN: Missing ticket reference
gh pr create --title "feat: add feature" # Missing [{{TICKET_PREFIX}}-XXX]
# FORBIDDEN: Using squash/merge commits
gh pr merge --squash # Breaks linear history
gh pr merge --merge # Creates merge commit
# FORBIDDEN: Skipping CI validation
git push origin feature # Without yarn ci:validate first
# FORBIDDEN: Pushing without rebase
git push origin feature # When branch is behind dev
# CORRECT: Ticket reference in title
gh pr create --title "feat(scope): description [{{TICKET_PREFIX}}-XXX]"
# CORRECT: Rebase merge only
gh pr merge --rebase --delete-branch
# CORRECT: CI validation before push
yarn ci:validate && git push --force-with-lease
# CORRECT: Always rebase first
git fetch origin && git rebase origin/dev
git push --force-with-lease origin {{TICKET_PREFIX}}-XXX-description
Before creating any PR:
{{TICKET_PREFIX}}-{number}-{description}type(scope): description [{{TICKET_PREFIX}}-XXX]git fetch origin && git rebase origin/devyarn ci:validategit log --oneline --graph -10)# MANDATORY before any PR
yarn ci:validate && echo "READY FOR PR" || echo "FIX ISSUES FIRST"
gh pr create --title "feat(scope): description [{{TICKET_PREFIX}}-XXX]" --body "$(cat <<'EOF'
## Summary
Implements [feature/fix] as specified in Linear ticket {{TICKET_PREFIX}}-XXX.
**Linear Ticket**: https://linear.app/{{LINEAR_WORKSPACE}}/issue/{{TICKET_PREFIX}}-XXX
## Changes Made
- Change 1
- Change 2
## Testing
```bash
yarn ci:validate
# All checks passed
š¤ Generated with Claude Code EOF )"
## Merge Strategy
**ONLY** use rebase merge:
```bash
# CORRECT
gh pr merge --rebase --delete-branch
# NEVER
gh pr merge --squash # Loses commit history
gh pr merge --merge # Creates merge commits
Before merging any PR, invoke QAS for independent review:
Task tool: QAS subagent
Prompt: "Review PR #XXX for {{TICKET_PREFIX}}-YYY. Validate commit format, CI status, patterns."
.github/pull_request_template.mdCONTRIBUTING.md (Pull Request Process section)docs/CI-CD-Pipeline-Guide.mddocs/sop/AGENT_WORKFLOW_SOP.md (3-stage review chain)