sync-automation-setup — команда Claude Code: синхронизация
Настраивает синхронизацию между GitHub и Linear, вебхуки, CI/CD и мониторинг. Пригодится для развёртывания такой схемы в проекте.
npx claude-code-templates@latest --command sync/sync-automation-setupЧто делает sync-automation-setup
Команда проверяет доступ к GitHub и Linear MCP, состояние Docker, вебхук-эндпоинтов, базы данных и очередей. Она также ищет существующие конфигурации CI/CD. Доступны режимы полной настройки, вебхуков, мониторинга и выбора цели развёртывания через аргументы.
Дальше команда настраивает вебхуки GitHub и Linear, обработку событий, очереди, состояние синхронизации, схему базы данных, резервные копии, проверки здоровья и уведомления. В проект могут добавляться рабочие процессы GitHub Actions и расписание синхронизации. Для работы нужны доступ к GitHub и Linear MCP, а также доступные Docker, вебхук-эндпоинты, база данных и сервисы очередей.
Какие задачи решает
- проверить доступ к GitHub и Linear MCP
- настроить вебхуки для синхронизации
- создать рабочие процессы CI/CD
- добавить мониторинг и оповещения
- подготовить базу данных состояния
Примеры запросов агенту
- Настрой полную автоматизацию синхронизации с помощью
/sync-automation-setup --full. - Проверь и настрой только вебхуки через
/sync-automation-setup --webhooks-only. - Подготовь мониторинг и цель развёртывания для проекта:
/sync-automation-setup --monitoring --deploy-target.
Как установить sync-automation-setup
1Через claude-code-templates
npx claude-code-templates@latest --command sync/sync-automation-setup2Вручную: положить файлы
.claude/commands/sync-automation-setup.mdВызов — /sync-automation-setup. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/sync-automation-setup.mdВызов — /prompts:sync-automation-setup. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/sync-automation-setup.prompt.mdВручную: положить файлы
.gemini/commands/sync-automation-setup.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Вопросы о sync-automation-setup
Как установить sync-automation-setup в Claude Code?
Выполните npx claude-code-templates@latest --command sync/sync-automation-setup, затем используйте файл .claude/commands/sync-automation-setup.md.
Что делает sync-automation-setup?
Команда собирает сведения о текущей инфраструктуре и настраивает синхронизацию GitHub и Linear: вебхуки, CI/CD, очереди, базу состояния, мониторинг и уведомления.
Что команда проверяет перед настройкой?
Она проверяет GitHub CLI, доступность Linear MCP, Docker, вебхук-эндпоинты, подключение к базе данных, сервисы очередей и существующие файлы CI/CD.
Исходный текст
sync-automation-setup.md · MIT
--- allowed-tools: Read, Write, Edit, Bash argument-hint: "[setup-mode] | --full | --webhooks-only | --monitoring | --deploy-target" description: Setup comprehensive automated synchronization workflows with monitoring and CI/CD integration --- # Sync Automation Setup Setup comprehensive automated synchronization workflows: **$ARGUMENTS** ## Current Infrastructure State - GitHub CLI: !`gh --version 2>/dev/null && echo "✓ Available" || echo "⚠ Not available"` - Linear MCP: Check Linear MCP server availability and configuration - Infrastructure: Docker, webhook endpoints, database connectivity, queue services - CI/CD: !`find . -name ".github" -o -name ".gitlab-ci.yml" -o -name "azure-pipelines.yml" | wc -l` existing workflows ## Task Configure production-ready automated synchronization with comprehensive infrastructure: **Setup Mode**: Use $ARGUMENTS to specify full automation, webhooks-only, monitoring setup, or deployment target **Automation Framework**: 1. **Prerequisites Setup** - Validate GitHub/Linear access, check infrastructure requirements, configure authentication, test connectivity 2. **Webhook Configuration** - Setup GitHub/Linear webhooks, configure endpoints, implement security, test delivery 3. **CI/CD Integration** - Create GitHub Actions workflows, setup scheduled syncs, implement event handling, configure deployments 4. **Sync Server Deployment** - Configure sync engine, setup queue management, implement error handling, enable monitoring 5. **Database & State Management** - Initialize sync databases, setup schema, configure backups, implement state tracking 6. **Monitoring & Alerting** - Configure dashboards, setup alerts, implement health checks, enable notifications **Advanced Features**: Real-time webhook processing, intelligent conflict resolution, comprehensive monitoring, scalable infrastructure. **Production Ready**: High availability setup, comprehensive error handling, performance monitoring, security implementation, automated backups. **Output**: Complete automation infrastructure with webhook integration, CI/CD workflows, monitoring dashboards, and production deployment capabilities.
© davila7 · MIT · davila7/claude-code-templates