重构插件入口与runtime安装流程
This commit is contained in:
23
skills/setup-runtime/SKILL.md
Normal file
23
skills/setup-runtime/SKILL.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
name: setup-runtime
|
||||
description: "Use when a user asks to initialize, install, or refresh the Codex Game Studios runtime in a game project. Installs bundled director custom agents into the target project's .codex/agents directory."
|
||||
---
|
||||
|
||||
# Setup Runtime
|
||||
|
||||
Install the Codex Game Studios runtime assets into the current game project.
|
||||
|
||||
## Workflow
|
||||
|
||||
1. Treat the current working directory as the target project unless the user names another path.
|
||||
2. Run `scripts/install_codex_runtime.py <target-project>`.
|
||||
3. Report installed, unchanged, and conflicting agent files.
|
||||
4. If conflicts are reported, do not overwrite them unless the user explicitly asks for `--force`.
|
||||
|
||||
The installer copies runtime agents from the plugin's `runtime/agents/` directory to:
|
||||
|
||||
```text
|
||||
<target-project>/.codex/agents/
|
||||
```
|
||||
|
||||
The runtime currently contains only Codex custom-agent TOML files. It does not install hooks, rules, MCP servers, apps, or project templates.
|
||||
Reference in New Issue
Block a user