修改版灵能
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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="..." />` 条目,否则会导致编译失败。
|
||||
Reference in New Issue
Block a user