hydro-plugin-handler

Register HTTP routes and WebSocket handlers in Hydro plugins.

3|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/gtn1024/hydro-dev-skills --skill hydro-plugin-handler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hydro-plugin-handler
Source: https://github.com/gtn1024/hydro-dev-skills/tree/main/skills/hydro-plugin-handler
Command: npx skills add https://github.com/gtn1024/hydro-dev-skills --skill hydro-plugin-handler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hydro plugin development often requires boilerplate to wire HTTP routes, manage request lifecycles, and integrate WebSocket handlers, leading to repetitive code and potential inconsistencies.

Core Features & Use Cases

  • Route registration and lifecycle management for Hydro plugins.
  • Parameter decorators, response building, and operation-based action handling.
  • WebSocket integration with lifecycle hooks and inheritance-based patterns for reusable logic.

Quick Start

Create a new Hydro plugin project using hydro-plugin-handler to set up a basic HTTP route and a WebSocket listener.

Frequently Asked Questions about hydro-plugin-handler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register HTTP routes in a Hydro plugin?

Hydro plugin route registration maps HTTP endpoints and manages request lifecycles to eliminate repetitive boilerplate. It supports parameter decorators for input handling and response building for structured outputs.

Does Hydro support WebSocket integration with lifecycle hooks?

Hydro supports WebSocket integration using lifecycle hooks and inheritance-based patterns for reusable logic. This enables building real-time plugin features while maintaining consistent connection management and extensible route lifecycles.

What is the best way to manage request lifecycles when building Hydro APIs?

The best way to manage request lifecycles in Hydro APIs is using parameter decorators, response building, and operation-based action handling to streamline routing. This ensures consistent lifecycle management across HTTP routes and WebSocket handlers.

Can I use parameter decorators and operation signals for Hydro route handling?

Yes, you can use parameter decorators for inputs and operation signals for action handling when building Hydro route handlers. These features work together to manage the request lifecycle, build responses, and apply operation-based actions.

How to set up a basic HTTP route and WebSocket listener in a Hydro plugin?

To set up a basic HTTP route and WebSocket listener, create a new Hydro plugin project and apply the handler patterns to register endpoints and connection hooks. This provides the foundation for building APIs and real-time features.

Why does Hydro plugin development require boilerplate for HTTP routing?

Hydro plugin development often requires boilerplate for HTTP routing because manually wiring routes, managing request lifecycles, and integrating WebSocket handlers leads to repetitive code and potential inconsistencies across plugins.