server
OfficialStandardize server lifecycles with state machine
Authorinvowk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a reusable pattern for implementing long-running server components with a formal lifecycle (Created→Starting→Running→Stopping→Stopped) and atomic state reads, ensuring predictable behavior and safe shutdowns.
Core Features & Use Cases
- Provides a defined state machine (Created, Starting, Running, Stopping, Stopped, Failed) to guide lifecycle transitions.
- Offers atomic state reads via atomic.Int32, mutex-protected transitions, ready signaling, and context-aware cancellation for robust operation.
- Reusable base components for SSH servers, TUI servers, and shared server bases to accelerate development.
Quick Start
Start a new server component using the standard lifecycle pattern in your codebase.
Dependency Matrix
Required Modules
None requiredComponents
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: server Download link: https://github.com/invowk/invowk/archive/main.zip#server Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.