スキル一覧に戻る
ether-moon

managing-git-workflow

by ether-moon

0🍴 0📅 2025年12月22日
GitHubで見るManusで実行

SKILL.md


name: managing-git-workflow description: Automates git commits, push, and PR creation with context-aware messages and ticket extraction. Use when performing git operations, creating commits/PRs, or when user mentions git, GitHub, commit, push, or pull request.

Managing Git Workflow

Overview

Automates git workflows for commit, push, and PR creation with context-aware message generation and automatic ticket number extraction.

When to Use

  • Creating commits with auto-generated messages in project's language
  • Pushing changes (with automatic commit if needed)
  • Creating PRs (with automatic push and commit if needed)
  • When user mentions: git, commit, push, pull request, PR, GitHub

Workflow Selection

TaskReference DocumentAuto-includes
Commit onlymanaging-git-workflow/reference/commit.md-
Push to remotemanaging-git-workflow/reference/push.mdCommit (if uncommitted changes)
Create PRmanaging-git-workflow/reference/pr.mdPush + Commit (if needed)

Common Principles

Commit Messages:

  • Use language specified in project context, prompts, or documentation (default to English if unspecified)
  • Follow existing project patterns (analyze with git log --online -10)
  • Include ticket numbers (FMT-XXXXX, FLEASVR-XXX, etc.) if found in branch name or changes

Branch Naming:

  • Extract ticket numbers from branch names for PR titles
  • Use descriptive, concrete names

Helper Scripts:

  • Common git operations available in git-helpers.sh
  • Use source to load helpers when needed

Quick Reference

# Load helper functions
source $SKILL_DIR/git-helpers.sh

# Check status
has_uncommitted_changes  # returns 0 if true
has_unpushed_commits     # returns 0 if true
get_current_branch       # echoes branch name
check_pr_exists          # returns 0 if PR exists

Implementation

For commit workflow: See managing-git-workflow/reference/commit.md

For push workflow: See managing-git-workflow/reference/push.md

For PR workflow: See managing-git-workflow/reference/pr.md

Each reference document provides step-by-step instructions for that specific operation.

スコア

総合スコア

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

レビュー

💬

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