stash-namer
Name your git stashes meaningfully using AI. Use when you want to find your stashes later.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lxgicstudios/stash-namerStash Namer
"WIP" and "temp changes" tell you nothing. This tool names your stashes based on what you actually changed. Finally find the right stash without popping them all.
One command. Zero config. Just works.
Quick Start
npx ai-stash-name
What It Does
- Analyzes your staged/unstaged changes
- Generates a descriptive stash name
- Stashes with the generated message
- Makes git stash list actually useful
Usage Examples
# Stash current changes with a good name
npx ai-stash-name
# Preview the name without stashing
npx ai-stash-name --dry-run
# Include untracked files
npx ai-stash-name --include-untracked
# Custom prefix for team conventions
npx ai-stash-name --prefix "WIP:"
Best Practices
- Stash often with names - Small, named stashes are easier to manage
- Include the ticket - Use --prefix with your ticket number
- Review before popping - The name tells you what's in there
- Clean up old stashes - Named stashes are still stashes, don't hoard them
When to Use This
- Quick context switch but don't want to commit
- Experimenting and want to save progress
- Multiple work-in-progress changes across features
- Team uses shared branches and you need clear stash names
Part of the LXGIC Dev Toolkit
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
- GitHub: https://github.com/LXGIC-Studios
- Twitter: https://x.com/lxgicstudios
- Substack: https://lxgicstudios.substack.com
- Website: https://lxgic.dev
Requirements
No install needed. Just run with npx. Node.js 18+ recommended. Requires OPENAI_API_KEY environment variable.
export OPENAI_API_KEY=sk-...
npx ai-stash-name --help
How It Works
Runs git diff to see what changed, sends the diff summary to GPT, and gets back a concise, descriptive name. Then runs git stash push -m with that name. Simple but solves a real annoyance.
License
MIT. Free forever. Use it however you want.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lxgicstudios-stash-namer": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
script-gen
Generate package.json scripts with AI. Use when setting up npm scripts.
email-template-gen
Generate responsive email templates. Use when building transactional emails.
branch-namer
Generate descriptive git branch names from plain English. Use when you need a branch name that follows conventions.
cloudflare-gen
Generate Cloudflare Workers configuration and code. Use when building on the edge.
adr-writer
Generate Architecture Decision Records with AI. Use when documenting technical decisions.