CtrlK
BlogDocsLog inGet started
Tessl Logo

script-update-or-create

Write a `.cs` script file (create or overwrite) with the provided C# code. Validates syntax via Roslyn before write — invalid code is rejected with error details and the file is left untouched. Refreshes the AssetDatabase and delivers the final result via `requestId` after Unity finishes the triggered compilation. Use 'script-read' to inspect existing content first.

61

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./Unity-MCP-Plugin/.claude/skills/script-update-or-create/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

67%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An actionable, well-structured single-purpose skill with concrete CLI examples and a clearly described behavior sequence. Its weaknesses are redundant input documentation (three sections saying the same thing) and the absence of error-recovery guidance for failed writes or compilation errors.

Suggestions

Consolidate '## Inputs', the '## Input' table, and '### Input JSON Schema' into a single input section to remove redundancy.

Add a short feedback loop, e.g. 'If validation or compilation fails, review the reported error details, fix the code, and re-run the tool.'

Make the heredoc example use real filePath/content fields instead of the generic {"param": "value"} placeholder, and fix the Troubleshooting heading level.

DimensionReasoningScore

Conciseness

The input contract is stated three times (## Inputs bullets, ## Input table, ### Input JSON Schema) and the intro restates the frontmatter description. Mostly efficient with no padding or concept explanations, but the duplication should be collapsed into one section.

3 / 5

Actionability

Concrete copy-paste commands including --input, --input-file, and a stdin heredoc for complex content, plus CLI troubleshooting. Minor gaps: the primary example uses 'string_value' placeholders and the heredoc shows a generic {"param": "value"} instead of actual filePath/content.

4 / 5

Workflow Clarity

The Behavior section gives a clear sequence (create parent dirs, write, AssetDatabase.Refresh, post-compilation notification) with pre-write Roslyn validation and error reporting stated. Since the tool overwrites files, validation matters and is present, but there is no error-recovery guidance for when compilation fails.

4 / 5

Progressive Disclosure

Self-contained with clear section headers and installation detail correctly offloaded to the /unity-initial-setup skill. Minor organization gaps: near-duplicate 'Inputs' and 'Input' sections and '### Troubleshooting' at an inconsistent heading level under '## How to Call'.

4 / 5

Total

15

/

20

Passed

Description

75%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A highly specific, mechanically precise description of a Unity C# script write tool with excellent distinctiveness. Its main weakness is the missing 'Use when...' trigger clause, which caps completeness and slightly limits natural trigger-term coverage.

Suggestions

Add an explicit trigger clause, e.g. 'Use when creating, updating, or overwriting Unity C# script files (.cs), or when the user asks to write or edit a script in the Unity project.'

Include natural user phrasings like 'edit', 'update', or 'create a Unity script' as trigger synonyms alongside '.cs' and 'C# code'.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions — write/overwrite the .cs file, Roslyn syntax validation with rejection and error details, AssetDatabase refresh, and requestId-based post-compilation delivery — giving comprehensive coverage of the tool's behavior.

5 / 5

Completeness

The 'what' is explicit and detailed, but there is no 'Use when...' trigger clause; 'Use script-read to inspect existing content first' guides a companion tool, not when to invoke this skill, so completeness is capped at 3 per the rubric guidelines.

3 / 5

Trigger Term Quality

Good natural keywords ('.cs', 'C# code', 'script file', 'Unity', 'compilation'), but misses common user phrasings like 'edit', 'update', or 'create a Unity script' as trigger synonyms.

4 / 5

Distinctiveness Conflict Risk

Clear niche with distinct Unity-specific triggers (Roslyn, AssetDatabase, requestId, .cs); far more specific than the score-4 anchor with minimal conflict risk beyond unavoidable overlap with generic file-write intents.

5 / 5

Total

17

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
IvanMurzak/Unity-MCP
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.