unify-worktree-memory

unify-worktree-memory

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "unify-worktree-memory" with this command: npx skills add basecamp/skills/basecamp-skills-unify-worktree-memory

unify-worktree-memory

Open @references/guide.md and follow it. Do not proceed without it.

Consolidate Claude Code's per-project memory across git worktrees so every branch of the same repo shares accumulated knowledge. The solution uses symlinks (Claude Code follows them transparently) and a SessionStart hook for automatic setup of future worktrees.

The guide contains:

  • How Claude Code memory paths work and why worktrees fragment them

  • One-time consolidation script for existing worktrees

  • SessionStart hook for automatic future worktree handling

  • Path encoding rules and prefix collision disambiguation

  • Edge cases: orphaned worktrees, ambiguous repo name prefixes, content merging

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

basecamp

No summary provided by upstream source.

Repository SourceNeeds Review
General

skill-crafting

No summary provided by upstream source.

Repository SourceNeeds Review
General

consult-outside-expert

No summary provided by upstream source.

Repository SourceNeeds Review