From session-sync
This skill should be used when the user says "sync session", "save what we learned", "update project docs", "end of session", or wants to persist learnings from the current conversation to CLAUDE.md, memory files, and git.
How this skill is triggered — by the user, by Claude, or both
Slash command
/session-sync:session-syncThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Capture and persist session learnings: summarise → confirm → update docs and memory → commit.
Capture and persist session learnings: summarise → confirm → update docs and memory → commit.
Present a structured summary covering:
One sentence per item. Bullet points only.
Ask: "Does this look right? Anything to correct or add before I write it all down?"
Do not proceed to Step 3 without explicit approval. Incorporate any corrections, then re-confirm if changes are substantial.
Edit surgically — add or correct only what changed this session. Do not rewrite stable sections. Target:
Check CLAUDE.md for what reference files the project maintains and when to update them. Only update files that are relevant to this session's learnings.
Check CLAUDE.md for the project's memory conventions. If no conventions are specified, default to a memory/ folder in the project root.
For projects using the dual-write pattern (project memory/ folder + auto-memory path), write to both and keep MEMORY.md in sync in both locations.
See references/memory-conventions.md for the dual-write pattern detail and how to derive the auto-memory path.
Memory file format:
---
name: <name>
description: <one-line relevance hint for future sessions>
type: user | feedback | project | reference
---
<content>
For feedback/project types: lead with the rule/fact, then **Why:** and **How to apply:** lines.
Update the MEMORY.md index whenever a file is added or changed.
git add CLAUDE.md memory/ <any reference files changed>
git commit -m "Session sync: <one-line summary>"
If the project has a pre-commit hook that handles additional artefacts (DB dumps, etc.), stage broadly and let the hook handle it.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub jamezpolley/claude-plugins --plugin session-sync