跳到正文
cccskills
免费在 GitHub 公开

entity-relations-and-links

Maintain entity references, ownership links, target relationships, deletion cleanup, and network-safe relation state.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md1.5 KB
  • agents/openai.yaml260 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Entity references are temporary relationships, not permanent object references.

Storage

Use nullable entity IDs, network-safe entity forms, or established relation components. Do not serialize direct component references. Define whether the relation is one-way, bidirectional, unique, or many-to-many.

Lifecycle

Handle target deletion, source deletion, map transfer, container changes, body transfer, and component removal. Subscribe to relation-breaking events or revalidate before every use according to the lifetime and performance needs.

Ownership and authority

The server owns protected relationships such as account ownership, machine control, role assignment, or target locks. Clients may receive only the relation data needed for presentation.

Consistency

If both entities store the relationship, update both sides atomically or through one owning system. Prevent duplicate links and stale back-references.

Common failures

  • deleted target remains cached;
  • entity transfer preserves a relation that should reset;
  • two systems each believe they own cleanup;
  • client supplies an arbitrary linked entity;
  • network state exposes hidden targets;
  • save data restores an invalid entity ID.

Verification

Test link, relink, unlink, source deletion, target deletion, map transfer, reconnect, duplicate request, and invalid restored state.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 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 的全部技能

报告此技能的问题