commit

Installation
SKILL.md

Commit current work

Instructions

  1. Check Status: Run the following commands to understand the current state:

    • git status --short
    • git diff --stat
    • git log --oneline -3
  2. Analyze Changes:

    • Review the output to understand what has changed.
    • If git diff doesn't provide enough info (e.g., new files), read the files or use your working memory.
    • Determine if the work should be split into multiple logical commits.
  3. Stage Changes:

    • New/modified files: git add <file1> <file2> ...
    • Deleted files: git add -u <path> (plain git add fails on paths no longer on disk)
    • Mixed (new + deleted): combine both commands, or use git add -u for deletions then git add for new files
Installs
12
GitHub Stars
9
First Seen
Mar 1, 2026
commit — yulonglin/dotfiles