agentleFS
hoatv2211hoatv2211/GameStudio-CodexKIT/skills/mmorpg-packet-protocol-review/SKILL.md

mmorpg-packet-protocol-review

Skill3 starsChanged 3 months agoMITView on GitHub

Use when a C++ server and Unity client protocol manifest or wire compatibility review covers packet version negotiation, numeric opcode registry, byte layout order, direction, and request-response pairing.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use for opcode drift, packet-version mismatch, direction errors, typed field order changes, request-response mismatches, or mixed …

    line 35
  2. Distinctive:

    Do not use for exploit testing, live packet replay, generic Lua copy auditing, or runtime service control.

    line 38
  3. Distinctive:

    Read-only. Never send crafted packets, start servers, capture credentials, or hand-edit generated protocol outputs.

    line 44
  4. Distinctive:

    Do not test static drift by sending packets to production.

    line 67
  5. Very specific:

    Use the bundled scripts/protocol_review.py with its scripts/lua_contract_audit.py dependency and project-local protocol generation maps.

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MMORPG Packet Protocol Review

Overview

Compare versioned protocol manifests across clients and servers without sending traffic or editing generated packet definitions.

When to use

Use for opcode drift, packet-version mismatch, direction errors, typed field order changes, request-response mismatches, or mixed client/server releases.

When NOT to use

Do not use for exploit testing, live packet replay, generic Lua copy auditing, or runtime service control.

Required inputs and context discovery

Collect protocol versions, source and generated paths, packet names, opcodes, direction, authority, ordered typed fields, response pairing, build compatibility matrix, and no-touch generated outputs.

Safety and risk level

Read-only. Never send crafted packets, start servers, capture credentials, or hand-edit generated protocol outputs.

Workflow

  1. Identify authoritative protocol sources and version ownership. Completion criterion: every manifest is source, generated, copy, or unknown.
  2. Normalize packet definitions into deterministic ordered structures. Completion criterion: parse ambiguity is reported rather than guessed.
  3. Compare versions, presence, opcode, direction, authority, fields, and pairing. Completion criterion: each mismatch cites both sides.
  4. Map mismatches to supported client/server build combinations. Completion criterion: compatibility risk is explicit.
  5. Propose source-first changes and regression fixtures. Completion criterion: no live traffic or generated hand edit is required.

Evidence and output contract

Produce packet-protocol-review.json with versions, compatibility, packet mismatches, source authority, limitations, and recommended source fixes.

Handoff contract

Record manifest/build paths, supported versions, mismatches, generated files, parsing limits, and next source-first owner.

Pitfalls and anti-rationalization

  • Matching packet names do not prove compatibility.
  • Field order is part of a binary contract.
  • Do not test static drift by sending packets to production.
  • Generated copies are not automatically authoritative.

Verification checklist

  • Protocol versions are explicit.
  • Ordered typed fields are compared.
  • Direction, authority, and pairing are checked.
  • Compatibility matrix is recorded.
  • No traffic or generated file was changed.

References and scripts

Use the bundled scripts/protocol_review.py with its scripts/lua_contract_audit.py dependency and project-local protocol generation maps.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.