Skill

stash

by majiayu000

AI Summary

This 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

B

Good

79/100

Standard Compliance72
Documentation Quality65
Usefulness78
Maintenance Signal100
Community Signal92
Scored Yesterday

GitHub Signals

Stars100
Forks15
Issues1
UpdatedYesterday
View on GitHub

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

My Fox Den

Community Rating

Works With

Claude Code