Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.
中文简介正在准备中。当前显示原文说明。
Implement commands and CVar-backed configuration with validation, authority, persistence, localized feedback, and compatibility.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Keep parsing, authorization, validation, execution, and feedback distinct. Verify the current command and shell interfaces before implementation.
Commands affecting players, round state, persistence, or server configuration require permission checks and useful audit logging.
Command descriptions, help, usage, success, and player-safe errors must use en-US; add ru-RU only when explicitly requested. Do not expose internal exceptions or raw IDs.
Use the existing command registration and permission pattern. Validate argument count, parsing, ranges, and current world/player state before mutation. A client-visible command or command completion is not authorization; privileged actions must be checked on the server. Follow admin-and-permissions for permission and audit requirements when the command is privileged.
Use a CVar only for a global operational or runtime configuration value. Per-entity/content state belongs in the relevant component or prototype, not a CVar. Before defining one, search the exact key: CVar names share a global namespace regardless of which definition class contains them. Use the current typed CVarDef<T> pattern, a stable namespaced key, safe typed default, description including units where needed, and explicit runtime behavior.
Choose flags from the value's actual ownership and lifecycle; verify their definitions in the current engine rather than treating them as interchangeable:
| Flag | Meaning to account for |
|---|---|
SERVER / CLIENT | Which side is allowed to change the value |
SERVERONLY / CLIENTONLY | Which side registers the value |
REPLICATED | Synchronizes between client and server; define replicated CVars in Shared |
ARCHIVE | Saves non-default values to the configuration file |
NOTIFY | Server-side changes notify clients; use only for a Shared definition |
CHEAT / NOT_CONNECTED | Restricts debug changes or changes while connected |
CONFIDENTIAL | Hides the value from CVar command completion; it is not secret storage |
Decide whether the value is startup-only or supports runtime changes. Validate bounds and reject invalid/non-finite numeric values before applying timers, rates, sizes, economy values, or paths. Do not replicate private server state or put credentials/secrets in a CVar.
Subscribe only when live changes are supported. For an EntitySystem, prefer Subs.CVar so the subscription is removed with system lifecycle; use the immediate callback option when initialization must consume the already-loaded value. For other owners, pair subscription and unsubscription explicitly. Persisted client settings must survive restart and handle removed or invalid values safely.
CVar and command names are operational APIs. Renames require migration or compatibility handling.
Use .agents/skills/commands-and-cvars/references/cvar-checklist.md when adding or changing a CVar.
Build only the affected project. When verification is requested, select focused tests for the changed behavior; do not restore dependencies or run the complete root or module test suites by default.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.
中文简介正在准备中。当前显示原文说明。
Implement privileged commands, admin UI, role checks, audit logs, and safe operational controls.
中文简介正在准备中。当前显示原文说明。
Plan, verify, implement, and deliver repository work through evidence-backed ownership and quality gates.
中文简介正在准备中。当前显示原文说明。
Implement replicated appearance data, GenericVisualizer mappings, sprite layers, overlays, and client visual systems.
中文简介正在准备中。当前显示原文说明。
Modify atmos simulation, gases, fire, pressure, pipes, devices, UI, and hot paths safely.
中文简介正在准备中。当前显示原文说明。
Add data-driven audio with correct prediction, audience, resources, attribution, and verification.
中文简介正在准备中。当前显示原文说明。