AGENT SKILL

canvas-sync

Synchronize canvas state across team sessions via git. Ensures all team members see the same product knowledge.

License 许可
MIT
所属仓库
haabe/mycelium
最近更新
2026-11-13
Stars
★ 54
Forks
6

01 前言 Front Matter

name
canvas-sync
metadata
{ "instruction_budget": "8", "framework_dependency": "mycelium", "framework_dependency_note": "This skill is designed to run within the Mycelium framework (https://github.com/haabe/mycelium). Standalone use will skip the canvas state, theory gates, and harness behavior the skill assumes. Install: /plugin install mycelium@haabe-mycelium." }
description
Synchronize canvas state across team sessions via git. Ensures all team members see the same product knowledge.

03 SKILL.md 正文

Canvas Sync

When to Use

  • Starting a new session (pull latest canvas)
  • Ending a session (commit canvas changes)
  • After team discussion that changes product direction
  • When canvas conflicts arise from parallel work

Workflow

Pull Latest

git pull origin main

Then run /mycelium:diamond-assess to see what changed.

Commit Changes

git add .claude/canvas/ .claude/diamonds/ .claude/harness/decision-log.md .claude/memory/
git commit -m "canvas: [brief description of what changed and why]"

Conflict Resolution

  • Different canvas files: auto-merges (no conflict)
  • Same file, different sections: usually auto-merges
  • Same field conflicting: the person with more evidence wins — a manual resolution heuristic for the team, not an automated merge. No tooling evaluates evidence weight; Gated by: a /canvas-merge procedure (read both versions, compare provenance depth on overlapping entries, recommend) — not yet built.
  • When uncertain: discuss as team, log decision

GitOps Principle

The canvas system IS GitOps for product knowledge — git is the single source of truth, changes are declarative (YAML), and updates flow through version control with review. For infrastructure GitOps (ArgoCD, Flux), see JiT tooling detection for Kubernetes/infrastructure-as-code projects.

04 同仓库更多 Skills