fake-summoner-server

Simulate socket.io, Claude protocol, and filesystem services for server testing.

11|2|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/recca0120/code-quest --skill fake-summoner-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fake-summoner-server
Source: https://github.com/recca0120/code-quest/tree/main/.claude/skills/fake-summoner-server
Command: npx skills add https://github.com/recca0120/code-quest --skill fake-summoner-server

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FakeSummoner eliminates slow, brittle integration testing by providing a realistic server-side test harness that includes socket.io communication, a fake Claude/CLI protocol stream, and in-memory filesystem/git behaviors.

Core Features & Use Cases

  • Server test harness with real socket flow: Simulates a connected client window using an actual socket.io client and lets you validate both RPC responses and server broadcasts.
  • Fake CLI/Claude protocol driving: Runs a FakeClaude that initializes by spawning the CLI protocol workflow and can emit protocol segments (assistant/result/control requests) into the server.
  • Deterministic multi-layer verification: Supports end-to-end assertions across RPC/ack results, broadcast events, store/DB side effects, and simulated CLI stdin/control responses.
  • Channel/session lifecycle simulation: Enables join patterns across multiple windows, session resume after simulated restart, and external launch flows via prepareInit.

Quick Start

Use the fake-summoner-server skill to initialize a FakeSummoner, then send a chat message event and assert the resulting server-to-client protocol events and any persisted state.

Frequently Asked Questions about fake-summoner-server

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

FAQPage Schema
How do I test socket.io server connectivity and broadcast events without a real client?

To test socket.io server connectivity and broadcast events, use a fake server-side harness that simulates an actual socket.io client connection, enabling validation of both RPC responses and server broadcasts deterministically without real clients.

What is a fake CLI protocol stream for integration testing?

A fake CLI protocol stream simulates CLI and Claude protocol segments, emitting assistant, result, and control request events into the server to validate initialization workflows and tool permission flows during integration testing.

How do I verify session management and channel resume behavior in a server test?

Verify session management and channel resume behavior by simulating multiple connected windows, driving initialize and launch segments, and asserting multi-layer side effects including store and DB persistence across simulated restarts.

Can I test in-memory filesystem and git services during server-side integration tests?

Yes, you can test in-memory filesystem and git services during server-side integration tests by injecting fake services through a test DI container, allowing deterministic verification of filesystem and git side effects.

What's the best way to validate CLI stdin and control response handling in a server test harness?

The best way to validate CLI stdin and control response handling is by driving fake protocol segments through a test DI container, then asserting multi-layer side effects across simulated stdin inputs and control response outputs.

When do I need a fake summoner for server-side testing?

You need a fake summoner for server-side testing when integration tests become slow or brittle, requiring realistic socket.io communication, simulated protocol streams, and in-memory filesystem behaviors to run deterministically.