Bidirectional Sync
Enable comprehensive bidirectional GitHub-Linear synchronization with conflict resolution
npx claude-code-templates@latest --command sync/bidirectional-sync Scanned by NVIDIA SkillSpector
Automated static analysis (no LLM) · v2.12.0 · 2026-10-23
SkillSpector looks for patterns such as shell commands, credential access, network calls or unpinned dependencies. An observation is something worth reading in the files before you install, not a confirmed vulnerability. Components that run code locally, like hooks, MCP servers and security tooling, naturally show more of them.
No observations.
Learn more about NVIDIA SkillSpector.
Content
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:
- Sync State Management - Initialize sync database, track entity relationships, maintain sync history
- Conflict Detection - Identify simultaneous changes, field-level conflicts, timing issues
- Resolution Strategies - NEWER_WINS, GITHUB_WINS, LINEAR_WINS, or intelligent field-level merge
- Transaction Management - Atomic operations, rollback capability, distributed locking
- Webhook Integration - Real-time event handling, sync loop prevention, automated triggers
- 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.