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
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "stash" skill in my project. Please run this command in my terminal: # Install skill into the correct directory (2 files) mkdir -p .claude/skills/stash && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/stash/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/stash/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/stash/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/stash/metadata.json" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
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.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster