Linear Sync

Skill

对照仓库的实际情况同步、审计或整顿已有的 Linear 项目:列出全部 issue、里程碑、标签与文档,按 20 分制评分并给出差距清单,逐类征得确认后再依次修复孤立 issue、里程碑、依赖与跟踪约定,最后重新评分对比前后。需要 Linear MCP。

tjcages/linear · skills/linear-sync10
README
name: linear-sync
version: 1.0.2
description: >-
  Sync, audit, or rescue an existing Linear project against repo reality. Use
  when the user asks to sync Linear, reconcile tracking, audit this project,
  fix a messy board, revive a parked project, or score readiness with the
  rubric. Runs discovery + confirmation before writes; never silent reorganize.
  NOT for first-time bootstrap (use linear-setup) or one-off CRUD.

Linear sync

Chat rules: RESPONSE.md. Auth: AUTH.md. Playbooks: METHODOLOGY.md §1a, §18, §21–§22, §26. Examples: EXAMPLES.md.

Step 0 — auth

Probe Linear MCP. On failure → AUTH.md; stop.

Operating order

  1. Identify project — search by name; confirm with user if multiple.
  2. Enumerate — open+closed issues, milestones, labels, documents, status updates (§1a).
  3. Score — §18 rubric (0–2 × 10). Pass ≥16/20 with no load-bearing 0. Emit gap list.
  4. Confirm — per-category yes/no before writes. Reorganize is higher-risk than extend.
  5. Fix in order (§22a): orphans → milestones → milestones spam collapse → dependencies → install/update discipline protocol (§5).
  6. Half-tracked? — scan docs/ for unmirrored roadmaps (§22b); separate milestone sets.
  7. Backfill-late? — §22c; corroborate doc claims (§4.8).
  8. One status update recording the cleanup if health/structure changed (§20).
  9. Re-score — show before/after totals. One next action.

Hard rules

  • Search before every create.
  • Never delete/reorganize off-limits or other-owned issues without explicit consent.
  • Ticket prose stays terse (§4). Chat follows RESPONSE.md.