スキル一覧に戻る
mhalder

commit

by mhalder

Modular Linux development environment dotfiles managed with tuckr, featuring shell configurations, development tools, and automated installation hooks

1🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: commit description: Creates git commits with conventional commit messages. Use when the user says "commit", "commit changes", "create a commit", "save my changes", or asks to commit code. allowed-tools: Bash, Read, Glob, Grep

Git Commit

Analyze changes and create well-formatted commits using conventional commit format.

Instructions

  1. Run git status to see staged, unstaged, and untracked files
  2. Run git diff --staged (or git diff if nothing staged) to view changes
  3. Run git log --oneline -5 to match existing commit style
  4. Run /update-readme skill to ensure documentation is in sync with changes
  5. Stage changes with git add if needed (ask user if unclear what to stage)
  6. Create commit with conventional format (see below)
  7. Run git status to verify success

Conventional commit format

<type>[scope]: <description>

[optional body]

Types: feat, fix, docs, style, refactor, test, chore, build, ci, perf

Example:

feat(auth): add password reset flow

Implements forgot password email and reset token validation.
Closes #42

Rules

  • MUST use imperative mood ("add" not "added")
  • MUST keep first line under 72 characters
  • MUST use heredoc for multi-line messages
  • Never add "Generated with Claude Code" or attribution
  • Never add Co-Authored-By headers
  • Never add attribution to PR descriptions either
  • Never use git commit --amend unless explicitly requested
  • Never use git reset --hard - it destroys local changes
  • Never use git push unless explicitly requested
  • Never push directly to main/master; always use a feature branch and PR
  • Never create a PR without explicit user approval
  • After committing, ASK the user before pushing or creating a PR
  • Never stage files containing secrets (.env, credentials, API keys)
  • Never stage or commit CLAUDE.md files

Heredoc format

git commit -m "$(cat <<'EOF'
type(scope): description

Body text here.
EOF
)"

スコア

総合スコア

70/100

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

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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