Community编程与开发github.com

发布模组

打包并发布一个完成的游戏模组。涵盖发布前的代码检查(无游戏文件、反编译代码或泄露密钥)、README 与安装步骤、致谢与 AI 声明、版本控制、上传平台(Nexus Mods、Steam Workshop、Thunderstore、mod.io、GitHub Releases),以及附带视频的发帖。当用户想要发布、分享、上传、发行或发帖时使用。

发布模组 是什么?

该技能指导用户将完成的游戏模组从开发阶段顺利推送到主流游戏平台。首先执行自动化检查(lint),识别模组包中是否混有原始游戏文件、泄露的 API 密钥或反编译器残留,确保上传内容合法合规。然后根据不同平台(如 tModLoader、BepInEx/Thunderstore、Nexus Mods、Steam Workshop、Minecraft 模组加载器、ROM 补丁等)的打包要求,生成正确的目录结构和清单文件。技能还强制要求编写完整的 README,包含安装说明、兼容性信息、致谢——特别是 AI 生成内容的透明声明——以及开源许可证。最后,技能引导用户进行语义化版本号管理、编写更新日志,并制作一段 20-45 秒的展示视频用于发布帖。整个过程完整覆盖了“检查→打包→文档→版本→发布”的端到端工作流。

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/rehan-remade/universal-modder/tree/main/skills/publish-mod

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

发布模组 是做什么的?

1. 代码检查(Lint)

um publish check ./MyMod --game "<游戏安装文件夹>"
  • 失败: 模组中包含与游戏文件字节完全相同的文件、泄露的密钥(fal/Anthropic/OpenAI/GitHub/AWS)、.env 文件。
  • 警告: 源代码中存在反编译器指纹(FUN_/DAT_/sub_ 名称、“Decompiled with”头)、大型引擎资源包、绝对用户路径、缺少 README、未注明出处的 fal 素材。

修复所有失败项。慎重处理每条警告。例如,AoE2 数据模组确实会附带一个修改过的 .dat 文件,这是该平台的常规做法。

2. 按平台要求打包

