Kon-on

Rimworld Modding Skill — Development skill for Claude Code

Development community

Claude Code agent skill for RimWorld mod development.

How to install Rimworld Modding Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Kon-on/rimworld-modding-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Rimworld Modding Skill does

Claude Code agent skill for RimWorld mod development. 环世界Mod制作全流程Claude Code技能——XML Def、C#、Harmony补丁、Steam Workshop发布

Alternatives in Development

  • Contributing To Career-Ops — Thanks for your interest in contributing 32.5k ★
  • SuperClaude Framework — A configuration framework that enhances Claude Code with specialized commands, cognitive personas, and develop 22k ★
  • Feature Dev — Comprehensive feature development with specialized agents 14k ★

README

RimWorld Modding Skill · 环世界Mod制作技能

⚠️ **AI 生成声明**:本项目(包括所有代码、文档、模板)由 AI(Claude Code)生成, 人工进行了审查和修改。使用者应自行验证所有内容的正确性和安全性。

⚠️ **AI-Generated Disclosure**: This project (including all code, documentation, and templates) was generated by AI (Claude Code) with human review and modification. Users should independently verify all content for correctness and safety.

Claude Code 环世界 Mod 制作全流程技能——从环境搭建到 Steam Workshop 发布。 Claude Code agent skill for full-cycle RimWorld mod development.


功能特性

  • 全流程覆盖: XML Def、C#、Harmony 补丁、资源制作、调试、Workshop 发布
  • 中英双语: 教程用中文,代码/XML 用英文
  • 原版验证: 所有 Def 模式均对照 RimWorld 1.6 原版文件验证
  • RimSage MCP 集成: 实时源码搜索,写 Def 前先查原版
  • 测试版先行: 测试版 → 验证 → 正规化 → 可选发布
  • 错误学习系统: 自动记录排查过的错误,加载 Skill 时读取,避免重复犯错
  • 批量处理: 支持 Markdown 需求清单,批量生成多个 Mod 内容,逐项确认
  • AI 生成标注: 生成的代码自动标记 AI 辅助来源,透明合规
  • 代码模板: 近战/远程武器、服装/护甲、原材料、建筑、配方、ThingComp、Harmony 补丁、需求清单 (9 个)

目录结构

rimworld-modding-skill/
├── SKILL.md                 # 核心指令文件(必需)
├── README.md                # 项目介绍(推荐)
├── LICENSE                  # MIT
├── .gitignore
├── .mcp.json.example        # MCP 配置模板
├── references/              # 参考文档 + 工作流
│   ├── 01-environment.md
│   ├── 02-project-structure.md
│   ├── 03-xml-defs.md       # 核心:ThingDef、RecipeDef
│   ├── 04-xml-patching.md
│   ├── 05-csharp-basics.md
│   ├── 06-harmony.md
│   ├── 07-assets.md
│   ├── 08-debugging.md
│   ├── 09-workshop.md
│   ├── 10-api-reference.md
│   ├── 11-platform-adaptation.md  # 跨平台适配
│   └── workflows/           # 任务工作流(7 个)
│       ├── new-mod.md
│       ├── formalize-mod.md
│       ├── add-item.md
│       ├── add-building.md
│       ├── batch-process.md
│       ├── patch-vanilla.md
│       └── debug-crash.md
├── learnings/               # 错误学习记录
│   └── errors.txt           # 历史错误(每次加载 Skill 时自动读取)
├── assets/                  # 静态资源
│   └── templates/           # 代码模板(9 个)
│       ├── weapon-melee.xml
│       ├── weapon-ranged.xml
│       ├── apparel.xml
│       ├── resource-s