From 2f1a33b67943997895a6b26f9fddce4fef45b3c8 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:08:52 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ hooks/hooks.json | 39 +++++++++++++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 99 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 hooks/hooks.json create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..4a94712 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "auto-review", + "description": "Automated code review using gemini-cli and codex", + "version": "1.0.0", + "author": { + "name": "Cheolwan Park", + "url": "https://github.com/cheolwanpark" + }, + "hooks": [ + "./hooks/hooks.json" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..22533a2 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# auto-review + +Automated code review using gemini-cli and codex diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..9737cc4 --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,39 @@ +{ + "description": "Automatically trigger plan and implementation reviews at appropriate times", + "hooks": { + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "\"${CLAUDE_PLUGIN_ROOT}\"/hooks/user_prompt_submit.sh", + "timeout": 10 + } + ] + } + ], + "PreToolUse": [ + { + "matcher": "ExitPlanMode", + "hooks": [ + { + "type": "command", + "command": "\"${CLAUDE_PLUGIN_ROOT}\"/hooks/pre_exit_plan_mode.sh", + "timeout": 10 + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "\"${CLAUDE_PLUGIN_ROOT}\"/hooks/on_stop.sh", + "timeout": 30 + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..43b5ec0 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:cheolwanpark/claude-plugins:plugins/auto-review", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "20dd806e2a601d38bbaf65927dd9f67f2fdeb064", + "treeHash": "07b4ab46f556a1080b944175e3321def281aeaba164b56a76a342d6bae1ef64d", + "generatedAt": "2025-11-28T10:15:00.575347Z", + "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": "auto-review", + "description": "Automated code review using gemini-cli and codex", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "b72afb23051136066b39d43b1b54710c1c6aa724521873256416002a9c9461d7" + }, + { + "path": "hooks/hooks.json", + "sha256": "539eb05dadfdc385c9a2a2c913ccb252f2132f4ba49d525bb2bf9054a5ebf410" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "e9b3d3671d750f1f0f5c8bfc435d25ce50f41c944389dfdbd7f80ebc090a6238" + } + ], + "dirSha256": "07b4ab46f556a1080b944175e3321def281aeaba164b56a76a342d6bae1ef64d" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file