Install a hookify rule from the catalog
Installs hookify rules from the catalog to enforce code quality and safety.
/plugin marketplace add athola/claude-night-market/plugin install hookify@claude-night-marketInstall hookify rules from the rule catalog.
# Use the Python installer (recommended)
python3 plugins/hookify/scripts/install_rule.py git:block-force-push
# Or invoke the skill for Claude-assisted installation
Skill(hookify:rule-catalog)
The installer uses __file__ to locate rules, so it works regardless of where the plugin is installed.
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
python3 plugins/hookify/scripts/install_rule.py --list
| Rule | Action | Default |
|---|---|---|
block-force-push | block | enabled |
warn-large-commits | warn | enabled |
| Rule | Action | Default |
|---|---|---|
block-dynamic-code | block | enabled |
warn-print-statements | warn | enabled |
| Rule | Action | Default |
|---|---|---|
require-security-review | block | enabled |
| Rule | Action | Default |
|---|---|---|
enforce-scope-guard | warn | enabled |
require-spec-before-code | block | disabled |
| Rule | Action | Default |
|---|---|---|
warn-large-file-ops | warn | enabled |
# Install with default status
python3 plugins/hookify/scripts/install_rule.py git:block-force-push
# Force overwrite existing
python3 plugins/hookify/scripts/install_rule.py git:block-force-push --force
# Install to custom directory
python3 plugins/hookify/scripts/install_rule.py git:block-force-push --target /path/to/.claude
rm .claude/hookify.<rule-name>.local.md
Rules are stored in the skill catalog:
plugins/hookify/skills/rule-catalog/rules/
├── git/
├── python/
├── security/
├── workflow/
└── performance/
Skill(hookify:rule-catalog) - Browse and install rules/hookify:list - Show installed rules/hookify:configure - Manage installed rulesSkill(hookify:writing-rules) - Create custom rules