Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:57:25 +08:00
commit c0aa3682ea
4 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
{
"name": "code-quality-enforcement-hooks",
"description": "code-quality-enforcement 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 @@
# code-quality-enforcement-hooks
code-quality-enforcement automation hooks for development workflow

32
hooks/hooks.json Normal file
View File

@@ -0,0 +1,32 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit|MultiEdit",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/code-quality-reporter.py",
"description": "Report code quality metrics"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/universal-linter.py",
"description": "Universal code linting"
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pnpm-enforcer.py",
"description": "Enforce pnpm usage"
}
]
}
]
}
}

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:code-quality-enforcement-hooks",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "47e8e673db995885b419a0cbe8b9dcbab1fdeb04",
"treeHash": "21943d58b0c7edb47f2940a6a5e84652619c29ebf213dfa9df1b0e921020c781",
"generatedAt": "2025-11-28T10:24:55.478289Z",
"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": "code-quality-enforcement-hooks",
"description": "code-quality-enforcement automation hooks for development workflow",
"version": "3.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "86f1acfff3cbe8bae835e1b4b2a49ed2962f20c6a960aee07d9185bfd5a3941b"
},
{
"path": "hooks/hooks.json",
"sha256": "55565dbddf6825b772d6ab1442170ba7937b087de3fb3440892d7ca759f808a2"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "2c3bb45adeea08dd2078130f879100cd72cd6883a9d3e6b18ecb6d2197579a77"
}
],
"dirSha256": "21943d58b0c7edb47f2940a6a5e84652619c29ebf213dfa9df1b0e921020c781"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}