Skip to content
CommandImported

bidirectional-sync

Enable comprehensive bidirectional GitHub-Linear synchronization with conflict resolution

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 2.9 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/bidirectional-sync.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/bidirectional-sync.zip -d ~/.claude/commands

Instructions

Bidirectional Sync

Enable comprehensive bidirectional GitHub-Linear synchronization: $ARGUMENTS

Current Sync Environment

  • GitHub status: !gh api user 2>/dev/null && echo "✓ Authenticated" || echo "⚠ Not authenticated"
  • Linear MCP: Check if Linear MCP server is available and configured
  • Sync state: @.sync-state.json or @sync/ (if exists)
  • Webhooks: !gh api repos/{owner}/{repo}/hooks 2>/dev/null | grep -c linear || echo "0"

Task

Implement robust bidirectional synchronization between GitHub Issues and Linear tasks:

Sync Mode: Use $ARGUMENTS to specify full sync, incremental sync, dry-run preview, or conflict resolution strategy

Synchronization Framework:

  1. Sync State Management - Initialize sync database, track entity relationships, maintain sync history
  2. Conflict Detection - Identify simultaneous changes, field-level conflicts, timing issues
  3. Resolution Strategies - NEWER_WINS, GITHUB_WINS, LINEAR_WINS, or intelligent field-level merge
  4. Transaction Management - Atomic operations, rollback capability, distributed locking
  5. Webhook Integration - Real-time event handling, sync loop prevention, automated triggers
  6. Data Integrity - Bidirectional validation, cross-reference maintenance, audit trails

Advanced Features: Field-level merge rules, sync loop prevention, webhook automation, performance optimization, comprehensive monitoring.

Production Ready: Transaction safety, conflict resolution, error recovery, performance monitoring, comprehensive logging.

Output: Complete bidirectional sync system with conflict resolution, webhook integration, performance metrics, and comprehensive sync reporting.

Files

  • LICENSE1 KB
  • bidirectional-sync.md1.9 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/sync/bidirectional-sync.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report