MCP HubMCP Hub
Вернуться к навыкам

git-sync-manager

vamseeachanta
Обновлено Today
9 просмотров
3
2
3
Посмотреть на GitHub
Другоеbashgitsyncmulti-repobatchautomation

О программе

Навык git-sync-manager позволяет выполнять пакетные операции Git в нескольких репозиториях из центрального рабочего пространства. Он предоставляет автоматизированные шаблоны синхронизации для рабочих процессов fetch, pull и push, что идеально подходит для согласованного управления множеством репозиториев. Используйте его для автоматизации ежедневных задач синхронизации и создания CLI-инструментов управления репозиториями, но не применяйте для сложных слияний, требующих ручного вмешательства.

Быстрая установка

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

Скопируйте и вставьте эту команду в Claude Code для установки этого навыка

Документация

Git Sync Manager

When to Use This Skill

Use when:

  • Managing multiple Git repositories from a central location
  • Performing batch git operations (pull, commit, push)
  • Need consistent sync workflows across many repos
  • Automating daily/periodic repository synchronization
  • Building repository management CLIs

Avoid when:

  • Single repository operations
  • Complex merge/rebase workflows requiring manual intervention
  • Repositories with conflicting changes that need resolution

Complete Example: Repository Sync CLI

Full implementation combining all patterns:

#!/bin/bash
# ABOUTME: Complete multi-repository sync manager
# ABOUTME: Provides pull, commit, push, sync, and status operations

set -e

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
WORKSPACE_ROOT="${WORKSPACE_ROOT:-$(dirname "$SCRIPT_DIR")}"

# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
CYAN='\033[0;36m'
NC='\033[0m'

# ─────────────────────────────────────────────────────────────────
# Repository Discovery
# ─────────────────────────────────────────────────────────────────

declare -a REPOS=()
declare -A CATEGORIES=()

*See sub-skills for full details.*

## Resources

- [Git Reference](https://git-scm.com/docs)
- [Bash Arrays](https://www.gnu.org/software/bash/manual/html_node/Arrays.html)
- [Associative Arrays in Bash](https://www.gnu.org/software/bash/manual/html_node/Arrays.html)

---

## Version History

- **1.0.0** (2026-01-14): Initial release - extracted from workspace-hub repository sync scripts

## Sub-Skills

- [1. Repository Discovery from .gitignore](1-repository-discovery-from-gitignore/SKILL.md)
- [2. Multi-Phase Sync Pattern](2-multi-phase-sync-pattern/SKILL.md)
- [3. Repository Status Check (+1)](3-repository-status-check/SKILL.md)
- [5. Safe Branch Operations](5-safe-branch-operations/SKILL.md)
- [1. Always Check Before Operating (+4)](1-always-check-before-operating/SKILL.md)

GitHub репозиторий

vamseeachanta/workspace-hub
Путь: .claude/skills/_core/bash/git-sync-manager

Похожие навыки

content-collections

Мета

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

Просмотреть навык

sglang

Мета

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

Просмотреть навык

cloudflare-turnstile

Мета

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

Просмотреть навык

cloudflare-cron-triggers

Тестирование

This skill provides comprehensive knowledge for implementing Cloudflare Cron Triggers to schedule Workers using cron expressions. It covers setting up periodic tasks, maintenance jobs, and automated workflows while handling common issues like invalid cron expressions and timezone problems. Developers can use it for configuring scheduled handlers, testing cron triggers, and integrating with Workflows and Green Compute.

Просмотреть навык