beads-session-sync

dikini 的头像作者 dikini

Flush and sync Beads changes to git (export/commit/pull/import/push)

📖 中文导读:Flush and sync Beads changes to git (export/commit/pull/import/push) 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: beads-session-sync description: Flush and sync Beads changes to git (export/commit/pull/import/push)

Beads: session sync

When to use

Use this at the end of any session where Beads tasks are changed.

This follows Beads upstream agent workflow guidance: bd sync forces an immediate flush of pending changes and synchronizes with the remote.

Procedure

  1. Run:
bd sync
  1. Confirm:
  • command succeeded (exit code 0)
  • repo state is clean (git status shows no Beads JSONL changes pending)

Notes

  • If your environment requires explicit git push, Beads' bd sync should handle it; if it fails, report the failure clearly and stop.