Initial commit
This commit is contained in:
12
.claude-plugin/plugin.json
Normal file
12
.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "hook-auto-docs",
|
||||
"description": "Automatically update project documentation based on code changes",
|
||||
"version": "1.4.1",
|
||||
"author": {
|
||||
"name": "Dev GOM",
|
||||
"url": "https://github.com/Dev-GOM/claude-code-marketplace"
|
||||
},
|
||||
"hooks": [
|
||||
"./hooks"
|
||||
]
|
||||
}
|
||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# hook-auto-docs
|
||||
|
||||
Automatically update project documentation based on code changes
|
||||
59
hooks/hooks.json
Normal file
59
hooks/hooks.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"description": "Automatically updates project documentation based on code changes",
|
||||
"version": "1.4.1",
|
||||
"author": "Dev GOM",
|
||||
"lastUpdated": "2025-10-20",
|
||||
"hooks": {
|
||||
"SessionStart": [
|
||||
{
|
||||
"description": "Initialize plugin configuration at session start",
|
||||
"priority": 100,
|
||||
"enabled": true,
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/init-config.js",
|
||||
"description": "Creates default configuration file if it doesn't exist",
|
||||
"timeout": 5000,
|
||||
"continueOnError": true,
|
||||
"suppressOutput": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PostToolUse": [
|
||||
{
|
||||
"description": "Track file changes for structure documentation",
|
||||
"matcher": "Write|Edit",
|
||||
"priority": 50,
|
||||
"enabled": true,
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/track-structure-changes.js",
|
||||
"description": "Records file changes for project structure tracking",
|
||||
"timeout": 5000,
|
||||
"continueOnError": true,
|
||||
"suppressOutput": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Stop": [
|
||||
{
|
||||
"description": "Update project structure documentation",
|
||||
"priority": 80,
|
||||
"enabled": true,
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/update-structure-docs.js",
|
||||
"description": "Generates or updates project structure documentation with directory tree, scripts, and dependencies",
|
||||
"timeout": 15000,
|
||||
"continueOnError": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
45
plugin.lock.json
Normal file
45
plugin.lock.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "internal://schemas/plugin.lock.v1.json",
|
||||
"pluginId": "gh:Dev-GOM/claude-code-marketplace:plugins/hook-auto-docs",
|
||||
"normalized": {
|
||||
"repo": null,
|
||||
"ref": "refs/tags/v20251128.0",
|
||||
"commit": "7e02bac7bdb0a07e9c3caea2da4e92a59353fb3a",
|
||||
"treeHash": "f9598e285ca6addd99db070e52ca9234741c80d4153d008036cb142fcad4f543",
|
||||
"generatedAt": "2025-11-28T10:10:15.860982Z",
|
||||
"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": "hook-auto-docs",
|
||||
"description": "Automatically update project documentation based on code changes",
|
||||
"version": "1.4.1"
|
||||
},
|
||||
"content": {
|
||||
"files": [
|
||||
{
|
||||
"path": "README.md",
|
||||
"sha256": "0cc6e7383a037d67b0ba6191291e1c287c450daaf957e6ec719b90945fc360a1"
|
||||
},
|
||||
{
|
||||
"path": "hooks/hooks.json",
|
||||
"sha256": "77579c2ab7a0d58ce2aec7c88da33298100bd1cf5f80d8bdb878a63e559a0956"
|
||||
},
|
||||
{
|
||||
"path": ".claude-plugin/plugin.json",
|
||||
"sha256": "d2da5bc92b4ecd81f2d13dfe3fe11890da2884f1d6b215f9c8809ff383268cd0"
|
||||
}
|
||||
],
|
||||
"dirSha256": "f9598e285ca6addd99db070e52ca9234741c80d4153d008036cb142fcad4f543"
|
||||
},
|
||||
"security": {
|
||||
"scannedAt": null,
|
||||
"scannerVersion": null,
|
||||
"flags": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user