スキル finishing-a-development-branch
📦

finishing-a-development-branch

安全 ⚙️ 外部コマンド📁 ファイルシステムへのアクセス

Gitブランチを自信を持って完了する

こちらからも入手できます: CodingCossack,ZhanlinCui,Cycleaddict,davila7,DYAI2025,Cygnusfear,obra

このスキルは、テストの通過を確認し、明確なマージ/PRオプションを提示し、選択したワークフローを安全に実行することで、機能開発の最後のステップを自動化します。

対応: Claude Codex Code(CC)
🥉 75 ブロンズ
1

スキルZIPをダウンロード

2

Claudeでアップロード

設定 → 機能 → スキル → スキルをアップロードへ移動

3

オンにして利用開始

テストする

「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.

セキュリティ監査

安全
v1 • 2/25/2026

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.

1
スキャンされたファイル
206
解析された行数
2
検出結果
1
総監査数

リスク要因

監査者: claude

品質スコア

38
アーキテクチャ
100
保守性
85
コンテンツ
50
コミュニティ
100
セキュリティ
100
仕様準拠

作れるもの

機能ブランチを完了する

実装タスクを完了した後、このスキルを使用して完了した作業をクリーンにマージまたはPRします

開発worktreeをクリーンアップする

開発が完了した後、開発中に作成された一時的なworktreeを削除するために使用します

チーム内のブランチ完了を標準化する

チームメンバー間での一貫したブランチ完了ワークフローを確保する

これらのプロンプトを試す

基本的なブランチ完了
I'm done with my feature. Can you help me finish this branch?
PRを作成してクリーンアップ
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をクリーンアップする(マージと破棄のみ実行)

よくある質問

テストが失敗した場合はどうなりますか?
スキルは停止し、テストの失敗を表示します。テストが通過するまでオプションステップには進しません。
最初にプッシュせずにPRを作成できますか?
いいえ。オプション2はPRを作成する前にoriginにブランチをプッシュする必要があります。
worktreeとは何ですか?
git worktreeを使用すると、複数のブランチを別のディレクトリで同時にチェックアウトできます。
このスキルはマージ競合を処理しますか?
いいえ。スキルは競合を報告して停止します。手動で解決する必要があります。
どのgitホストがサポートされていますか?
PR作成にはGitHubとgh CLIが必要です。他のホストはローカルマージのみに対応しています。
オプション3(ブランチを保持)を選んだ場合はどうなりますか?
ブランチとworktreeは保持されます。クリーンアップは行われません。後でユーザーが手動で処理します。

開発者の詳細

ファイル構成

📄 SKILL.md