swoole-expert

Community

Write correct, production Swoole PHP.

Authorabnegate
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Building Swoole applications often fails in subtle ways—leaking state across requests, blocking inside coroutines, misusing runtime hooks, or mishandling graceful reloads—leading to hard-to-debug production incidents.

Core Features & Use Cases

  • Long-running process correctness: Clarifies object lifetimes and what must not rely on php-fpm behaviors (superglobals, session_start, echo/exit/header, static state).
  • Coroutine safety patterns: Covers coroutine container rules, cooperative scheduling behavior, cancellation/time limits, and safe cleanup with defer.
  • Production-grade Swoole reference: Provides detailed guidance for servers (HTTP/WebSocket/TCP), events and settings, concurrency primitives (Channel/WaitGroup/Barrier), runtime hook flags (including SWOOLE_HOOK_ALL), pooling rules, and the most common pitfalls with tuning and debugging.

Quick Start

Use the swoole-expert skill to review your Swoole server code for coroutine safety, correct hook configuration, and graceful reload 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: swoole-expert
Download link: https://github.com/abnegate/claudes/archive/main.zip#swoole-expert

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.