finishing-a-development-branch
Gitブランチを自信を持って完了する
こちらからも入手できます: CodingCossack,ZhanlinCui,Cycleaddict,davila7,DYAI2025,Cygnusfear,obra
このスキルは、テストの通過を確認し、明確なマージ/PRオプションを提示し、選択したワークフローを安全に実行することで、機能開発の最後のステップを自動化します。
スキルZIPをダウンロード
Claudeでアップロード
設定 → 機能 → スキル → スキルをアップロードへ移動
オンにして利用開始
テストする
「finishing-a-development-branch」を使用しています。 I'm done with my feature. Can you help me finish this branch?
期待される結果:
Running test suite...
✓ All tests pass (42 passed, 0 failed)
Implementation complete. What would you like to do?
1. Merge back to main locally
2. Push and create a Pull Request
3. Keep the branch as-is (I'll handle it later)
4. Discard this work
Which option?
「finishing-a-development-branch」を使用しています。 Option 2 - create a PR
期待される結果:
✓ Pushed branch 'feature/add-user-auth'
✓ Created PR #42: Add user authentication
✓ Removed worktree at '/Users/dev/project/.git/worktrees/feature-add-user-auth'
Branch complete! Pull request created and worktree cleaned up.
セキュリティ監査
安全All static findings are false positives. The 23 external command detections are legitimate git operations (checkout, branch, merge, push, worktree) that form the core functionality of this git workflow skill. The 2 filesystem detections are standard shell redirection and git worktree management. The high-severity crypto flags are false positives from text pattern misidentification.
リスク要因
⚙️ 外部コマンド (6)
📁 ファイルシステムへのアクセス (2)
品質スコア
作れるもの
機能ブランチを完了する
実装タスクを完了した後、このスキルを使用して完了した作業をクリーンにマージまたはPRします
開発worktreeをクリーンアップする
開発が完了した後、開発中に作成された一時的なworktreeを削除するために使用します
チーム内のブランチ完了を標準化する
チームメンバー間での一貫したブランチ完了ワークフローを確保する
これらのプロンプトを試す
I'm done with my feature. Can you help me finish this branch?
All tests are passing. I want to create a pull request and clean up my worktree.
Please merge my branch into main locally and verify tests still pass.
I want to discard this work. Please confirm before deleting anything.
ベストプラクティス
- 壊れたコードのマージを防ぐため、オプションを提示する前に常にテストが通過することを確認する
- ユーザーの選択を明確にするため、追加の説明なしで正確に4つのオプションを提示する
- 作業の偶発的な損失を防ぐため、入力による'discard'確認を要求する
回避
- テスト検証をスキップして直接マージまたはPRに進む
- オプションを提示する代わりに'What should I do next?'などの開かれた質問をする
- すべてのオプションに対して自動的にworktreeをクリーンアップする(マージと破棄のみ実行)