Skip to content
Back to skills

Dump Commit

ASecurity

Quick commit all files with a short 1-line message. Saves tokens by skipping detailed diff analysis. Use when the user wants a fast save (e.g. "/dump-commit" or "/dump-commit fix upgrade flow").

  • 66 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 20, 2026
securitybashgit

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add thaitype/chief --skill dump-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dump Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dump Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thaitype-dump-commit/badge)](https://www.skillsdirectory.com/skills/thaitype-dump-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dump-commit
description: Quick commit all files with a short 1-line message. Saves tokens by skipping detailed diff analysis. Use when the user wants a fast save (e.g. "/dump-commit" or "/dump-commit fix upgrade flow").
---

Commit all current changes with minimal token usage.

## Arguments

Optional: a commit message string. If provided, use it as-is. If not provided, auto-generate from file names.

## Steps

### 1. Check for secrets

Run `git status`. If any staged or untracked file matches these patterns, **warn the user and STOP** — do not commit:

- `.env*`
- `*credentials*`
- `*secret*`
- `*.pem`
- `*.key`

### 2. Stage all files

```bash
git add -A
```

### 3. Generate or use commit message

If the user provided a message in the arguments → use it directly.

If no message was provided, generate a 1-line message using these sources (in priority order):

1. **Recent conversation context** — if the conversation contains clear context about what was just done (e.g. "add chief-retro skill", "fix upgrade script"), use that to write a meaningful message.
2. **File names from `git diff --cached --stat`** — if no conversation context, fall back to summarizing changed file names (e.g. `wip: update chief-agent, chief-plan, upgrade.sh`).

Do NOT read file content or full diffs. Keep the message under 72 characters.

### 4. Commit

```bash
git commit -m "<message>"
```

## Rules

- NEVER read file content or full diffs — only `--stat` output
- NEVER ask the user to review the message — just commit
- NEVER add Co-Authored-By or multi-line messages
- If nothing to commit (clean working tree), say so and stop

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.