MCP HubMCP Hub
スキル一覧に戻る

git-sync-manager-1-always-check-before-operating

vamseeachanta
更新日 Today
7 閲覧
3
2
3
GitHubで表示
その他general

について

このスキルは、破壊的な操作の前に未コミットの変更を確認し、ネットワークエラーを適切に処理することで、安全第一のGit操作を提供します。バッチコミットでのフックのスキップや操作統計の追跡などの最適化も含まれています。データ損失を防ぎ信頼性を向上させるために、自動化されたGitワークフローを構築する際にご利用ください。

クイックインストール

Claude Code

推奨
メイン
npx skills add vamseeachanta/workspace-hub
プラグインコマンド代替
/plugin add https://github.com/vamseeachanta/workspace-hub
Git クローン代替
git clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/git-sync-manager-1-always-check-before-operating

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

1. Always Check Before Operating (+4)

1. Always Check Before Operating

# Check for uncommitted changes before destructive operations
if ! git diff --quiet; then
    echo "Error: uncommitted changes"
    exit 1
fi

2. Use --no-verify for Batch Commits

# Skip hooks in batch operations for speed
git commit -m "message" --no-verify

3. Handle Offline/Network Errors Gracefully

# Suppress errors and provide fallback
if ! git pull --quiet 2>/dev/null; then
    echo "Warning: could not pull (offline?)"
fi

4. Track Operation Statistics

# Always maintain counters for summary
SUCCESS=0; FAILED=0; SKIPPED=0
# Update appropriately in each operation

5. Validate Git Repositories

# Always check .git directory exists
[[ -d "$repo/.git" ]] || continue

GitHub リポジトリ

vamseeachanta/workspace-hub
パス: .claude/skills/_core/bash/git-sync-manager/1-always-check-before-operating

関連スキル

algorithmic-art

メタ

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

スキルを見る

subagent-driven-development

開発

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

スキルを見る

executing-plans

デザイン

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

スキルを見る

cost-optimization

その他

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

スキルを見る