Personal Claude Code plugin for Nuxt/Vue/TypeScript workflows.
[!IMPORTANT]
This is a personal plugin with opinionated defaults. Use as inspiration or fork for your own setup.
/plugin marketplace add harlan-zw/harlan-claude-code
/plugin install harlan-claude-code
| Event | Hook | Description |
|---|---|---|
| SessionStart | session-start.sh |
Detect project type, show git status |
| PreCompact | pre-compact.sh |
Save context before conversation compaction |
| PostToolUse | eslint.sh |
Auto-lint + fix on file changes |
| PostToolUse | typecheck.sh |
Run vue-tsc/tsc on TS/Vue changes |
| PostToolUse | vitest.sh |
Run related tests on file changes |
| PreToolUse | pnpm-only.sh |
Block npm/yarn commands |
| PreToolUse | pre-commit-push.sh |
Run lint/typecheck/test before commit/push |
| Stop | grind.sh |
Continue incomplete scratchpad work |
| Command | Description |
|---|---|
/pkg-init |
Initialize or sync npm package architecture |
/nuxt-module-init |
Initialize or sync Nuxt module architecture |
/claude-plugin-init |
Initialize or sync Claude Code plugin structure |
/tdd |
Test-driven development workflow |
| Command | Description |
|---|---|
/pr |
Create GitHub PR with conventional commit template |
/save-plan |
Save current plan to .claude/plans/ |
/resume |
Resume interrupted work from scratchpad |
/review |
Review recent changes for issues |
/debug |
Hypothesis-driven debugging |
/diagram |
Generate architecture diagrams |
/fix-issue |
Fetch GitHub issue, implement fix, create PR |
/issue-triage |
Triage open issues by difficulty |
Disable specific hooks per-project by creating .claude/hooks.json:
{
"disabled": ["typecheck", "vitest"]
}
Licensed under the MIT license.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.