hydro-plugin-hooks

Community

Coordinate Hydro plugin events across processes.

Authorgtn1024
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developing Hydro plugins often requires reliable cross-process event coordination, lifecycle management, and resource cleanup across multiple servers. This Skill provides a comprehensive reference to Hydro's event system, including the Context API, cluster-safe broadcasting, 60+ event types, automatic cleanup via ctx.effect, scheduled tasks via ctx.interval, and replaceable modules via ctx.provideModule.

Core Features & Use Cases

  • Event API overview: listen, one-time listen, emit, parallel, serial, and cross-process broadcast
  • Cluster safety and orchestration: safely broadcast across processes and servers
  • Resource lifecycle and modularity: resource cleanup, scheduled tasks, and replaceable modules
  • Real-world patterns: examples for plugin development, including generator-based registration using yield

Quick Start

Register plugin event listeners and enable cross-process broadcasts to harmonize plugin behavior

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: hydro-plugin-hooks
Download link: https://github.com/gtn1024/hydro-dev-skills/archive/main.zip#hydro-plugin-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 471,000+ vetted skills library on demand.