protocol-design

Implement ProtocolAdapter-based protocols and wire them into the adapter factory.

7|2|Updated Jul 2, 2025
One-click install
npx skills add https://github.com/tunnox-net/tunnox-core --skill protocol-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: protocol-design
Source: https://github.com/tunnox-net/tunnox-core/tree/main/.claude/skills/protocol-design
Command: npx skills add https://github.com/tunnox-net/tunnox-core --skill protocol-design

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured approach to implementing new ProtocolAdapter-based protocols (e.g., KCP, QUIC, WebSocket) that integrate with Tunnox.

Core Features & Use Cases

  • ProtocolAdapter interface design, adapter skeleton, wiring into factory.

  • Implementation templates and guidelines.

  • Testing and integration patterns.

  • Use Case: Implement new adapter 'XXX' and wire into factory.

Quick Start

Add adapter implementation under internal/protocol/adapter/xxx_adapter.go and wire it through the adapter factory, and run the test suite to verify.