CS

colyseus/skill

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

4 stars 품질 65 트렌드 25MIT

AI 에이전트가 최신 API 및 최신 버전의 Colyseus를 이해하십시오. 확장 가능한 멀티 플레이어 백엔드 게임 서버를 AI로 만드십시오

개요

코딩 에이전트를 가르치는 에이전트 기술 현재 Colyseus APIs. 대부분의 모델은 pre-0.18 자료에서 Colyseus를 배웠으므로 colyseus.js 가져 오기, Room generics, client.id 및 onMessage() 등록을 작성하는 메모리에 왼쪽. 이 기술은 그(것)들을 0.18 그리고, 다만 중요하게 핀으로 꼿습니다, 그(것)들을 쓰기 전에 설치된 버전을 검사합니다. Agent Skills는 오픈 표준이므로 Claude Code, Codex, Cursor, Gemini CLI, Copilot, opencode 및 모든 클라이언트에서 작동합니다. 설치 에이전트가 설정하고 각 디렉토리에 쓰기를 요청합니다. 손에 의해 수행하려면 도구 검사 디렉토리에 복제합니다. 대상 디렉토리는 SKILL.md의 이름을 일치하기 위해 colyseus라는 이름입니다. SKILL.md에 대한 설명과 일치하여 작업이 Colyseus를 포함 할 때 자신의 능력을 활성화합니다.

개요(AI 번역)

코딩 에이전트를 가르치는 에이전트 스킬 APIs.

대부분의 모델은 pre-0.18 자료에서 Colyseus를 배웠으므로 메모리로 왼쪽 colyseus.js imports, Room 일반, client.id], onMessage() 등록. 이 스킬은 0.18과 같지만 중요한 것은, 그(것)들을 모든 것을 쓰기 전에 설치된 버전을 검사합니다.

설치

Agent Skills는 오픈 표준이므로 Claude Code, Codex, Cursor, Gemini CLI, Copilot, opencode 및 이 작품 다른 모든 클라이언트는 그것을 구현합니다.

설치 된 에이전트가 설정하고 각 사람에게 쓰기를 요청합니다. 파일 형식 손에 의해 수행하려면 도구 검사 디렉토리에 복제합니다. 더 보기 target directory must 는 colyseus 라는 이름이며, name 의 일치 SKILL.md:

| 도구 | 각 프로젝트 | 한 프로젝트 | 인포메이션 | 코프롯, 코프롯, 코프롯, 코프롯 | [T7]] | .agents/skills/colyseus | | 클로드 코드 | [T9] | [T10] |

이 기술은 작업이 Colyseus를 포함 할 때 자체에서 활성화합니다. description] SKILL.md]. 도구 별이 없습니다. frontmatter

이 페이지는 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 가이드부터 시작하세요 →