Personal Claude Code plugin for Nuxt/Vue/TypeScript development.
/plugin marketplace add harlan-zw/harlan-claude-code
/plugin install harlan-claude-code
| Event | Hook | What it does |
|---|---|---|
| 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 |
| 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 |
| Command | Description |
|---|---|
/pr |
Create GitHub PR with conventional commit template |
Disable specific hooks by creating .claude/hooks.json:
{
"disabled": ["typecheck", "vitest"]
}
MIT
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.