Development v1.0.2

stash-namer

Generate meaningful git stash names from your changes. Use when stashing work.

Git Stash Name Generator 更新于 2026-11-23 1 浏览
下载 SKILL

技能说明

Generate meaningful git stash names from your changes. Use when stashing work.

使用场景

Stop naming stashes "WIP" or leaving them unnamed. This reads your changes and creates a meaningful stash name.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/stash-namer
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

3 个文件 · 17 kB
SKILL.md text/markdown
---
name: stash-namer
description: Generate meaningful git stash names from your changes. Use when stashing work.
---

# Stash Namer

Stop naming stashes "WIP" or leaving them unnamed. This reads your changes and creates a meaningful stash name.

**One command. Zero config. Just works.**

## Quick Start

```bash
npx ai-stash-name
```

## What It Does

- Reads your staged and unstaged changes
- Generates a descriptive stash name
- Actually runs git stash with the name
- No more mystery stashes

## Usage Examples

```bash
# Stash with auto-generated name
npx ai-stash-name

# Preview without stashing
npx ai-stash-name --dry-run
```

## Best Practices

- **Stash early, stash often** - it's free
- **Name them well** - future you will thank you
- **Don't hoard stashes** - apply or drop them
- **Pop, don't apply** - unless you need to keep it

## When to Use This

- Switching contexts quickly
- Saving work before pulling
- Experimenting with changes
- Any time you'd use git stash

## 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://lxgicstudios.com

## Requirements

No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.

```bash
npx ai-stash-name --help
```

## How It Works

Runs git diff to see your changes, sends the diff summary to GPT-4o-mini to generate a descriptive name, then runs git stash push -m with that name.

## License

MIT. Free forever. Use it however you want.

---

**Built by LXGIC Studios**

- GitHub: [github.com/lxgicstudios/stash-name-gen](https://github.com/lxgicstudios/stash-name-gen)
- Twitter: [@lxgicstudios](https://x.com/lxgicstudios)

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。