用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/OneDragon-Anything/ZenlessZoneZero-OneDragon --skill new-config命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | new-config |
| description | 新建配置工具 - 创建新的 agent state 模板、自动战斗 YAML 配置等,并运行构建脚本合并产物 |
| version | 1.0.0 |
| author | OneDragon-Anything |
| tags | ["zzz","config","template","automation","powershell"] |
用于在 ZenlessZoneZero-OneDragon 项目中快速创建新的配置模板并合并构建产物。
skills/new-config/
SKILL.md # 本说明文件
new-config.ps1 # 构建 auto_battle merged.yml
compile-po.ps1 # 编译 PO 多语言翻译文件
generate-manifest.ps1 # 生成模块清单
修改或新增 config/auto_battle/、config/auto_battle_state_handler/、config/auto_battle_operation/ 下的 sample YAML 文件后运行:
powershell -File skills/new-config/new-config.ps1
设置 PYTHONPATH 到 src,运行 src/zzz_od/auto_battle/build_utils.py 构建所有合并 YAML。
powershell -File skills/new-config/compile-po.ps1
运行 src/one_dragon/devtools/compile_po.py。
powershell -File skills/new-config/generate-manifest.ps1
运行 deploy/generate_module_manifest.py。
所有脚本支持 -DryRun 参数,只输出环境信息不执行:
powershell -File skills/new-config/new-config.ps1 -DryRun
src/zzz_od/game_data/agent.py 中定义新 Agentassets/template/agent_state/{agent_id}_3_1/ 等目录及 config.yml + mask.pngassets/template/battle/avatar_*_{agent_id}/ 头像模板config/auto_battle_operation/ 下的操作模板 sample YAMLconfig/auto_battle_state_handler/ 下的状态模板 sample YAMLnew-config.ps1 构建合并产物当用户要把已开的 PR 推到「完善可合并」、处理 PR/CodeRabbit review、清 unresolved thread、问 PR 能不能 merge / checks 状态时用。英文:finish/get a PR mergeable、address review comments、PR not merging、CI red、unresolved threads。仅 PR 已开后的收尾;单条评论处理用 superpowers:receiving-code-review。
OneDragon ZZZ 脚本速成指南 - 自动战斗 YAML 配置的完整语法与设计模式
角色模板配置指南 - 在一条龙中新增可自动战斗角色所需的 Agent 定义、头像模板、状态模板与自动战斗配置
基于 SOC 职业分类