Skip to content
cccskills
FreePublished on GitHub

et-code

ET framework C# code authoring and review workflow. Use when creating or modifying Entity, Component, System, Helper, message handlers, package dependencies, assemblies, module analyzer boundaries, C# file placement, .meta handling, ECS layering, or component contract logic in WOW/ET packages.

The English summary is being prepared. Showing the original description.

FlameskyDexive/Legends-Of-Heroes931 stars(GitHub 931 + cccskills 0)

Run score Not tested

See how to install

Files included (5)

  • SKILL.md2.3 KB
  • references.meta172 B
  • references/et-code-rules.md5.7 KB
  • references/et-code-rules.md.meta158 B
  • SKILL.md.meta158 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

et-code - ET Code 入口

何时使用

  • 新建或修改 Entity、Component、System、Helper
  • 新建或修改 MessageLocationHandler、MessageHandler<T>、MessageSessionHandler
  • 新建或移动 C# 文件,检查 .meta、程序集与包内落点
  • 新增消息、模块、程序集或包依赖
  • 处理 ECS 分层、组件存在性契约、Module analyzer、分析器报错

不要加载

  • 只是执行测试、导出配置或操作 Excel
  • 只做 Unity 编辑器操作(用 et-unitybridge)

默认动作

  1. 先确认改动所在 package、程序集层级和包内 AGENTS.md 规则。
  2. 检查代码是否位于 Packages/cn.etetet.*,并确认是否需要关注 packagegit.json、PackageType.cs。
  3. 先判断 Entity / System 分离、Handler Run 规范、包依赖单向、Module analyzer、禁止 hard code 是否受影响。
  4. 新增组件或判空前先确认组件存在性契约;按设计必然存在的组件不要偷偷兜底创建。
  5. 涉及 async / await / ETTask / EntityRef 时,叠加 ../et-async/SKILL.md。
  6. 新建类前优先复用现有结构;默认一类一文件。
  7. 严禁 AI 手工生成 .meta 或手工修改 .csproj;移动 C# 文件时必须同步移动对应 .meta 以保留 GUID。
  8. 严禁为了注册表、缓存、映射关系随手新增静态可变字段;先确认生命周期与 owner。

快速分流

  • 文件、.meta、包落点、包层级:补读 references/et-code-rules.md
  • ECS 数据/逻辑边界、组件契约、Module analyzer:补读 references/et-code-rules.md
  • await 后 Entity 访问、EntityRef<T>、NewContext(...):叠加 et-async
  • 编译或分析器验证:转 et-build

输出要求

  • 说明代码落点、包依赖、程序集层次是否正确
  • 说明是否影响 .meta、.csproj、Unity 刷新或工程文件生成
  • 说明是否影响 EntityRef / await 安全、Handler Run 规范
  • 说明是否引入新的 analyzer 风险、静态状态风险或模块边界问题

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Unity Editor and Player Runtime CLI integration for AIBridge. Use when Codex needs to compile Unity, inspect Console logs, search/read assets, manipulate GameObjects, Transforms, components, SerializedProperty values, scenes, screenshots/GIFs, connect to built Player runtime targets, simulate Play Mode runtime input, editor focus/menu items/game view, or look up AIBridgeCLI command syntax. For batch/multi scripts use aibridge-batch-script. For complex prefab asset edits use aibridge-prefab-patch. For unsupported direct Unity YAML serialized asset edits use unity-yaml-editing.

The English summary is being prepared. Showing the original description.

FlameskyDexive/Legends-Of-Heroes931Updated Sep 22, 2026

AIBridge batch and multi command automation. Use when Codex needs to run multiple Unity Editor CLI operations together, write batch scripts, use multi --cmd or multi --stdin, handle call/delay/log/menu lines, avoid PowerShell quoting issues, or automate long/JSON-heavy AIBridgeCLI workflows.

The English summary is being prepared. Showing the original description.

FlameskyDexive/Legends-Of-Heroes931Updated Sep 22, 2026

Optional read-only AIBridge Code Index semantic lookup for Unity projects. Use only when this Skill is installed and project rules or AIBridge settings say Code Index is enabled. Use for CLI-only symbol, definition, reference, implementation, derived-type, caller, and diagnostic queries. Do not use when Code Index is disabled; use rg, host file reads, and regular AIBridge commands instead.

The English summary is being prepared. Showing the original description.

FlameskyDexive/Legends-Of-Heroes931Updated Sep 22, 2026

AIBridge/Unity 项目的标准开发工作流。Use when creating, modifying, fixing, refactoring, or validating C# code, Unity assets, prefabs, editor tools, package structure, tests, AGENTS.md, or local Skills. Preserves visible modes for Skills matching, requirement confirmation, analysis, implementation, and final checklist. Do not use for pure Q&A, simple search/display, or code explanation tasks with no file/code/asset changes.

The English summary is being prepared. Showing the original description.

FlameskyDexive/Legends-Of-Heroes931Updated Sep 22, 2026

Unity Prefab asset patch workflow for AIBridge. Use when modifying complex prefab assets with prefab patch operations, child or component creation, SerializedProperty writes, array edits, internal GameObject/component references, dry-run validation, or when deciding between prefab patch, inspector set_property, scene object commands, and direct Unity YAML fallback.

The English summary is being prepared. Showing the original description.

FlameskyDexive/Legends-Of-Heroes931Updated Sep 22, 2026

ET async and EntityRef safety workflow. Use when adding, modifying, or reviewing async/await, ETTask, generic ETTask results, ETCancellationToken, NewContext, concurrent waits, handler Run async safety, or any Entity access after await in WOW/ET code or tests.

The English summary is being prepared. Showing the original description.

FlameskyDexive/Legends-Of-Heroes931Updated Sep 22, 2026

See all skills by FlameskyDexive

Report a problem with this skill