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.

60

Quality

70%

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

72%

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

The content is actionable and cleanly organized into navigable sections with executable CLI examples. Its main gaps are triple restatement of the input parameters and a missing recovery loop for the syntax-validation rejection path.

Suggestions

Consolidate the input description into one form (e.g. keep the table with the JSON schema and drop the redundant prose '## Inputs' list) to improve conciseness.

Add an explicit recovery step under Behavior, e.g. 'If Roslyn validation rejects the code, read the reported errors, fix the C# source, and retry the call.'

Replace the '"string_value"' placeholders in the inline call example with a realistic snippet (or reference the stdin piping example) so the primary example is fully copy-paste ready.

DimensionReasoningScore

Conciseness

The body is largely lean and free of basic-concept padding, but the inputs are restated three times (prose list, table, and JSON schema) and the call example repeats placeholder values, so it could be tightened.

2 / 3

Actionability

Provides concrete, runnable CLI commands including the run-tool invocation, --input-file and stdin piping patterns, an install fallback, and a real sample path in the input table — copy-paste ready rather than pseudocode.

3 / 3

Workflow Clarity

The Behavior section lists the write→refresh→notify sequence, but for an overwrite-capable operation it lacks an explicit validate→fix→retry checkpoint describing what to do when Roslyn rejects the code, capping the score at 2.

2 / 3

Progressive Disclosure

No bundle files are needed or referenced; the single-purpose body is organized into clearly signaled sections (Inputs, Behavior, How to Call, Troubleshooting, Input, Output) with no monolithic wall or nested references.

3 / 3

Total

10

/

12

Passed

Description

67%

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

The description is concrete and domain-distinct, clearly conveying what the tool does across several specific actions. Its weakness is the missing explicit 'Use when...' trigger and a reliance on technical terms over natural user phrasing.

Suggestions

Add an explicit 'Use when...' clause naming natural user phrasing, e.g. 'Use when creating or updating a C# script in a Unity project, writing new .cs files, or modifying existing Unity scripts.'

Soften jargon with a few natural trigger terms ('write a Unity script', 'add a C# file') alongside the technical ones to improve trigger_term_quality.

Reframe the trailing 'Use script-read...' sentence as a companion-tool note rather than the only trigger guidance, so the 'when' clearly applies to this skill.

DimensionReasoningScore

Specificity

Enumerates multiple concrete actions — write/overwrite, Roslyn syntax validation with rejection, AssetDatabase refresh, and requestId-based delivery — rather than vague language.

3 / 3

Completeness

The 'what' is thoroughly covered, but the 'when' is only an implied cross-reference to 'script-read' rather than an explicit 'Use when...' trigger, capping completeness at 2 per the guideline.

2 / 3

Trigger Term Quality

Relevant keywords (.cs, C#, Unity, Roslyn) are present but it leans on technical jargon and lacks the natural phrasing a user would say, with no 'Use when...' usage trigger for this skill.

2 / 3

Distinctiveness Conflict Risk

The Unity C# script-writing niche is tightly scoped via Roslyn/AssetDatabase/requestId, making it clearly distinct and unlikely to trigger the wrong skill.

3 / 3

Total

10

/

12

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.

Validation16 / 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.