スキル一覧に戻る
masa-codehub

github-checkout-feature-branch

by masa-codehub

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

SKILL.md


name: github-checkout-feature-branch description: Replaces the task of ensuring development proceeds on the correct branch by switching and synchronizing branches. Typical use cases: (1) Creating a new feature branch after incorporating the latest Base Branch changes, (2) Safely returning to existing branches and synchronizing remote changes, (3) Instantly securing a workspace via automatic branch generation with timestamps.

GitHub Checkout Feature Branch

github-branch-strategy で規定されたロジックに従い、適切な作業ブランチ(Feature Branch)に切り替える。

手順

  1. 現状確認: 現在のブランチを確認する。 run_shell_command{command: "git branch --show-current"}

  2. Base Branch の準備: github-branch-strategy の定義に従い、Base Branch(指定がなければ main 等)を最新化する。 run_shell_command{command: "git checkout <base_branch> && git pull --rebase origin <base_branch>"}

  3. Feature Branch への切り替え: github-branch-strategy の定義に従い、Feature Branch に切り替える。

    • Feature Branch 名の指定がある場合: (新規作成を試み、失敗したら既存ブランチに切り替えて Base Branch を取り込む) run_shell_command{command: "git checkout -b <feature_branch> <base_branch> || (git checkout <feature_branch> && git merge <base_branch>)"}

    • Feature Branch 名の指定がない場合: (自動生成して新規作成する) run_shell_command{command: "git checkout -b feature/gemini-update-$(date +%Y%m%d-%H%M%S) <base_branch>"}

スコア

総合スコア

60/100

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

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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