Back to list
2p1c

commit

by 2p1c

0🍴 0📅 Jan 20, 2026

SKILL.md


name: commit description: Commit changes to the git repository following best practices

Commit Skill

Use this skill when the user asks to "commit" changes or runs /commit.

Process

  1. Check Status: Run git status to see what files are changed.
  2. Review Changes: Run git diff (and git diff --cached if needed) to understand the changes.
  3. Confirm Scope: If there are many unrelated changes, ask the user if they want to split them or commit all.
  4. Stage: Use git add to stage the files intended for the commit.
  5. Commit: Generate a commit message following Conventional Commits format.

Commit Message Format

Use the following structure:

<type>(<scope>): <subject>

<body>

Common types:

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation only
  • style: Formatting, missing semi-colons, etc.
  • refactor: A code change that neither fixes a bug nor adds a feature
  • test: Adding missing tests
  • chore: Maintenance tasks

Implementation Details

When executing the commit command, ALWAYS use the HEREDOC format to ensure safe string handling:

git commit -m "$(cat <<'EOF'
feat: add new functionality

Detailed description of the changes.
EOF
)"

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

Reviews

💬

Reviews coming soon