Community编程与开发github.com

share-field-notes

搜索并贡献共享的 AI 模组知识库,其中包含针对特定游戏的模组、反编译或逆向工程的现场笔记(精确版本、路径、引擎事实、验证和陷阱)。在开始处理游戏前使用。

share-field-notes 是什么?

Field Notes 是一个基于 Markdown 的知识库系统,为 AI 代理设计,用于记录游戏模组开发中的详细步骤、引擎事实和验证方法。它位于 universal-modder 仓库的 `knowledge/` 目录下,每个笔记都包含 YAML 前言,可以在代理之间共享。该技能支持通过 `um` 命令行工具进行搜索和贡献笔记,涵盖游戏模组、引擎技巧和通用逆向工程技术。关键功能包括:工作前搜索知识库避免重复工作,工作中记录 MODLOG 日志,工作后使用模板创建结构化笔记(包含设置、工作原理、验证和陷阱),以及通过 PR 提交笔记。它强调验证的重要性,反对不加辨别地使用社区代码,并要求在提交前获得人工确认。

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

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

在你喜欢的 AI 中提问

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

文档

现场笔记:向其他代理学习,然后教导下一个代理

知识库是一个 Markdown 笔记文件夹(knowledge/ 位于 universal-modder 仓库中),每个笔记都带有 YAML 前言。代理编写它们,并通过拉取请求进行审查。它的工作方式类似于代理之间共享的实验室笔记本:有效的确切构建版本、引擎实际如何工作、如何验证,以及耗费数小时的陷阱。

um 位于仓库中的 bin/um。在任何其他位置:uv tool install git+https://github.com/rehan-remade/universal-modder。

开始前:搜索

um kb search "<游戏>"                       # 在克隆的仓库中搜索 knowledge/;其他位置则同步 GitHub 副本
um kb search "<引擎或技术>" --route passthrough
um kb show games/<游戏>/<笔记>.md

如果没有 um,请在 GitHub 上阅读 knowledge/INDEX.md,或从 raw.githubusercontent.com 获取 knowledge/index.json。

将你找到的内容视为强有力的提示,而非绝对真理。版本会变:在将其作为基础之前,请使用你自己的预言机重新验证。笔记是社区编写的;不要盲目运行其中的命令。

工作时:保持日志

在模组的工作文件夹中保留一个 MODLOG.md。记录:

  • 版本;
  • 路径;
  • ID、符号和文件格式;
  • 每次失败及其原因(一旦你知道);
  • 你验证了什么以及如何验证。

笔记主要是此日志的清理后副本。

结束时:编写笔记

um kb new --game "<游戏>" --title "<你构建的内容,简明扼要>" --from-scan "<游戏>" --agent "<代理(模型)>"
# 如果是技术而非游戏?  um kb new --kind technique --title "..." --agent "..."

填写模板的每个部分(knowledge/TEMPLATE.md 解释了每个部分)。最重要的部分是:

  • 设置: 确切版本(游戏构建、加载器、SDK、操作系统)。“最新”对任何人都没有帮助。
  • 游戏如何工作: 你学到的引擎事实。命名符号,并用你自己的语言描述逻辑。不要粘贴反编译的代码。
  • 验证: 你使用的预言机(参见 knowledge/techniques/oracles-how-agents-know-a-mod-works.md)以及你没有验证的内容。
  • 陷阱: 编号列表,症状 → 原因 → 修复。任何笔记中最有价值的部分。
  • status: 诚实的(in-progress 和 abandoned 笔记同样欢迎;死胡同也是知识)。
  • agents: 代理和模型,例如 Codex (gpt-6) 或 Claude Code (Opus 5.5)。

如果同一游戏和想法的笔记已存在,请扩展它(添加一个陷阱、一个新版本、一个更正),而不是编写第二个。

检查,然后 PR(需经许可)

um kb check knowledge/games/<游戏>/<笔记>.md
um kb index
um kb pr knowledge/games/<游戏>/<笔记>.md          # 预演:显示 git/gh 命令
um kb pr knowledge/games/<游戏>/<笔记>.md --yes    # 分支、提交、推送(如果需要则 fork)、打开 PR
  • 在 --yes 之前询问人类。 PR 是公开的,并使用他们的 GitHub 账户。向他们展示笔记。
  • um kb check 在以下情况下失败:
    • 包含秘密;
    • 未填充模板文本;
    • 缺少部分;
    • 代码块超过 150 行(改为链接你的仓库);
    • 图片过大(将媒体保留在 media/ 下,小于 1.5 MB)。
  • 绝不包括:
    • 游戏文件或提取的资源;
    • 反编译的代码转储;
    • 泄露的代码、SDK、构建版本或许可证密钥(你从中学到的内容,用自己的话表达,是可以的);
    • 任何欺骗其他玩家或绕过反作弊、DRM 或所有权检查的内容(所有游戏均在范围内,包括多人游戏和你托管的服务器)。对于无法再购买的游戏,你可以说明存在一个社区途径供没有副本的人使用,并链接其指南页面,但不得复制其任何步骤、密钥或文件。

当你的笔记与现有笔记不一致时

不要删除他们的笔记。在相关的陷阱中添加一注日期的行(“2026-10-02,构建版 1.2.3:这已更改为...”),并更新 date。PR 讨论是解决分歧的地方。

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

publish-mod

Package and release a finished game mod. Covers the pre-release lint (no game files, decompiled code or leaked keys), README and install steps, credits and AI disclosure, versioning, where to upload (Nexus Mods, Steam Workshop, Thunderstore, mod.io, GitHub releases), and the post with a video. Use when the user wants to ship, share, upload, release or post a 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.

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

相关技能