CS

colyseus/skill

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

4 stars Качество 65 Тренд 25MIT

Познакомьтесь с последними API и последними версиями Colyseus - создайте масштабируемые многопользовательские серверы с поддержкой AI

Обзор

Навык агента, который учит кодирующих агентов текущим API Colyseus. Большинство моделей изучали Colyseus из материала до 0,18, поэтому оставили на память, что они пишут colyseus.js импорт, Room generics, client.id и onMessage() регистрации. Этот навык прикрепляет их к 0,18 и, что не менее важно, заставляет их проверять установленную версию, прежде чем писать что-либо. Agent Skills - это открытый стандарт, поэтому он работает в Claude Code, Codex, Cursor, Gemini CLI, Copilot, opencode и всех других клиентах, которые его реализуют. Он спрашивает, кого из ваших установленных агентов настроить, и пишет в собственный каталог каждого. Чтобы сделать это вручную, клонируйте в каталог сканирование инструмента. Каталог целей должен быть назван colyseus, чтобы соответствовать названию в SKILL.md: Умение активируется само по себе, когда в задачу вовлекается Колизей, подобранный по описанию в SKILL.md.

Обзор (машинный перевод)

Навык агента, который учит агентов кодирования текущему Colyseus API.

Большинство моделей изучали Colyseus из материала до 0,18, поэтому оставили в памяти их. Написать colyseus.js импорт, Room генерики, client.id и [3] Регистрация. Этот навык привязывает их к 0,18 и так же, как Важно, чтобы они проверили установленную версию, прежде чем писать что-либо.

##Установка

Агентские навыки являются открытым стандартом. работает в Claude Code, Codex, Cursor, Gemini CLI, Copilot, opencode и Каждый клиент, который его реализует.

Он спрашивает, кого из ваших установленных агентов настроить, и пишет каждому из них. Собственный каталог. Чтобы сделать это вручную, клонируйте в каталог сканирование инструмента. The Наименование: colyseus, name, colyseus, name [[Т6]]:

Каждый проект / Every Project / One Project [править править код] | Codex, Cursor, Gemini CLI, Copilot, opencode |~/.agents/skills/colyseus |.agents/skills/colyseus Код Клода ~/.claude/skills/colyseus``.claude/skills/colyseus

Умение активируется само по себе, когда задача включает в себя Колизей, подобранный из [11] в [12]. Ничто в нем не является специфическим для инструмента: фронтматер

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Colyseus agent skill

An Agent Skill that teaches coding agents the current Colyseus APIs.

Most models learned Colyseus from pre-0.18 material, so left to memory they write colyseus.js imports, Room generics, client.id, and onMessage() registrations. This skill pins them to 0.18 and, just as importantly, makes them check the installed version before writing anything.

Install

Agent Skills are an open standard, so this works in Claude Code, Codex, Cursor, Gemini CLI, Copilot, opencode, and every other client that implements it.

npx skills add colyseus/skill            # this project
npx skills add colyseus/skill --global   # every project

That asks which of your installed agents to set up, and writes to each one’s own directory. To do it by hand, clone into the directory your tool scans. The target directory must be named colyseus, to match the name in SKILL.md:

Tool Every project One project
Codex, Cursor, Gemini CLI, Copilot, opencode ~/.agents/skills/colyseus .agents/skills/colyseus
Claude Code ~/.claude/skills/colyseus .claude/skills/colyseus
git clone https://github.com/colyseus/skill ~/.agents/skills/colyseus

The skill activates on its own when a task involves Colyseus, matched from the description in SKILL.md. Nothing in it is tool-specific: the frontmatter uses only fields the specification defines, it declares no compatibility requirement, and references/ is the standard bundled documentation slot.

Skills are instructions an agent will act on, so read one before installing it. This one ships no scripts/: it asks the agent to read documentation and check your installed version, and it never asks it to run anything. The sync tooling in tools/ is for maintaining this repository and is not part of the skill.

What is in it

  • SKILL.md: version detection, the anti-pattern table, old-shape → new-shape diffs for the APIs that changed structure (server definition, state callbacks, reconnection), the canonical 0.18 shapes, a symptom table for existing projects, and a routing table. Hand-written.
  • references/: full documentation text for the areas agents get wrong: schema, room, client SDK, netcode. Generated. Do not edit.

Keeping references current

Every page on docs.colyseus.io is served as raw markdown at .md. sources.json lists which pages compose each reference, and the sync script assembles them:

npm run sync      # rewrite references/
npm run check     # fail if references/ is out of date

npm run check also resolves every documentation URL named in SKILL.md. A 404 means a page was renamed: the site’s redirect map is client-side JavaScript, so it cannot rescue a raw fetch, and a stale URL is dead for the

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add colyseus/skill
Новичок в MCP? Начните с руководства на mcpskill.org →