unreal-editor
Unreal Editor production workflow for live editor state, assets, levels, Blueprint validation, PIE smoke tests, dirty packages, source-control-visible changes, and intentional saving. Use for editor-facing work that spans asset types or needs safe readback and validation.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- unreal-editor
- description
- Unreal Editor production workflow for live editor state, assets, levels, Blueprint validation, PIE smoke tests, dirty packages, source-control-visible changes, and intentional saving. Use for editor-facing work that spans asset types or needs safe readback and validation.
02 资源文件 4
- 参考文档examples/00-examples-index.md562 B
- 参考文档examples/asset-rename-preflight.md972 B
- 参考文档examples/blueprint-compile-validation.md922 B
- 参考文档examples/map-pie-smoke-test.md1.0 KB
03 SKILL.md 正文
Unreal Editor Workflow Skill
Context
- Repository rules:
AGENTS.md - Tool operation: UEEditorMCP
- Related skills: C++, Blueprint/UMG/Input, Material, Niagara, Python, Restart
Use this skill for editor state, levels, actors, cross-asset workflows, asset validation, dirty-package discipline, PIE, editor smoke tests, project settings, plugins, references, redirectors, and save decisions. Use the specialized asset skill for graph-specific authoring rules.
Operating Contract
Editor work must be state-aware, schema-backed, scoped, read back after mutation, compiled or validated where applicable, and saved intentionally.
Never edit .uasset, .umap, .uexp, .ubulk, or other Unreal binary packages through filesystem text/byte tools. Use UEEditorMCP, an approved editor API, or a project commandlet reached through the launcher.
State Gate
Before mutation, inspect only the state relevant to the task:
- Confirm bridge readiness with
ue_ping. - Confirm project/editor context, current map/world, and PIE state.
- Inspect the exact target assets, actors, classes, references, or settings.
- Record unrelated dirty packages or pre-existing modified assets when the available tool exposes them.
- For Blueprint work, follow the snapshot gate in
unreal-blueprint. - If visual behavior matters, require an interactive editor; headless/NullRHI can validate structure and automation, not pixels.
Do not broadly enumerate the project when a target path or actor is already known.
Mutation Classes
| Class | Examples | Rule |
|---|---|---|
| Read-only | describe assets, references, actors, current map, logs, source-control diff | Preferred for planning and verification |
| Scoped write | create one asset, set explicit properties, spawn/adjust named actors, compile Blueprint, save one package | Allowed after schema and target validation |
| High risk | delete, rename/move, redirector fixup, bulk edit, save all, project/plugin settings, level replacement | Require explicit scope, preflight/readback, rollback plan, and user approval when destructive |
Use dry-run or planning actions when available. Asset renames should use editor.plan_asset_renames or a manifest plan before the apply action. Never infer that a write is safe from an action's capability tag alone.
Asset And Level Rules
- Use exact long package paths. Prefer
/Game/...; modify plugin content only when explicitly in scope; never modify/Engine/...assets. - Check existence before creation and use the action's
if_existspolicy deliberately. Do not overwrite production assets by default. - Query references before rename/move/delete. Verify destination conflicts, redirectors, dependent Blueprints, and source-control state afterward.
- Before level changes, confirm current map, PIE state, World Partition/streaming/data-layer ownership, and the intended level.
- After actor changes, read back actor identity, world/level, transform, components, mobility, collision, visibility, and relevant properties.
- Preserve user selection and untouched graph/layout regions unless the operation requires changing them.
Compile And Validation
After each meaningful mutation batch:
- Read back through an independent query or fresh description.
- Compile the touched Blueprint, Widget, Material, Niagara system, or other compilable asset.
- Inspect structured diagnostics first; use filtered MCP logs for supporting evidence.
- Run focused automation through
launcher_run_automationwhen deterministic tests exist. - Use PIE for behavior that depends on runtime/editor world state. Poll
editor.get_pie_state; stop PIE cleanly and check relevant logs. - Use screenshot or Slate inspection only when visual/UI state is part of acceptance. A screenshot is evidence, not a substitute for structural checks.
Do not claim a mutation succeeded solely because an MCP call returned success=true.
Save Discipline
- Save only explicitly changed and validated packages. Prefer
editor.save_loaded_assetfor a known asset. editor.save_allis high risk because it includes unrelated dirty assets and levels. Use it only when the user explicitly requests that scope and the dirty set is understood.- Do not save a Blueprint after failed compilation unless the user explicitly requests an intermediate broken state.
- Report created, modified, saved, unsaved, and pre-existing dirty assets separately.
Plugin And Settings Changes
Treat plugin, module, project setting, GameplayTag source, packaging, and cook changes as high risk. Determine runtime/editor ownership, team and CI impact, restart requirement, config source, and rollback before mutation. Build and restart through launcher after module/plugin/reflection changes.
Delivery
Report editor mode and map context, exact changed assets/actors/settings, readback and compile results, automation/PIE/visual evidence, save status, unrelated dirty state, and remaining risks.
Examples
04 同仓库更多 Skills
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
algorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.