wannatwo-weizhou-shield-core-core-instructions.ocm.json json Copy{
"ocm": "1",
"id": "wannatwo-weizhou-shield-core-core-instructions",
"kind": "skill",
"name": "core",
"description": "Core Instructions",
"publisher": "WannaTwo-WeiZhou",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Core Instructions"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/WannaTwo-WeiZhou/shield-core",
"path": ".github/instructions/core.instructions.md",
"ref": "df0c39d79b9b7876736cb879a48d806aeb3fa16d",
"url": "https://github.com/WannaTwo-WeiZhou/shield-core/blob/df0c39d79b9b7876736cb879a48d806aeb3fa16d/.github/instructions/core.instructions.md",
"key": "WannaTwo-WeiZhou/shield-core/.github/instructions/core.instructions.md"
},
"applies_to": "core/**"
},
"instructions": "# Core Instructions\n\n- `core/` 只放跨场景基础设施,当前主要是 `EventBus` 和 `AbilityManager` Autoload。\n- Autoload 不随场景重载清空;重开局状态必须通过 `AbilityManager.reset_for_new_run()` 处理。\n- 新增跨模块通信优先使用 `EventBus` 信号,避免 feature 之间互相硬查节点。\n- 不在 Autoload 中长期持有场景节点强依赖;场景重建后由节点重新注册。",
"cost": {
"context_tokens": 61
}
}