stash

Preserves uncommitted work on a local wip branch with a descriptive commit and context note.

1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/pnewsam/skills --skill stash-pnewsam
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stash
Source: https://github.com/pnewsam/skills/tree/main/archive/registry-rebuild/stash
Command: npx skills add https://github.com/pnewsam/skills --skill stash-pnewsam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Switching tasks mid-work risks losing uncommitted changes or cluttering your history with meaningless commits. This Skill shelves in-progress work safely on a dedicated local wip branch, capturing both the code and the reasoning behind it, then returns you to a clean working tree on your original branch. ## Core Features & Use Cases - Local WIP Snapshots: Moves related uncommitted changes to a wip/<description> branch in one atomic commit with a structured message describing what works, what is partial, and what remains. - Context Notes: Writes a markdown context file from a template capturing the goal, current state, files changed, next steps, and decisions that a diff alone cannot explain. - Safety Guardrails: Never pushes to origin, never runs destructive git commands, avoids overwriting existing wip branches by appending numeric suffixes, and flags secrets or build artifacts before staging. - Use Case: You are halfway through an auth token rotation refactor when an urgent bug report arrives. Use this Skill to stash the refactor on wip/auth-token-rotation with full context, fix the bug on a clean tree, then resume later by reading the context note. ## Quick Start Use the stash skill to save my current uncommitted changes on a local wip branch and return me to my original branch.

Frequently Asked Questions about stash

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save uncommitted git work without pushing?▼

Create a local wip branch with git switch -c, which carries uncommitted changes automatically, then commit them with a descriptive message. This Skill automates that flow and adds a context note, never pushing to origin.

How is a wip branch different from git stash?▼

A wip branch stores work as a real commit with a descriptive message and a markdown context file, making it easy to browse, diff, and resume later. Git stash entries are unnamed, easy to forget, and carry no explanation of intent.

Does this Skill push my work to a remote repository?▼

No, it is strictly local and never pushes to origin. When you later decide the work is ready to share, you publish it separately with a PR workflow.

What happens if a wip branch with the same name already exists?▼

The Skill never overwrites existing branches. It appends a numeric suffix such as wip/auth-refactor-2 until it finds a free name, preserving all previously stashed work.

How do I resume work saved on a wip branch?▼

Run git switch wip/<name> to check out the branch, then read the context file in docs/tmp/ or the .wip-context file to see the goal, current state, and next steps. The Skill can also summarize where things left off.