平台 / 加载器打包方式
tModLoader构建 → .tmod;从游戏内 Mod Sources 菜单发布(Steam Workshop)
BepInEx / Thunderstorezip 压缩包,内含 manifest.json、icon.png(256×256)、README.md、plugins/<Mod>.dll;依赖字符串如 BepInEx-BepInExPack-5.4.2100
Nexus Modszip 压缩包,目录布局应与实际安装路径一致(Bethesda 游戏用 Data/...,BepInEx/plugins/...、ue4ss/Mods/...、~mods/*.pak)
AoE2 DE官方模组网站(ageofempires.com/mods)或游戏内上传器;数据模组包含 resources/_common/dat/...
Steam Workshop游戏自带的上传器或 SDK 工具
MinecraftModrinth / CurseForge 的 jar 包,内含 fabric.mod.json / neoforge.mods.toml
ROM 改版 / GameMaker仅提供补丁文件(BPS/IPS/xdelta),绝不包含修改后的游戏文件

如果 Nexus Mods 模组提供可选安装选项,则需要制作 FOMOD 安装器:请参考 FOMOD 教程 和 STEP 的 FOMOD 指南。Nexus Mods 的 模组制作 wiki 介绍了该站点的其他规范。

3. README(放入压缩包和页面中)

  • 模组增加了什么:要点列表、一张 GIF 或展示视频。
  • 运行要求:游戏版本、加载器及其版本、依赖项。
  • 安装、卸载与故障排除(日志文件位置)。
  • 兼容性:支持多人游戏吗?已知冲突?
  • 致谢:
    • 加载器和库;
    • 参考资料;
    • “使用 fal(fal.ai)生成的艺术/音频,模型为 <模型名称>”(fal_manifest.jsonl 列出了这些模型);
    • 诚实的 AI 声明(说明由哪个智能体、哪个模型构建)。
  • 代码的许可证(通常用 MIT/Apache)。素材的许可条款遵循所用模型的许可证。

4. 版本号与更新日志

在清单文件或构建文件中使用语义化版本号,注明支持的游戏版本,并维护更新日志。游戏更新时,请先重新运行游戏内测试场景,然后再提升版本号。

5. 发帖

  • 以视频开头:使用展示视频技能;时长 20-45 秒,前 2-3 秒内出现游戏画面。
  • 帖子正文:吸引人的开头、模组介绍、技术致谢(说明使用了哪个智能体 + fal 构建)、链接。
  • 如果视频使用了其他人的素材,请先征得许可并在简介中注明其昵称。
  • 发布始终由用户决定。先起草好内容,展示给用户,让他们自己点击发布按钮。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

asset-pipeline

Turn generated or hand-made art into exactly what a game engine loads. Covers sprite cutout, trim and nearest-neighbour fitting to frame sizes, pixelation to a palette, sprite sheets and strips, player/team-colour masks, seamless textures, and rendering a 3D model into sprite frames from the game

fal-assets

Generate game assets with fal (fal.ai) through the fal MCP server, the `um fal` CLI (REST) or `fal api`. Covers sprites and icons with transparent backgrounds, consistent variants and animation frames, pixel art, seamless textures, PBR material maps, image-to-3D models, remeshing, auto-rigging, sound effects, music, voice lines, and trailer or cutscene video. Use whenever a mod needs new art, audio or 3D models, or the user mentions fal, generating sprites, textures, models, SFX or music for a game.

game-automation

Launch, see and drive a real game so an agent can test its own mods. Covers launching via Steam or the exe, windowed mode at a fixed size, screenshots of the game window (GPU-safe capture), clicking and typing into menus, holding keys, relative mouse, crash-reporter cleanup, killing by PID, reading logs, scripted test scenes, and an in-game JSON bridge that lets an agent observe and act. Windows-first (also from WSL), with notes for Linux and macOS. Use when a mod must be verified in game, when navigating menus automatically, or when building a repeatable test or demo scene.

game-recon

Figure out how a specific installed game can be modded, before writing any mod code. Covers where it

game-research-websearch

Research a game, engine or modding technique on the open web with archive-aware, rate-limit-safe searches — Wayback Machine/archive.today for dead forums (XeNTaX, Zenhax, old threads), GitHub code/repo search, Nexus/Steam Workshop/Thunderstore APIs, Reddit JSON, YouTube transcripts, plus archive snapshots as evidence. Use when starting work on a game (

mashup-mods

Build cross-game mashups and total conversions, the

mod-any-game

Mod a PC game the user owns, taking an idea to working in the real game and recorded. It covers new items, weapons, enemies, bosses, units, civilizations, mechanics, art, sound, VR and cross-game mashups. Use when the user wants to mod, extend, hack on, reverse engineer or mash up a game (

port-a-mod

Port an existing mod to a newer game version or another mod loader while keeping its behaviour, values and quirks. Typical cases are an old Forge 1.7.10 or 1.12 Minecraft mod moving to modern Fabric or NeoForge, a Skyrim LE plugin moving to SE/AE, or a tModLoader 1.3 mod moving to 1.4. It covers pinning one source version, a private decompiled reference, an adaptation matrix, extracting the mod

reverse-engineering

Read how a game actually works so a mod can hook it. Decompile .NET/Mono (ILSpy), IL2CPP (Cpp2IL, Il2CppDumper), Java (Vineflower) and native code (Ghidra, IDA, via MCP servers); dump data and asset formats; reverse-engineer a binary file format and prove it with a round trip; read live memory (Cheat Engine, Frida, x64dbg); find render passes (RenderDoc). Use when a mod needs game internals, e.g.

share-field-notes

Search and contribute to the shared AI-modding knowledge base, where field notes record how specific games were modded, decompiled or reverse-engineered (exact versions, route, engine facts, verification, gotchas). Use before starting work on a game (

showcase-video

Record and cut a short showcase video of a game mod, or a compilation of clips, ready to post on X/YouTube. Records the game window with only the game

相关技能