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.

소스 정보

저장소
go-go-golems/docmgr
최근 소스 활동
2026년 1월 2일 14:56
감지된 SKILL.md 언어
영어
스타
13
포크
4

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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`.
GitHub에서 보기