CS

colyseus/skill

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

4 stars 品質 65 トレンド 25MIT

お使いのAIエージェントは、Colyseusの最新のAPIと最新のバージョンを理解できるように - 拡張可能なマルチプレイヤーバックエンドゲームサーバーをAIで作成する

概要

現在のColyseus APIのコーディングエージェントを教えるエージェントスキル。 ほとんどのモデルは、あらかじめ0.18 素材から Colyseus を学んだので、colyseus.js のインポート、Room generics、client.id、onMessage() の登録を書いたメモリに残します。 このスキルは、0.18 にそれらをピン留めし、重要なのと同じように、インストールされたバージョンを何かを書く前にチェックさせます。 エージェントスキルはオープンスタンダードなので、Claude Code、Codex、Cursor、Gemini CLI、Copilot、Opencode、および実装するすべての他のクライアントで動作します。 インストールしたエージェントが設定するかどうかを尋ね、それぞれのディレクトリに書き込みます。 手動で行うには、ツールがスキャンするディレクトリにクローンします。 対象となるディレクトリは、 SKILL.md の名前にマッチする colyseus と名付けられます。 スキルは、タスクがColyseusを伴って、SKILL.mdの説明と一致したときに自分自身で活性化します.

概要(AI 翻訳)

現在のコーディングエージェントを教えるエージェントスキル Colyseus API は、

ほとんどのモデルは、前-0.18材料からコリセウスを学んだので、左からメモリへ [colyseus.js] インポート、 Room ] ジェネリック、 [client.id] 、 [onMessage()] 登録 このスキルは、0.18 にそれらをピン留めします。 重要なことに、インストールしたバージョンが何かを書く前にチェックされます。

インストール

エージェントスキルはオープンスタンダードなので、 これは、Claudeコード、Codex、Cursor、Gemini CLI、Copilot、opencode、および それを実装する他のすべてのクライアント。

インストールしたエージェントが設定するかどうかを尋ね、各エージェントに書き込みます ディレクトリ。 手動で行うには、ツールがスキャンするディレクトリにクローンします。 ザ・オブ・ザ・ 対象ディレクトリmust は [colyseus]] と、 [name と一致します。 [SKILL.md]:

| ツール | 各プロジェクト | ワンプロジェクト | | お問い合わせ | | コーデックス、カーソー、ジェミニクリ、コピロット、オープンコード | [[T7] | [.agents/skills/colyseus | | [~/.claude/skills/colyseus | [[.claude/skills/colyseus] | [[.claude/skills/colyseus | [[.claude/skills/colyseus] | [[.claude/skills/colyseus] | [[.claude/skills/colyseus] | [[.claude/skills/colyseus]] | [[[[[.claude/skills/colyseus]]]] | [[[[.claude/skills/colyseus]]]]]] |[[[[[.claude/skills/colyseus]]]]

タスクがColyseusを伴うとき、スキルは自分で活性化します。 [SKILL.mdの[description]]。 ツール固有のもの: フロントマッター

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add colyseus/skill
MCP 初心者?mcpskill.org のガイドから始めましょう →