Home / Commands / affaan-m/ECC

epic-sync

Sync epic issue bodies, labels, and local coordination snapshots from GitHub.

commandLicense: MIT Source: affaan-m/ECC

Install

Copy this folder into your Claude Code project (needs Node.js):

curl -fsSL --create-dirs -o .claude/commands/epic-sync.md https://raw.githubusercontent.com/affaan-m/ECC/HEAD/commands/epic-sync.md

Or install it for every project:

curl -fsSL --create-dirs -o ~/.claude/commands/epic-sync.md https://raw.githubusercontent.com/affaan-m/ECC/HEAD/commands/epic-sync.md

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
description: Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
---

# /epic-sync

Run a deterministic sync for epic issues.

```bash
node scripts/github-coordination.js sync --repo <owner/repo>
```

What this does:

1. Reads issue bodies as the canonical epic state.
2. Reconciles the coordination block with labels.
3. Writes a fresh local snapshot for each epic issue.
4. Keeps the SQLite cache aligned with GitHub.

Compatibility aliases:

- `/projects`
- `/work-items sync-github`