processwire-hooks

Community

Master ProcessWire's powerful hook system.

Authorwebmanufaktur
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide to ProcessWire's hook system, enabling developers to modify and extend core functionality without altering the core files, leading to more maintainable and flexible websites.

Core Features & Use Cases

  • Understanding Hook Types: Learn about before, after, replace, method, and property hooks.
  • Implementing Hooks: See examples for modules, template files, and global scope.
  • Advanced Techniques: Explore URL/path hooks, conditional hooks, hook priority, and creating hookable methods.
  • Use Case: You need to automatically add a custom watermark to every image uploaded through the ProcessWire admin. This skill shows you how to hook into the File::save event to achieve this.

Quick Start

Use the processwire-hooks skill to learn how to add an 'after' hook to the 'Page::render' method.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: processwire-hooks
Download link: https://github.com/webmanufaktur/pwaiworkflow/archive/main.zip#processwire-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.