Et Luban
Developmentet-lubanEt Luban is an Agent Skill for development published in the egametang/ET repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
ET Luban export workflow. Use when exporting generated C# config/data code, refreshing aggregated luban.conf, validating CodeMode outputs, or troubleshooting ET.ExcelExporter, LubanGen.ps1, table definitions, beans, enums, Defines, and Luban export failures.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/egametang/ET/blob/HEAD/Packages/cn.etetet.harness/skills/et-luban/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/et-luban, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
et-luban - Luban 导出入口
何时使用
- 导出 Luban 生成的 C# 配置代码与 C# 数据代码
- 修改
Packages/cn.etetet.*/Luban/**、__tables__.xlsx、__beans__.xlsx、__enums__.xlsx、Defines/后重新导出 - 刷新聚合后的
luban.conf - 排查
ET.ExcelExporter、LubanGen.ps1、luban.conf导出失败 - 核对导出后的
CodeMode/Model/**与CodeMode/Config/**
不要加载
- 只是读取/写入 Excel 单元格、批量改表,还没到导出环节(用
et-excel) - 只是编译
ET.sln、导出 Proto、启动服务器、发布(用et-build) - 只是查询 Unity 编辑器状态或执行其它 UnityBridge 命令
默认动作
- 命令必须在项目根目录执行,避免
Packages/相对路径和LubanGen.ps1定位错误。 - 当前 Luban 脚本统一走
cs-code与cs-code-data,导出结果是 C# 代码,不是 json 或二进制。 - 导出前先区分“改表”和“生成产物”;只改表时先用
et-excel。 - 导出过程会扫描
Packages/cn.etetet.*/Luban/*并刷新聚合luban.conf。 - 导出后检查控制台、生成结果与 diff,区分真实配置变化和自动聚合变化。
优先入口
dotnet ./Bin/ET.ExcelExporter.dll- Unity 菜单:
ET/Excel/ExcelExporter
按需补读
references/et-luban-export.md:导出流程、结果落点、常见失败排查