Skip to content

Commit 1e6561f

Browse files
committed
chore: simplify Unity automation copy
1 parent c6d01fe commit 1e6561f

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

Editor/Window/DotCraftEditorWindow.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ public sealed class DotCraftEditorWindow : EditorWindow
3030
private const string FixConsoleErrorsPrompt =
3131
"Inspect the current Unity Console logs and project context, then help me fix the errors.\n\n" +
3232
"Please identify the likely root cause, point to the relevant scripts/assets when possible, " +
33-
"and make the smallest safe code or configuration change needed to resolve the issue. " +
33+
"and make the smallest necessary code or configuration change needed to resolve the issue. " +
3434
"Use DotCraft's Unity console and project tools when they are helpful.";
3535
private const string OptimizePerformancePrompt =
3636
"Analyze this Unity project for practical performance improvements.\n\n" +
3737
"Focus first on scene object structure, scripts that may run every frame, allocations/GC, asset usage, " +
38-
"rendering cost, physics, and any obvious Editor console warnings. Prioritize concrete changes I can apply safely.";
38+
"rendering cost, physics, and any obvious Editor console warnings. Prioritize concrete changes I can apply directly.";
3939
private const string ScriptHelpPrompt =
4040
"I need help writing or improving a Unity C# script.\n\n" +
4141
"Goal:\n- Describe the behavior I want here.\n\n" +

Plugins~/dotcraft-unity/.codex-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"skills": "./skills/",
1414
"interface": {
1515
"displayName": "DotCraft Unity",
16-
"shortDescription": "Automate Unity Editor safely",
16+
"shortDescription": "Automate Unity Editor",
1717
"longDescription": "Inspect and automate a running Unity Editor through DotCraft Unity tools.",
1818
"developerName": "DotHarness",
1919
"category": "Engineering",
2020
"capabilities": ["Skill", "Unity", "Read", "Write"],
21-
"defaultPrompt": ["Inspect or automate the connected Unity Editor safely."],
21+
"defaultPrompt": ["Inspect or automate the connected Unity Editor."],
2222
"brandColor": "#1E88E5",
2323
"composerIcon": "./assets/dotcraft-unity.svg",
2424
"logo": "./assets/dotcraft-unity.svg",

Plugins~/dotcraft-unity/.craft-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"id": "dotcraft-unity",
44
"version": "0.2.2",
55
"displayName": "DotCraft Unity",
6-
"description": "Guide agents to use dotcraft-unity MCP tools safely.",
6+
"description": "Guide agents to use dotcraft-unity MCP tools.",
77
"capabilities": ["skill"],
88
"skills": "./skills/",
99
"interface": {
1010
"displayName": "DotCraft Unity",
11-
"shortDescription": "Automate Unity Editor safely",
11+
"shortDescription": "Automate Unity Editor",
1212
"longDescription": "DotCraft Unity teaches agents to inspect and automate a running Unity Editor through dotcraft-unity MCP tools.",
1313
"developerName": "DotHarness",
1414
"category": "Engineering",

Plugins~/dotcraft-unity/skills/dotcraft-unity/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: dotcraft-unity
3-
description: Use when dotcraft-unity MCP or unity_execute_csharp is available, or when the user asks to inspect, automate, capture, or debug Unity Editor state, scenes, assets, Console logs, or GameView output. Provides safe background-first Unity Editor automation rules.
3+
description: Use when dotcraft-unity MCP or unity_execute_csharp is available, or when the user asks to inspect, automate, capture, or debug Unity Editor state, scenes, assets, Console logs, or GameView output. Provides background-first Unity Editor automation rules.
44
---
55

66
# DotCraft Unity
@@ -36,7 +36,7 @@ Return concise summaries from snippets. Include paths, object names, counts, and
3636

3737
## Avoid By Default
3838

39-
Do not call these APIs unless the user explicitly asked for the visible effect or there is no background-safe alternative and you explain it first:
39+
Do not call these APIs unless the user explicitly asked for the visible effect or there is no background alternative and you explain it first:
4040

4141
- `EditorWindow.Show()`, `ShowUtility()`, `Focus()`, `GetWindow(..., focus: true)`, or any equivalent foreground activation.
4242
- `EditorUtility.DisplayDialog`, modal prompts, object pickers, menu execution, or other UI that requires user interaction.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
interface:
22
display_name: "DotCraft Unity"
33
short_description: "Use Unity Editor tools without disrupting the editor"
4-
default_prompt: "Use $dotcraft-unity to inspect or automate the connected Unity Editor safely."
4+
default_prompt: "Use $dotcraft-unity to inspect or automate the connected Unity Editor."

0 commit comments

Comments
 (0)