Back to list
sharpner

pr-workflow

by sharpner

1🍴 0📅 Jan 9, 2026

SKILL.md


name: pr-workflow description: Use when creating, reviewing, or merging pull requests. Includes CI checks, review requirements, and merge approval rules.

PR Merge Workflow

NEVER MERGE YOURSELF - ALWAYS WAIT FOR USER APPROVAL!

STEPS (All Required)

1. Pre-PR Validation

# Run quality checks
npm test           # or: go test ./...
npm run build      # or: go build ./...
npm run lint       # or: golangci-lint run

2. Create PR

gh pr create --title "type: description (closes #issue)" --body "..."

3. Wait for CI

gh pr checks <pr-number> --watch

4. Request Reviews

  • Code review from team member
  • Security review (if auth/API changes)
  • Mobile review (if UI changes)

5. Address Feedback

  • Fix all CRITICAL issues immediately
  • Fix HIGH issues before merge
  • Create follow-up tickets for MEDIUM/LOW

6. Wait for Approval

gh pr view <pr-number> --json reviews --jq '.reviews[] | select(.state == "APPROVED")'

IF NO APPROVAL -> STOP AND WAIT!

7. After Approval Only

gh pr merge <pr-number> --squash --delete-branch

REVIEW VERDICTS

VerdictAction
PASSCan be merged
NEEDS WORKDO NOT merge! Fix first!
FAILDO NOT merge! Blocker!

PR TITLE CONVENTION

type: short description (closes #issue)

Types:
- feat: New feature
- fix: Bug fix
- refactor: Code refactoring
- docs: Documentation
- test: Adding tests
- chore: Maintenance

PR DESCRIPTION TEMPLATE

## Summary
- What changed and why

## Test Plan
- [ ] Unit tests added/updated
- [ ] Manual testing completed
- [ ] Edge cases verified

## Checklist
- [ ] Code follows project standards
- [ ] Tests pass (100% green)
- [ ] No TODOs in code
- [ ] Documentation updated (if needed)

ISSUE LABEL WORKFLOW

LabelWhen to Use
in progressActively working on issue
blockedWaiting on dependency
ready for reviewPR created, awaiting review
# Add label
gh issue edit <nr> --add-label "in progress"

# Add blocker comment
gh issue comment <nr> --body "Blocked by #<dependency> - [reason]"

NEVER DO

  • Merge without approval
  • Force push to shared branches
  • Skip CI checks
  • Merge with failing tests
  • Push directly to main

"Quality gates exist for a reason."

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon