スキル一覧に戻る
go-go-golems

cursor-git-commit

by go-go-golems

7🍴 2📅 2026年1月23日
GitHubで見るManusで実行

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.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です