Skip to main content

cursor-git-commit

Provide a pre-commit checklist and staging hygiene (review diffs, stage specific files, avoid common noise like dist/ or .env, and fix mistakes with reset/rm --cached/amend). Use when the user is about to commit, asks for a commit workflow, or needs help cleaning up staged files.

Source facts

Repository
go-go-golems/docmgr
Last source activity
January 2, 2026 at 14:56
Detected SKILL.md language
English
Stars
13
Forks
4

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
cursor-git-commit
description
Provide a pre-commit checklist and staging hygiene (review diffs, stage specific files, avoid common noise like dist/ or .env, and fix mistakes with reset/rm --cached/amend). Use when the user is about to commit, asks for a commit workflow, or needs help cleaning up staged files.
# Cursor Git Commit ## Overview Use a consistent commit workflow: inspect changes, stage intentionally, and avoid committing noise. ## Checklist (run before committing) 1. Inspect status: `git status --porcelain` 2. Review diffs: - unstaged: `git diff --stat` - staged: `git diff --cached --stat` 3. Stage intentionally: `git add path/to/file ...` 4. Verify staged set: `git diff --cached --name-only` 5. Commit and record hash: - `git commit -m "..."` then `git rev-parse HEAD` ## Fix common mistakes - Unstage one file: `git reset HEAD path/to/file` - Unstage everything: `git reset HEAD` - Remove noise already committed (keep on disk): `git rm --cached path/to/noise` then add to `.gitignore` and `git commit --amend --no-edit` ## Reference - Full checklist + ignore guidance: `references/git-commit-instructions.md`.
View on GitHub