create_commit
Create and execute a commit for a specific file in a Git repository, specifying type, emoji, title, and optional details like body, footer, and GitHub issue number.
Instructions
指定したファイルに対してコミットを作成・実行します。※1度に1ファイルのみコミット可能です
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | コミットの本文(オプション) | |
emoji | Yes | コミットメッセージに使用する絵文字 | |
file | Yes | コミット対象のファイルパス(1ファイルのみ指定可能) | |
footer | No | コミットのフッター(オプション) | |
issueNumber | No | GitHub Issue番号(オプション) | |
language | No | コミットメッセージの言語(デフォルト: ja) | |
path | Yes | Gitリポジトリの絶対パス | |
title | Yes | コミットのタイトル | |
type | Yes | コミットの種類 |
Input Schema (JSON Schema)
{
"properties": {
"body": {
"description": "コミットの本文(オプション)",
"type": "string"
},
"emoji": {
"description": "コミットメッセージに使用する絵文字",
"type": "string"
},
"file": {
"description": "コミット対象のファイルパス(1ファイルのみ指定可能)",
"type": "string"
},
"footer": {
"description": "コミットのフッター(オプション)",
"type": "string"
},
"issueNumber": {
"description": "GitHub Issue番号(オプション)",
"type": "number"
},
"language": {
"description": "コミットメッセージの言語(デフォルト: ja)",
"enum": [
"ja",
"en"
],
"type": "string"
},
"path": {
"description": "Gitリポジトリの絶対パス",
"type": "string"
},
"title": {
"description": "コミットのタイトル",
"type": "string"
},
"type": {
"description": "コミットの種類",
"enum": [
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"chore"
],
"type": "string"
}
},
"required": [
"file",
"path",
"type",
"emoji",
"title"
],
"type": "object"
}