mcpField
D
dump-commit

dump-commit

github.com/thaitypeDevelopment66130 installsUpdated 5w ago
Repository

About dump-commit

dump-commit is a skill for committing all current repository changes with minimal token use. It checks for specified secret-like files, then stages changes and uses a supplied or automatically generated one-line commit message.

Key features

  1. 01Checks for secret-like files before committing
  2. 02Stages all changes
  3. 03Uses a supplied commit message
  4. 04Generates a message from context or file names
  5. 05Avoids reading file contents and full diffs

Use cases

  1. 01Committing a completed batch of changes
  2. 02Creating a short commit from changed file names

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/thaitype/chief --skill dump-commit

After installing, type/dump-commitin Claude Code to confirm it loaded.

Details

From the project README

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):

  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
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

Comments

Markdown supported