Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:28:27 +08:00
commit a690cd1767
4 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{
"name": "gitbutler",
"description": "Commands for git commit workflows including commit, push, and PR creation",
"version": "1.0.0",
"author": {
"name": "GitButler",
"email": "hello@gitbutler.com"
},
"hooks": [
"./hooks"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# gitbutler
Commands for git commit workflows including commit, push, and PR creation

38
hooks/hooks.json Normal file
View File

@@ -0,0 +1,38 @@
{
"description": "Automatic committing after each Claude Code sessions",
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|MultiEdit|Write",
"hooks": [
{
"type": "command",
"command": "but claude pre-tool"
}
]
}
],
"PostToolUse": [
{
"matcher": "Edit|MultiEdit|Write",
"hooks": [
{
"type": "command",
"command": "but claude post-tool"
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "but claude stop"
}
]
}
]
}
}

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:gitbutlerapp/claude:plugins/gitbutler",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "a3afda1f8a6192a7c8cba0c90bf828d1b6579292",
"treeHash": "b47b98ad1616267d27b163f1d2dee8ebd6227d7c074b207eac56602637c64bb4",
"generatedAt": "2025-11-28T10:17:00.305574Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "gitbutler",
"description": "Commands for git commit workflows including commit, push, and PR creation",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "d0fb19b0b4fe1f323dd62837ef20004e4b0ae8c5718df2694e5a9ac0816ee31d"
},
{
"path": "hooks/hooks.json",
"sha256": "3314429c21e1bd4b9dc4e214f869537877ae61715bab9b2d81ed2daceafc49a1"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "1e7209d04bde35ba0b4b9c19985f55a52b1df015abc3c0af14235569e4958c52"
}
],
"dirSha256": "b47b98ad1616267d27b163f1d2dee8ebd6227d7c074b207eac56602637c64bb4"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}