agentleFS
batihandevbatihandev/unity-mcp-skills/skills/scriptableobject/SKILL.md

unity-scriptableobject

Skill7 starsChanged 7 months agoMITView on GitHub

Use when users want to create, read, or modify ScriptableObject assets.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create and manage ScriptableObject assets.

    line 10
  2. Distinctive:

    Create a new ScriptableObject asset.

    line 28
  3. Distinctive:

    Delete a ScriptableObject asset.

    line 66
  4. Distinctive:

    Import JSON data into a ScriptableObject.

    line 96

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ScriptableObject Skills

Overview

Create and manage ScriptableObject assets.

Common Mistakes

DO NOT (common hallucinations):

  • scriptableobject_create_type does not exist → create SO scripts via script_create with template "ScriptableObject"
  • scriptableobject_get_properties / scriptableobject_read do not exist → use scriptableobject_get
  • scriptableobject_set_property / scriptableobject_set_field do not exist → use scriptableobject_set (single field) or scriptableobject_set_batch (multiple fields)
  • scriptableobject_save does not exist → changes are auto-saved to the asset

Routing:

  • For ScriptableObject script creation → use script module with template "ScriptableObject"
  • For JSON import/export → scriptableobject_import_json / scriptableobject_export_json (this module)

Skills

scriptableobject_create

Create a new ScriptableObject asset. Parameters:

  • typeName (string): ScriptableObject type name.
  • savePath (string): Asset save path.

scriptableobject_get

Get properties of a ScriptableObject. Parameters:

  • assetPath (string): Asset path.

scriptableobject_set

Set a field/property on a ScriptableObject. Parameters:

  • assetPath (string): Asset path.
  • fieldName (string): Field or property name.
  • value (string): Value to set.

scriptableobject_list_types

List available ScriptableObject types in the project. Parameters:

  • filter (string, optional): Filter by name.

scriptableobject_duplicate

Duplicate a ScriptableObject asset. Parameters:

  • assetPath (string): Source asset path to duplicate.

scriptableobject_set_batch

Set multiple fields on a ScriptableObject at once. fields: JSON object {fieldName: value, ...}

ParameterTypeRequiredDefaultDescription
assetPathstringYes-Asset path of the ScriptableObject
fieldsstringYes-JSON object with field-value pairs, e.g. {"fieldName": "value", ...}

Returns: { success, fieldsSet }

scriptableobject_delete

Delete a ScriptableObject asset.

ParameterTypeRequiredDefaultDescription
assetPathstringYes-Asset path of the ScriptableObject to delete

Returns: { success, deleted }

scriptableobject_find

Find ScriptableObject assets by type name.

ParameterTypeRequiredDefaultDescription
typeNamestringYes-ScriptableObject type name to search for
searchPathstringNo"Assets"Folder path to search within
limitintNo50Maximum number of results to return

Returns: { success, count, assets }

scriptableobject_export_json

Export a ScriptableObject to JSON.

ParameterTypeRequiredDefaultDescription
assetPathstringYes-Asset path of the ScriptableObject to export
savePathstringNonullFile path to save the JSON output; if omitted, JSON is returned inline

Returns: { success, path } or { success, json }

scriptableobject_import_json

Import JSON data into a ScriptableObject.

ParameterTypeRequiredDefaultDescription
assetPathstringYes-Asset path of the target ScriptableObject
jsonstringNonullJSON string to import
jsonFilePathstringNonullPath to a JSON file to read and import

Returns: { success, assetPath }


Example Usage

See ../../recipes/scriptableobject/<command>.md for C# templates.

Recipe path rule: ../../recipes/scriptableobject/<command>.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.