๐ŸŽจ

Dev GOM Plugins

โ†Back to Plugins
๐ŸŽฃ

claude-dev-helper

Development assistant for Claude Code - Auto-open files in VSCode, Git diff review, and enhanced workflow integration

๐ŸŽฃhooks
v1.4.0
by Dev GOM
developmentassistantgitdiffreviewfeedbackvscodehooksworkflowproductivity
View on GitHub โ†’

โš ๏ธ Experimental Feature: This plugin is currently in experimental stage. Some features may be unstable or subject to change.

Git diff review plugin for Claude Code with optional VSCode extension support.

What's New

v1.4.0 (2025-10-29)

Breaking Changes:

  • ๐Ÿ”Š Sound notification features have been removed and moved to a separate plugin
    • Install hook-sound-notifications plugin for audio feedback
    • Configuration migrated: soundNotifications section is no longer used

Changes:

  • Simplified to focus on core file management and Git diff features
  • Reduced plugin footprint by removing sound playback dependencies

Migration Guide: If you were using sound notifications:

  1. Install the new plugin: /plugin install hook-sound-notifications@dev-gom-plugins
  2. Your sound settings will need to be reconfigured in .plugin-config/hook-sound-notifications.json
  3. See hook-sound-notifications documentation for details

Features

  • ๐Ÿ“‚ Auto-Open Files (v1.2.5+): Automatically opens files in VSCode when Claude creates/edits them
  • ๐ŸŽฏ Git Diff Review: Review Claude's code changes with CodeLens buttons
  • ๐ŸŒ Browser Diff Editor: Monaco-based diff viewer in your browser (future)
  • ๐Ÿ”„ Auto-Staging (Optional): Automatically stage modified files
  • โš™๏ธ Configurable Hooks: Customize your workflow

Installation

Step 1: Install Plugin

/plugin install claude-dev-helper@dev-gom-plugins

Step 2: Install VSCode Extension (Optional but Recommended)

For enhanced diff viewing with VSCode integration:

Option A: VS Marketplace (Recommended)

  • Install from VS Marketplace
  • Or search "claude dev helper" in VSCode Extensions

Option B: From GitHub Releases

  1. Download .vsix from Releases
  2. Install: code --install-extension claude-dev-helper-{version}.vsix

Option C: Build from Source

# Clone vscode-extension branch
git clone -b vscode-extension https://github.com/Dev-GOM/claude-code-marketplace.git
cd claude-code-marketplace/plugins/claude-dev-helper/vscode-extension
npm install
npm run package
code --install-extension claude-dev-helper-0.8.0.vsix

Step 3: Reload VSCode

Ctrl+Shift+P โ†’ "Developer: Reload Window"

Usage

With VSCode Extension (Recommended)

  1. Claude modifies a file
  2. CodeLens appears: "Show Diff" button
  3. Click to view: VSCode inline diff opens
    • ๐Ÿ”ด Red lines = deleted
    • ๐ŸŸข Green lines = added

Browser Diff Editor (Alternative)

Ctrl+Shift+P โ†’ "Show Git Diff (Browser)"
  • Opens Monaco diff editor in browser
  • Review all changed files
  • Accept/reject individual lines

Configuration

Auto-Open Files Settings

The plugin automatically creates .plugin-config/claude-dev-helper.json in your project root with default settings:

{
  "autoOpen": {
    "enabled": true,
    "focus": false,
    "maxQueueSize": 10
  },
  "_pluginVersion": "1.1.0"
}

Settings:

  • enabled: Enable/disable auto-open feature (default: true)
  • focus: Whether to focus the opened file (default: false - opens in background)
  • openLocation: Where to open files - 0 for first column (left), 1 for second column (right) (default: 1)
  • maxQueueSize: Maximum number of files to track (default: 10)

Edit .plugin-config/claude-dev-helper.json to customize the behavior.

Enable Auto-Staging Hook

Edit plugins/claude-dev-helper/hooks/hooks.json:

{
  "hooks": {
    "PostToolUse": [
      {
        "enabled": true,  // Change to true
        "matcher": "Write|Edit"
      }
    ]
  }
}

VSCode Settings (Auto-applied)

{
  "diffEditor.renderSideBySide": false  // Inline diff view
}

Quick Commands

CommandDescription
Show Git DiffOpen VSCode inline diff (default)
Show Git Diff (Browser)Open browser diff editor
Enable Inline Diff ModeForce VSCode inline view mode

Requirements

  • Git initialized in your project
  • VSCode (for extension features)
  • Node.js (for browser diff server)

Architecture

Browser Diff Mode:
  Claude modifies file โ†’ Hook triggers โ†’ Browser opens โ†’ Review changes

VSCode Diff Mode:
  Claude modifies file โ†’ CodeLens appears โ†’ Click โ†’ VSCode diff opens

Troubleshooting

Q: CodeLens not showing?

  • Ensure VSCode extension is installed and enabled
  • Reload window: Ctrl+Shift+P โ†’ Reload Window

Q: Browser diff server not starting?

  • Check port 3456 is available
  • Install dependencies: cd diff-editor && npm install

Q: Diff showing side-by-side instead of inline?

  • Run command: "Enable Inline Diff Mode"
  • Or set diffEditor.renderSideBySide: false in VSCode settings

Development

See .claude/PLUGIN_WORKFLOW.md for development and deployment workflow.

License

Apache License 2.0 - See LICENSE for details

Links

๐Ÿš€Quick Installation

/plugin install claude-dev-helper@dev-gom-plugins

Run this command in Claude Code to install the plugin.