Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:57:30 +08:00
commit 1f3973b4c1
4 changed files with 122 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
{
"name": "core-essentials-hooks",
"description": "core-essentials automation hooks for development workflow",
"version": "3.0.0",
"author": {
"name": "Ossie Irondi",
"email": "admin@kamdental.com",
"url": "https://github.com/AojdevStudio"
},
"hooks": [
"./hooks/hooks.json"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# core-essentials-hooks
core-essentials automation hooks for development workflow

61
hooks/hooks.json Normal file
View File

@@ -0,0 +1,61 @@
{
"hooks": {
"PreToolUse": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre_tool_use.py",
"description": "Pre-tool validation and checks"
}
]
}
],
"PostToolUse": [
{
"matcher": "Write|Edit|MultiEdit",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/post_tool_use.py",
"description": "Post-edit validation"
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session_start.py",
"description": "Initialize session"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/stop.py",
"description": "Handle stop events"
}
]
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/notification.py",
"description": "Handle notifications"
}
]
}
]
}
}

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:AojdevStudio/dev-utils-marketplace:core-essentials-hooks",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "19597f96d39a5fea449f365e833ad17eb7002065",
"treeHash": "12434137d8b62865bfad9a1fc8c62308b7f20ede55fec106f73d0e2c6433608b",
"generatedAt": "2025-11-28T10:24:56.386941Z",
"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": "core-essentials-hooks",
"description": "core-essentials automation hooks for development workflow",
"version": "3.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "c46098da268563255f33c25bd5329c0a4ca1cf0388e39fbdd8b0c7acd568c199"
},
{
"path": "hooks/hooks.json",
"sha256": "bfced33b099e3d39cc39be64f4dc522763b5473b430b4e754c5546954b0b7f81"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "158b1ec83d7685277203a5510f3bed52fc0de9ee1dd76a99541948e73f6a5dad"
}
],
"dirSha256": "12434137d8b62865bfad9a1fc8c62308b7f20ede55fec106f73d0e2c6433608b"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}