dump-commit
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").
How do I install this agent skill?
npx skills add https://github.com/thaitype/chief --skill dump-commitIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a shortcut for committing all changes to a Git repository quickly. It includes built-in security checks that scan for sensitive files like environment variables and private keys before staging, halting the process if any are detected to prevent accidental data leaks.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
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
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):
- 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.
- 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
git commit -m "<message>"
Rules
- NEVER read file content or full diffs — only
--statoutput - 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
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/thaitype/chief/dump-commit">View dump-commit on skillZs</a>