besty0728/unity-skills91 installs
unity-prefab
Manage Prefabs and variants
How do I install this agent skill?
npx skills add https://github.com/besty0728/unity-skills --skill unity-prefabIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a set of tools for managing Unity Prefabs and variants through a local API. No security issues were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1 file scanned · No issues
What does this agent skill do?
Unity Prefab Skills
Scene prefab instances, prefab assets and variants. Parameters come from the schema (GET /skills/schema?category=Prefab&wire=v2); execution and dryRun rules: root SKILL.md. Parameters: reference/<skill_name>.md.
Rules
- Batch first: use
prefab_instantiate_batchfor 2 or more instances, and the_batchvariant of an asset edit for several assets. - Instance skills target
entityId(preferred),name,instanceIdorpath. Instance writes stay on the instance untilprefab_applyorprefab_apply_overrides. - Asset edits take
prefabPathand a root-relativegameObjectPath(empty means the root), and save only that asset. Variant and nested edits stay overrides; they never change the base prefab. - Duplicate sibling names are rejected with candidates and
siblingIndex. Component indices are zero-based among components of exactly the requested type (prefab_list_componentsreports them). prefab_edit_batchruns ordered edits, all or nothing: list the 12 single writes insteps, not reads or scene skills.- Reference fields take a project asset, a node inside this prefab, or an explicit clear; never a scene object.
- Operating mode: instance and asset reads are
SemiAuto; writes areFullAuto. Component and node deletion andprefab_edit_batchcarry Delete or high metadata: refused under Approval and Auto. - DryRun does not load prefab contents; a step that depends on an earlier one is validated when it runs.
Pitfalls
- Root deletion, reparenting or duplication, transform replacement or removal, cycles, script and bookkeeping property writes, and Unity-invalid inherited structure changes are rejected.
prefab_set_propertykeeps its legacy parameters; new code usesprefab_set_serialized_property.
Routing
- Components on a scene instance →
componentmodule, thenprefab_apply.
Skills Overview
DO NOT (common hallucinations):
prefab_create_from_objectdoes not exist: useprefab_create.prefab_spawndoes not exist: useprefab_instantiate.prefab_editandprefab_modifydo not exist: useprefab_edit_batch.prefab_savedoes not exist: useprefab_apply.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/besty0728/unity-skills/unity-prefab">View unity-prefab on skillZs</a>