Agent skill · Frontend

aibridge-prefab-patch

Unity Prefab asset patch workflow for AIBridge. Use when modifying complex prefab assets with prefab patch operations, child or component creation, SerializedProperty writes, array edits, internal GameObject/component references, dry-run validation, or when deciding between prefab patch, inspector set_property, scene object commands, and direct Unity YAML fallback.

FlameskyDexivegithub.com/FlameskyDexiveGitHub ↗
codexMIT
Install
npx skills add FlameskyDexive/Legends-Of-Heroes --skill aibridge-prefab-patch --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: .codex/skills/aibridge-prefab-patch/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 908
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# AIBridge Prefab Patch Use `prefab patch` for complex Prefab asset edits that need multiple operations in one load/save cycle. Use `inspector set_property` for a single simple serialized field, and `inspector set_properties` for small batched field edits. Use `gameobject`、`transform`、`inspector` for scene objects. If the requested Prefab/Scene/custom `.asset` operation is not supported by AIBridge, load `unity-yaml-editing` and follow its direct UnityYAML rules. `$CLI` means the platform-appropriate AIBridge CLI invocation, usually `./.aibridge/cli/AIBridgeCLI.exe` on Windows. ## 参数选择 - Prefer `--ops <file>` for multi-step edits, nested JSON, arrays, references, or anything run from PowerShell. - Use `--ops-json <json>` only for one or two very small operations. - Put temporary operation files under `.aibridge/patch_ops/`. - Always run `--dryRun true` before writing the prefab. ## 标准流程 1. Find the target prefab with `asset find/search --format paths`. 2. Inspect structure with `prefab get_hierarchy --prefabPath "<prefab>"`. 3. Create `.aibridge/patch_ops/<task>.json`. 4. Run dry-run: ```bash $CLI prefab patch --prefabPath "Assets/Prefabs/Player.prefab" --ops ".aibridge/patch_ops/p

What's inside
Steps it walks through
  1. 参数选择
  2. 标准流程
  3. 操作示例
  4. 支持的操作
  5. 不支持时的处理
  6. 引用写法
  7. 注意事项
  8. References
Ships with 1 file
  • references/prefab-reference.md
More from Legends-Of-Heroes
All skills →
About this skill
What does the aibridge-prefab-patch skill do?

Unity Prefab asset patch workflow for AIBridge. Use when modifying complex prefab assets with prefab patch operations, child or component creation, SerializedProperty writes, array edits, internal GameObject/component references, dry-run validation, or when deciding between prefab patch, inspector set_property, scene object commands, and direct Unity YAML fallback.

How do I install it?

Run `npx skills add FlameskyDexive/Legends-Of-Heroes --skill aibridge-prefab-patch --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FlameskyDexive/Legends-Of-Heroes, a repository with 908 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going