Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.
中文简介正在准备中。当前显示原文说明。
Name C# symbols, events, prototypes, FTL keys, resources, and compatibility surfaces consistently.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Names must communicate ownership, timing, and intent.
Use repository-standard casing and suffixes. Components and systems should be discoverable by type search. Events should state whether they are attempts, pre-change checks, notifications, or completed changes.
Do not introduce an abbreviation that is not established project vocabulary.
A partial class added by a fork should follow the suffix already used for that owner and file family, placed after the semantic suffix: MobStateSystem.Trauma.cs, ActionsSystem.Goob.cs, EnergySwordSystem.Arcane.cs. Before adding a partial, verify that the type can be extended in the same assembly and read the applicable owner and sync rules. Never rename an existing partial to a different fork's suffix or name a new partial after a fork that does not own the code.
Content.Shared, Content.Client, Content.Server, and Content.Common are the conflict surface, because sync brings upstream edits into the same files. A suffixed partial is how a fork adds behavior without editing a base file.
Before editing a base declaration, check whether a partial can carry the change. An owner-suffixed partial can keep additive behavior out of a shared upstream file when the type and assembly support it. Details: .agents/rules/fork-trajectory-priority.md.
Prototype IDs are stable machine identifiers, not display names. Use a feature prefix where collisions are possible. Keep directory names, RSI states, audio collections, map names, and nearby prototypes aligned.
FTL keys use lowercase kebab-case and a stable owner or feature prefix. Variable names describe meaning, not UI position.
Use stable keys and variables in en-US. Keep them consistent with ru-RU only when Russian localization is explicitly in scope. A module key prefix must make ownership clear. File placement does not protect duplicate keys.
Before renaming a serialized field, prototype ID, map entity, database field, CVar, locale key, or network message, search code, prototypes, maps, migrations, config, the affected locale, and downstream references; include Russian files only when Russian is in scope. Provide a migration or compatibility alias where required.
git grep -n "OLD_NAME" -- path/to/relevant/code path/to/relevant/resources path/to/relevant/config
git grep -n "NEW_NAME" -- path/to/relevant/code path/to/relevant/resources path/to/relevant/config
dotnet build path/to/affected-project.csproj --no-restore
git diff --check
Search all references only when the renamed identifier is a public compatibility surface or the task requires finding every reference. For prototype or locale changes, use a targeted validator when available; follow root AGENTS.md for verification scope instead of automatically running a Release build or global YAML linter.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
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.
中文简介正在准备中。当前显示原文说明。