スキル一覧に戻る
erikpr1994

pr-workflow

by erikpr1994

0🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: pr-workflow description: "Use when creating PRs, managing stacked PRs, or completing feature branches."

PR Workflow

Goal: Clean PRs that are easy to review and merge.

Workflow

PREPARE -> Verify tests, clean commits
PUSH    -> git push -u origin branch
CREATE  -> gh pr create with description
RESPOND -> Address review feedback
MERGE   -> gh pr merge --squash
CLEANUP -> Delete branch, pull main

Create PR

# Prepare
npm test && npm run build && git status

# Push and create
git push -u origin feature/auth
gh pr create --title "Add authentication" --body "$(cat <<'EOF'
## Summary
- Add login/logout endpoints
- Implement JWT handling

## Test Plan
- [ ] Login with valid credentials
- [ ] Protected routes require token
EOF
)"

Respond to Review

SeverityAction
CriticalFix immediately
ImportantFix before approval
MinorFix or discuss

Merge and Cleanup

gh pr merge --squash
git checkout main && git pull
git branch -d feature/auth

Stacked PRs

# PR 1: Base
git checkout -b feature/auth-db && gh pr create --base main

# PR 2: Depends on PR 1
git checkout -b feature/auth-api && gh pr create --base feature/auth-db

# Merge bottom-up, rebase each after merge

Decision Criteria

SituationAction
Tests failingDon't create. Fix first.
Large changeSplit into stacked PRs
Approved + CI greenMerge immediately

Pairs with: code-review, commit-discipline, verification

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です