본문으로 건너뛰기
cccskills
무료GitHub에 공개

commands-and-cvars

Implement commands and CVar-backed configuration with validation, authority, persistence, localized feedback, and compatibility.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md3.5 KB
  • agents/openai.yaml209 B
  • references/cvar-checklist.md617 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Console commands

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.

CVars

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:

FlagMeaning to account for
SERVER / CLIENTWhich side is allowed to change the value
SERVERONLY / CLIENTONLYWhich side registers the value
REPLICATEDSynchronizes between client and server; define replicated CVars in Shared
ARCHIVESaves non-default values to the configuration file
NOTIFYServer-side changes notify clients; use only for a Shared definition
CHEAT / NOT_CONNECTEDRestricts debug changes or changes while connected
CONFIDENTIALHides 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.

Verification

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.

  • Commands: cover parsing, missing/extra arguments, invalid and boundary values, permissions, and user-facing output when affected.
  • CVars: cover default/override behavior, runtime updates, replication, archived persistence, or invalid-value fallback only where the change affects those contracts.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 22일 업데이트

Implement privileged commands, admin UI, role checks, audit logs, and safe operational controls.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 22일 업데이트

Plan, verify, implement, and deliver repository work through evidence-backed ownership and quality gates.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 22일 업데이트

Implement replicated appearance data, GenericVisualizer mappings, sprite layers, overlays, and client visual systems.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 22일 업데이트

atmos

무료

Modify atmos simulation, gases, fire, pressure, pipes, devices, UI, and hot paths safely.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 22일 업데이트

audio

무료

Add data-driven audio with correct prediction, audience, resources, attribution, and verification.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 22일 업데이트

ArcaneSS14의 스킬 모두 보기

이 스킬의 문제 신고