Back to list
vichannnnn

commit

by vichannnnn

Quick setup for projects or repositories using Claude Code with built-in agents, ticket system, and planning tools.

69🍴 7📅 Jan 22, 2026

SKILL.md


name: commit description: Generate and execute git commits following conventional commit format. Use when the user wants to commit changes, create a commit, or says "/commit". Analyzes staged/unstaged changes and creates properly formatted commit messages with type, optional scope, and descriptive subject.

Commit Skill

Generate conventional commit messages and execute commits automatically.

Workflow

  1. Run git status (never use -uall flag) and git diff to analyze changes
  2. Run git log --oneline -5 to see recent commit style
  3. Determine the appropriate commit type and scope from the changes
  4. Stage all relevant changes with git add
  5. Create the commit with a properly formatted message

Commit Format

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

<body>

<footer>

Types

TypeUse for
featNew feature or functionality
fixBug fix
docsDocumentation only
styleFormatting, semicolons, no code change
refactorCode change that neither fixes nor adds
testAdding or modifying tests
choreMaintenance, deps, build process
perfPerformance improvements

Scope

Optional. Include when it adds clarity about what area is affected:

  • feat(auth): - authentication related
  • fix(api): - API related
  • docs: - scope omitted when obvious

Subject

  • Imperative mood ("add" not "added" or "adds")
  • No period at end
  • Max 50 characters
  • Focus on the "why" not the "what"

Body (optional)

Add when the subject alone doesn't fully explain the change. Wrap at 72 characters.

  • Breaking changes: BREAKING CHANGE: description
  • Issue references: Closes #123

Commit Message Construction

Use a HEREDOC for proper formatting:

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

<body if needed>
EOF
)"

Examples

Single file change:

fix(auth): handle expired tokens gracefully

Multiple related changes:

feat(api): add email notifications for shipped orders

Send confirmation email when order status changes to shipped.
Includes tracking number and estimated delivery date.

Breaking change:

refactor(config)!: migrate to environment-based configuration

BREAKING CHANGE: config.json no longer supported, use .env files

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

Reviews

💬

Reviews coming soon