| name | release-patterns |
| description | PR creation, CI/CD validation, and release coordination patterns. Use when creating pull requests, running pre-PR validation, checking CI status, or coordinating merges. |
| disable-model-invocation | true |
| argument-hint | [ticket-id] |
| allowed-tools | Read, Bash, Grep, Glob |
Release Patterns Skill
Purpose
Ensure consistent PR creation, CI/CD validation, and release coordination following rebase-first workflow.
When This Skill Applies
Invoke this skill when:
- Creating pull requests
- Running pre-PR validation (
yarn ci:validate)
- Checking CI/CD status
- Coordinating merge timing
- Verifying rebase status
Stop-the-Line Conditions
FORBIDDEN Patterns
gh pr create --title "feat: add feature"
gh pr merge --squash
gh pr merge --merge
git push origin feature
git push origin feature
CORRECT Patterns
gh pr create --title "feat(scope): description [{{TICKET_PREFIX}}-XXX]"
gh pr merge --rebase --delete-branch
yarn ci:validate && git push --force-with-lease
git fetch origin && git rebase origin/dev
git push --force-with-lease origin {{TICKET_PREFIX}}-XXX-description
Pre-PR Checklist (MANDATORY)
Before creating any PR:
CI/CD Validation Command
yarn ci:validate && echo "READY FOR PR" || echo "FIX ISSUES FIRST"
PR Creation Template
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
Pre-merge Checklist
🤖 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
QAS Gate (MANDATORY)
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."
Authoritative References
- PR Template:
.github/pull_request_template.md
- Workflow Guide:
CONTRIBUTING.md (Pull Request Process section)
- CI/CD Pipeline:
docs/CI-CD-Pipeline-Guide.md
- Agent Workflow SOP:
docs/sop/AGENT_WORKFLOW_SOP.md (3-stage review chain)