atomic-matchmaking

Implement two-phase commit matchmaking to create game lobbies reliably.

783|62|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/dadbodgeoff/drift --skill atomic-matchmaking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: atomic-matchmaking
Source: https://github.com/dadbodgeoff/drift/tree/main/drift%20v1%20depreciated/skills/atomic-matchmaking
Command: npx skills add https://github.com/dadbodgeoff/drift --skill atomic-matchmaking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that multiplayer matches are created reliably by verifying player connections before finalizing the match, and gracefully handles disconnections to prevent players from being stuck.

Core Features & Use Cases

  • Two-Phase Commit: Verifies player connections in Phase 1 before creating a lobby in Phase 2.
  • Graceful Disconnection Handling: Automatically re-queues healthy players if a match fails due to a disconnection.
  • Use Case: Ideal for real-time multiplayer games where ensuring players can join a match after being paired is critical.

Quick Start

Use the atomic-matchmaking skill to create a match between player one and player two.

Frequently Asked Questions about atomic-matchmaking

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

FAQPage Schema
How does two-phase commit matchmaking work for real-time multiplayer games?

Two-phase commit matchmaking works by verifying player connections in Phase 1 before creating a game lobby in Phase 2. This ensures players are successfully paired and prevents stuck matches by confirming connectivity before finalizing the lobby creation.

How do I handle player disconnections during the multiplayer matchmaking process?

To handle player disconnections during matchmaking, the system verifies connections before lobby creation and automatically re-queues healthy players if a match fails. This prevents remaining players from being stuck and seamlessly returns them to the queue.

Can I use this matchmaking system with Python and TypeScript game servers?

Yes, the matchmaking system supports both Python and TypeScript/JavaScript environments. It is designed to integrate with real-time multiplayer applications built on either of these technology stacks to create reliable game lobbies.

Why do players get stuck in multiplayer queues after a match fails to create?

Players get stuck when a match fails due to a disconnection without a fallback mechanism. This system solves the problem by verifying connections before finalizing the match and gracefully re-queuing healthy players if the lobby creation fails.

What is the best way to reliably create game lobbies for real-time multiplayer matches?

The best way to reliably create game lobbies is using a two-phase commit matchmaking system. It verifies active player connections before finalizing the lobby, ensuring match reliability and gracefully handling disconnections by re-queuing healthy players.