start
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when…
Get help with the hookify plugin
$ npx -y skills add xiaoyuge886/aigc --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/helpContext preview
What this command does when you run it.
Get help with the hookify plugin
description: Get help with the hookify plugin allowed-tools: ["Read"]
Explain how the hookify plugin works and how to use it.
The hookify plugin makes it easy to create custom hooks that prevent unwanted behaviors. Instead of editing `hooks.json` files, users create simple markdown configuration files that define patterns to watch for.
Hookify installs generic hooks that run on these events:
These hooks read configuration files from `.claude/hookify.*.local.md` and check if any rules match the current operation.
Users create rules in `.claude/hookify.{rule-name}.local.md` files:
--- name: warn-dangerous-rm enabled: true event: bash pattern: rm\s+-rf --- ⚠️ **Dangerous rm command detected!** This command could delete important files. Please verify the path.
**Key fields:**
The message body is what Claude sees when the rule triggers.
**Option A: Use /hookify command**
/hookify Don't use console.log in production files
This analyzes your request and creates the appropriate rule file.
**Option B: Create manually** Create `.claude/hookify.my-rule.local.md` with the format above.
**Option C: Analyze conversation**
/hookify
Without arguments, hookify analyzes recent conversation to find behaviors you want to prevent.
**Prevent dangerous commands:**
--- name: block-chmod-777 enabled: true event: bash pattern: chmod\s+777 --- Don't use chmod 777 - it's a security risk. Use specific permissions instead.
**Warn about debugging code:**
--- name: warn-console-log enabled: true event: file pattern: console\.log\( --- Console.log detected. Remember to remove debug logging before committing.
**Require tests before stopping:**
--- name: require-tests enabled: true event: stop pattern: .* --- Did you run tests before finishing? Make sure `npm test` or equivalent was executed.
Use Python regex syntax:
**Examples:**
**No Restart Needed**: Hookify rules (`.local.md` files) take effect immediately on the next tool use. The hookify hooks are already loaded and read your rules dynamically.
**Block or Warn**: Rules can either `block` operations (prevent execution) or `warn` (show message but allow). Set `action: block` or `action: warn` in the rule's frontmatter.
**Rule Files**: Keep rules in `.claude/hookify.*.local.md` - they should be git-ignored (add to .gitignore if needed).
**Disable Rules**: Set `enabled: false` in frontmatter or delete the file.
**Hook not triggering:**
**Import errors:**
**Pattern not matching:**
1. Create your first rule:
/hookify Warn me when I try to use rm -rf
2. Try to trigger it:
4. Refine the rule by editing `.claude/hookify.warn-rm.local.md`
5. Create more rules as you encounter unwanted behaviors
For more examples, check the `${CLAUDE_PLUGIN_ROOT}/examples/` directory.
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when…
Explain Stripe error codes and provide solutions with code examples