AI SummaryThis skill enables developers to save and retrieve Git changes across Claude Code sessions by linking stash entries to session IDs, maintaining continuity when resuming work. It benefits developers who work on code iteratively across multiple conversations and need to preserve work-in-progress state.
Install
# Add to your project root as SKILL.md curl -o SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/stash/SKILL.md"
Description
This skill should be used when the user asks to "stash with session", "save work for later session", "link stash to session", "find stash by session ID", or "restore session stash". Saves git changes associated with Claude Code session ID for later retrieval.
Stash Session
Save git changes to stash with Claude Code session ID for later retrieval and session continuity.
Purpose
Link git stash entries to Claude Code sessions. When resuming work, find the exact stash associated with a previous conversation.
Message Format
` claude:[session_id] [user_message] ` Example: claude:abc123de My feature work in progress
Save (Default)
Stash current changes with current session ID tag. Current Session ID: ${CLAUDE_SESSION_ID} Workflow • Call AskUserQuestion to collect stash message: • Prompt: "Enter a description for this stash (optional):" • Default to "WIP" if empty • Execute stash: `bash git stash push -m "claude:${CLAUDE_SESSION_ID} [message]" ` • Confirm success with stash reference.
Quality Score
Good
79/100
Trust & Transparency
Open Source — MIT
Source code publicly auditable
Verified Open Source
Hosted on GitHub — publicly auditable
Actively Maintained
Last commit Yesterday
100 stars — Growing Community
15 forks