スキル一覧に戻る
pluginagentmarketplace

advanced-git

by pluginagentmarketplace

Advanced Git and GitHub plugin with collaboration workflows and CI/CD

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

SKILL.md


name: advanced-git description: Advanced Git - interactive rebase, cherry-pick, bisect, reflog, and power user operations sasmp_version: "1.3.0" bonded_agent: git-expert bond_type: SECONDARY_BOND category: development version: "2.0.0" triggers:

  • git reflog
  • git bisect
  • cherry pick
  • interactive rebase

Advanced Git Skill

Production-Grade Development Skill | Version 2.0.0

Power user Git operations and debugging.

Skill Contract

Input Schema

input:
  type: object
  properties:
    operation:
      type: string
      enum: [reflog, bisect, cherry-pick, rebase-interactive, stash, worktree]
    target:
      type: string
      description: Commit hash, branch, or range
    options:
      type: object
      properties:
        dry_run:
          type: boolean
          default: true  # Safe default
        confirm_destructive:
          type: boolean
          default: false

Output Schema

output:
  type: object
  required: [result, success, risk_level]
  properties:
    result:
      type: string
    success:
      type: boolean
    risk_level:
      type: string
      enum: [low, medium, high, critical]
    rollback_command:
      type: string

Error Handling

Retry Logic

retry_config:
  max_attempts: 2
  backoff_ms: [1000, 2000]
  retryable:
    - timeout
  non_retryable:
    - conflict
    - invalid_reference

Safety Checks

pre_operation_checks:
  - verify_clean_working_tree
  - verify_not_on_shared_branch
  - create_backup_ref

Recovery Operations

Reflog: Your Safety Net

git reflog
# abc1234 HEAD@{0}: commit: Add feature
# def5678 HEAD@{1}: rebase: finished

# Recover "lost" commit
git branch recovery-branch abc1234

Interactive Rebase

git rebase -i HEAD~5

# Commands:
# pick   - keep commit
# reword - edit message
# squash - merge with previous
# drop   - remove commit

Cherry-Pick

git cherry-pick abc1234           # Single commit
git cherry-pick abc1234^..def5678 # Range
git cherry-pick --abort           # On conflict

Git Bisect

git bisect start
git bisect bad
git bisect good abc1234
# Test and mark good/bad until found
git bisect reset

Stash Operations

git stash push -m "WIP feature"
git stash list
git stash apply stash@{0}
git stash pop

Troubleshooting Guide

Debug Checklist

□ 1. Current HEAD? → git rev-parse HEAD
□ 2. Reflog available? → git reflog
□ 3. Operation in progress? → ls .git/

Common Issues

ErrorCauseSolution
"could not apply"Cherry-pick conflictResolve and continue
"refusing to rebase"Uncommitted changesStash first

Command Risk Matrix

CommandRisk Level
git reflogLOW
git stashLOW
git cherry-pickMEDIUM
git rebase -iHIGH
git filter-repoCRITICAL

Observability

logging:
  level: DEBUG
  events:
    - operation_started
    - backup_created
    - conflict_detected

metrics:
  - rebase_success_rate
  - recovery_operations

"With great power comes great responsibility - and the ability to undo mistakes."

スコア

総合スコア

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

レビュー

💬

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