修改版灵能

This commit is contained in:
2025-08-03 14:55:46 +08:00
parent 236b52765d
commit 6bbd328e2f
11 changed files with 221 additions and 260 deletions

View File

@@ -9,7 +9,10 @@
"env": {
"PYTHONUNBUFFERED": "1"
},
"disabled": false
"disabled": false,
"alwaysAllow": [
"get_context"
]
}
},
"tools": {
@@ -25,7 +28,9 @@
"description": "关于RimWorld开发的问题应包含代码或XML中的关键词。"
}
},
"required": ["question"]
"required": [
"question"
]
}
}
}

View File

@@ -18,4 +18,8 @@ Always remember these critical paths for your work:
2. Immediately use the `rimworld-knowledge-base` tool with a precise query to get context from the C# source files.
3. Analyze the retrieved context.
4. Perform code modifications within the user's mod project directory.
5. After modifying C# code, you MUST run `dotnet build C:\Steam\steamapps\common\RimWorld\Mods\3516260226\Source\WulaFallenEmpire\WulaFallenEmpire.csproj` to check for errors. A successful build is required for task completion.
5. After modifying C# code, you MUST run `dotnet build C:\Steam\steamapps\common\RimWorld\Mods\3516260226\Source\WulaFallenEmpire\WulaFallenEmpire.csproj` to check for errors. A successful build is required for task completion.
## Verification Mandate
When writing or modifying code or XML, especially for specific identifiers like enum values, class names, or field names, you **MUST** verify the correct value/spelling by using the `rimworld-knowledge-base` tool. Do not rely on memory.
- **同步项目文件:** 当重命名、移动或删除C#源文件时**必须**同步更新 `.csproj` 项目文件中的相应 `<Compile Include="..." />` 条目,否则会导致编译失败。