From hookify
Browse and install pre-built hookify rules from the catalog. Use when you need ready-made rules by category before writing custom ones.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hookify:rule-catalogThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Browsing available hookify rules by category
rules/documentation/require-slop-scan-for-docs.mdrules/git/block-destructive-git.mdrules/git/block-force-push.mdrules/git/warn-large-commits.mdrules/git/warn-risky-git.mdrules/performance/warn-large-file-ops.mdrules/python/block-dynamic-code.mdrules/python/warn-print-statements.mdrules/security/destructive-command-guard.mdrules/security/require-security-review.mdrules/stewardship/campsite-check.mdrules/workflow/enforce-scope-guard.mdrules/workflow/plan-before-large-dispatch.mdrules/workflow/require-spec-before-code.mdhookify:writing-rules insteadhookify:from-hook insteadPre-built rules for common scenarios. Install directly or use as templates.
# Install a specific rule
Skill(hookify:rule-catalog) then install git:block-force-push
# Or use the Python installer for bulk operations
python3 plugins/hookify/scripts/install_rule.py git:block-force-push
python3 plugins/hookify/scripts/install_rule.py --category git
python3 plugins/hookify/scripts/install_rule.py --all
Verification: Run python --version to verify Python environment.
| Rule | Action | Default | Description |
|---|---|---|---|
block-force-push | block | enabled | Prevent force push to main/master |
block-destructive-git | block | enabled | Block reset --hard, checkout -- ., clean -fd, etc. |
warn-risky-git | warn | enabled | Warn about rebase -i, soft reset, etc. |
warn-large-commits | warn | enabled | Warn about large binary files |
| Rule | Action | Default | Description |
|---|---|---|---|
block-dynamic-code | block | enabled | Block dangerous dynamic code execution |
warn-print-statements | warn | enabled | Encourage logging over print() |
| Rule | Action | Default | Description |
|---|---|---|---|
require-security-review | block | enabled | Require review for auth code |
destructive-command-guard | warn | enabled | Warn on destructive commands targeting prod-shaped paths |
| Rule | Action | Default | Description |
|---|---|---|---|
enforce-scope-guard | warn | enabled | Anti-overengineering (imbue) |
require-spec-before-code | block | disabled | Spec-first development |
| Rule | Action | Default | Description |
|---|---|---|---|
warn-large-file-ops | warn | enabled | Watch large file writes |
When you invoke this skill, tell Claude which rule(s) to install:
**Verification:** Run `git status` to confirm working tree state.
Install git:block-force-push
Verification: Run the command with --help flag to verify availability.
Claude will:
skills/rule-catalog/rules/git/block-force-push.md.claude/hookify.block-force-push.local.mdFor bulk operations or automation:
# Install single rule
python3 plugins/hookify/scripts/install_rule.py git:block-force-push
# Install all rules in category
python3 plugins/hookify/scripts/install_rule.py --category python
# Install all rules
python3 plugins/hookify/scripts/install_rule.py --all
# List available rules
python3 plugins/hookify/scripts/install_rule.py --list
# Install to custom directory
python3 plugins/hookify/scripts/install_rule.py git:block-force-push --target /path/to/.claude
Verification: Run the command with --help flag to verify availability.
plugins/hookify/skills/rule-catalog/rules/<category>/<rule>.md.claude/hookify.<rule-name>.local.mdenabled: true/false as neededRules are stored relative to this skill:
**Verification:** Run the command with `--help` flag to verify availability.
skills/rule-catalog/
├── SKILL.md (this file)
└── rules/
├── git/
│ ├── block-force-push.md
│ ├── block-destructive-git.md
│ ├── warn-risky-git.md
│ └── warn-large-commits.md
├── python/
│ ├── block-dynamic-code.md
│ └── warn-print-statements.md
├── security/
│ ├── require-security-review.md
│ └── destructive-command-guard.md
├── workflow/
│ ├── enforce-scope-guard.md
│ └── require-spec-before-code.md
└── performance/
└── warn-large-file-ops.md
Verification: Run the command with --help flag to verify availability.
After installation, edit the rule in .claude/:
# Change action from warn to block
action: block
# Disable temporarily
enabled: false
# Modify pattern
pattern: your-custom-pattern
Verification: Run the command with --help flag to verify availability.
To add rules to the catalog:
kebab-case.mdSkill(hookify:writing-rules) - Create custom rules/hookify:list - Show installed rules/hookify:configure - Manage installed rules.claude/hookify.<rule-name>.local.md with enabled: true
in its frontmatterskills/rule-catalog/rules/<category>/<rule>.md; no fields
silently dropped during installationnpx claudepluginhub athola/claude-night-market --plugin hookifyCreates and configures Hookify rules (.md files with YAML frontmatter) for pattern matching and warnings on bash, file, prompt, and stop events. Includes regex guidance, condition syntax, and file organization.
Guides users in creating and managing hookify rules — markdown files with YAML frontmatter that define patterns and messages for bash, file, stop, or prompt events.
Guides writing hookify rules with YAML frontmatter, regex patterns, and event-based triggers for bash, file, stop, and prompt events.