# collab > Track collaboration state between Claude sessions using git branches. Enables seamless context switching by persisting progress in feature branches. Use for multi-session work, handoffs, and publishing completed work. Keywords: collab, git, branch, session, checkpoint, resume, publish. - Author: Christian Kusmanow - Repository: teslasoft-de/claude-skills-marketplace - Version: 20260125005723 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/teslasoft-de/claude-skills-marketplace - Web: https://mule.run/skillshub/@@teslasoft-de/claude-skills-marketplace~collab:20260125005723 --- --- name: collab description: | Track collaboration state between Claude sessions using git branches. Enables seamless context switching by persisting progress in feature branches. Use for multi-session work, handoffs, and publishing completed work. Keywords: collab, git, branch, session, checkpoint, resume, publish. triggers: - /collab - /collab start - /collab save - /collab checkpoint - /collab publish - /collab resume - /collab list - /collab status - /collab abandon - collaboration workflow - git branch management negative_triggers: - simple one-off tasks without tracking - work already on master - non-git repositories version: 2.0.0 author: Christian Kusmanow / Claude last_updated: 2026-01-23 --- # Collaboration State Management Track collaboration state between Claude sessions using git branches. Enables seamless context switching between conversations by persisting progress in feature branches. ## When to Use - Starting multi-session work that needs tracking - Saving progress during long coding sessions - Handing off work to another conversation - Resuming previous collaboration branches - Publishing completed work to master ## When NOT to Use - Simple one-off tasks that don't need tracking - Work already on master without branching - Non-git repositories --- ## Quick Start 1. **Start:** `/collab start project/P16/plan` - Create feature branch 2. **Work:** Make changes, use `/collab save "message"` periodically 3. **Handoff:** `/collab checkpoint "message"` - Commit + push for later 4. **Resume:** `/collab resume project/P16/plan` - Continue in new session 5. **Publish:** `/collab publish` - Merge to master when complete --- ## Commands | Command | Action | |---------|--------| | `/collab` | Show current status | | `/collab start ` | Create new collaboration branch | | `/collab save "message"` | Commit progress locally | | `/collab checkpoint "message"` | Commit + push for handoff | | `/collab publish` | Fast-forward merge to master, cleanup | | `/collab resume ` | Resume existing branch | | `/collab list` | List all collaboration branches | | `/collab abandon` | Delete current feature branch (with confirmation) | --- ## Branch Naming **Vaults:** `//` (e.g., `project/P16/plan`, `goal/Q1-2026/review`) **Code repos:** `//` (e.g., `feature/P3/parser`, `bug/P1/fix`) See [Branch Naming Reference](references/branch-naming.md) for full conventions. --- ## Commit Formats - **Vaults:** `[collab:] ` (tag in title) - **Code repos:** Conventional Commits with `[collab:]` in body See [Commit Formats Reference](references/commit-formats.md) for examples. --- ## Skill Integrations ### /teslasoft - After `/collab resume` in vault, suggest running `/teslasoft` - During `/collab publish` in vault, automatically updates agenda ### /repomix - During `/collab publish` in vault, refreshes `vault-bundle.xml` ### /e2e - On `/story` or `/usecase` segments, suggest `/e2e` workflow See [Integrations Reference](references/integrations.md) for details. --- ## Failure Modes & Recovery | Issue | Recovery | |-------|----------| | Fast-forward fails | Rebase branch: `git rebase master`, then retry publish | | Working directory dirty | Run `/collab save` first or stash changes | | Branch not found | Check spelling, use `/collab list` to see available branches | | Agenda update fails | Non-blocking; run `/teslasoft update-agenda` manually | --- ## Security & Permissions - **Required tools:** Bash (git commands), Read, Write - **Confirmations:** Required for `/collab abandon` (destructive) - **Safe defaults:** Uses `--force-with-lease` (not `--force`), `--ff-only` merges --- ## Best Practices 1. Start every significant session with `/collab start` 2. Save frequently with `/collab save` 3. Checkpoint before ending conversations 4. Use descriptive segments (`/plan`, `/story`, `/docs`) 5. Include P# in branch names to link to projects 6. Publish when complete to keep master current --- ## References - [Branch Naming](references/branch-naming.md) - Full naming conventions - [Commit Formats](references/commit-formats.md) - Message format examples - [Command Handlers](references/command-handlers.md) - Detailed command procedures - [Dashboard](references/dashboard.md) - Session-end dashboard format - [Integrations](references/integrations.md) - Skill integrations --- ## Metadata ```yaml author: Christian Kusmanow / Claude version: 2.0.0 last_updated: 2026-01-23 change_surface: references/ (command details, examples) extension_points: references/command-handlers.md (new commands) ``` ### Changelog - **v2.0.0** (2026-01-23): SDL migration - Progressive disclosure structure - Split 900-line monolith into SKILL.md (~150 lines) + 5 references - Added YAML frontmatter with triggers and negative_triggers - Added "When to Use / When NOT to Use" sections - Added failure modes and security sections - **v1.5.0** (2026-01-23): Auto-refresh repomix bundle on vault publish - **v1.4.0** (2026-01-23): Auto-update Teslasoft Agenda on vault publish - **v1.3.0** (2026-01-22): Differentiated commit formats by repository type - **v1.2.0** (2026-01-22): Added Collaboration Dashboard - **v1.1.0** (2026-01-22): Added multi-repo support and WSL paths - **v1.0.0** (2026-01-21): Initial release