From fcc0735ad84430703fbde24b7f58e9e52485ebdd Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:19:00 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ hooks/hooks.json | 41 ++++++++++++++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 101 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..e61a272 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "claude-dev-helper", + "description": "Git diff review integration for Claude Code with VSCode extension. Provides inline diff view, browser diff editor, and auto-open files.", + "version": "1.4.0", + "author": { + "name": "Dev GOM", + "url": "https://github.com/Dev-GOM/claude-code-marketplace" + }, + "hooks": [ + "./hooks" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..c5cd467 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# claude-dev-helper + +Git diff review integration for Claude Code with VSCode extension. Provides inline diff view, browser diff editor, and auto-open files. diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..59d4ebe --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,41 @@ +{ + "description": "Claude Dev Helper - Auto-open files in VSCode after Write/Edit", + "version": "1.4.0", + "author": "Dev GOM", + "lastUpdated": "2025-10-29", + "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", + "continueOnError": true, + "suppressOutput": true + } + ] + } + ], + "PostToolUse": [ + { + "description": "Auto-open modified files in VSCode without focus", + "matcher": "Write|Edit", + "priority": 50, + "enabled": true, + "hooks": [ + { + "type": "command", + "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/auto-open-file.js", + "description": "Opens modified file in VSCode without focusing", + "continueOnError": true, + "suppressOutput": true + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..5558606 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:Dev-GOM/claude-code-marketplace:plugins/claude-dev-helper", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "77fea105e56d4b632da79d9079ff8281f8df336d", + "treeHash": "020cd19b933f26bd6bcfcb6854f593e02f1fbdbcd2b44e7c2f94ff9081a8c6af", + "generatedAt": "2025-11-28T10:10:16.244973Z", + "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": "claude-dev-helper", + "description": "Git diff review integration for Claude Code with VSCode extension. Provides inline diff view, browser diff editor, and auto-open files.", + "version": "1.4.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "863ac8a49b31a034e91788411d67dcc1a82c9a487e4bdff549e18efa8e43d8bb" + }, + { + "path": "hooks/hooks.json", + "sha256": "9bac4c521034b640a9f847b1ab31cea89b699b92ec769d7e9f25f531fa8dffcd" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "881f1161b70ecc1bf22e1eaaf2588f508c863e02952f059b572fc6d704fa297b" + } + ], + "dirSha256": "020cd19b933f26bd6bcfcb6854f593e02f1fbdbcd2b44e7c2f94ff9081a8c6af" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file