スキル一覧に戻る
mrzacsmith

commit

by mrzacsmith

3🍴 1📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: Commit description: Create well-formatted commits following conventional commit standards triggers:

  • /commit
  • commit changes
  • commit this allowed-tools:
  • Read
  • Glob
  • Grep
  • Bash(git status*)
  • Bash(git diff*)
  • Bash(git add*)
  • Bash(git commit*)
  • Bash(git log*)

Commit Skill

Create clean, well-documented commits following conventional commit standards.

Process

1. Review Current Changes

git status
git diff
git diff --staged

Before committing:

  • Understand the scope of changes
  • Identify if changes should be split into multiple commits
  • Ensure no unintended files are staged

2. Stage Changes

Stage related changes together. Split unrelated changes into separate commits.

# Stage specific files
git add src/feature.ts src/feature.test.ts

# Stage all changes in a directory
git add src/components/

3. Write Commit Message

Follow Conventional Commits format:

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

<body>

<footer>

Commit Types

TypeUse For
featNew feature
fixBug fix
docsDocumentation changes
styleFormatting (no code change)
refactorCode restructuring
perfPerformance improvement
testAdding/fixing tests
choreMaintenance tasks

Examples

Feature:

feat(auth): add password reset flow

- Add forgot password form
- Implement email service integration
- Add token validation endpoint

Closes #123

Bug Fix:

fix(cart): prevent duplicate items on rapid clicks

Added debounce to add-to-cart button to prevent
race condition causing duplicate entries.

Fixes #456

Refactor:

refactor(utils): consolidate date formatting functions

Merged 4 duplicate implementations into shared utility.
No behavior changes.

4. Commit

git commit -m "type(scope): subject"

For multiline messages:

git commit -m "$(cat <<'EOF'
feat(payments): add Stripe integration

- Configure Stripe client
- Add checkout session creation
- Implement webhook handlers

Closes #789
EOF
)"

Pre-Commit Checklist

  • Code builds without errors
  • Tests pass
  • No debug code (console.log, debugger)
  • No secrets or API keys
  • Commit message follows conventions

Atomic Commits

Each commit should be:

  • Self-contained: One logical change
  • Complete: Doesn't break the build
  • Reversible: Can be reverted independently

スコア

総合スコア

45/100

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

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
言語

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

0/5
タグ

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

0/5

レビュー

💬

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