resolve-diagnostics

resolve-diagnostics is a skill for Claude Code from nowsprinting/unity-coding-skills. It costs 65 tokens per session (1,319 once invoked), scanned A, original, Unlicense.

A workflow for fixing warnings and other IDE or code-analyzer findings in selected C# files that belong to a Unity project. It also reformats the changed files to the project’s coding style and runs tests.

In plain words
What is it for?
Use it when refactoring Unity C# code or when you need to resolve warnings, inspections, and static-analysis findings in specific files.
Why use it?
It turns a list of editor or analyzer problems into a defined cleanup process. This helps prevent unrelated files from being changed and checks whether the fixes still pass tests.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the unity-coding-skills plugin — 10 skills, 3 agents shipped together

Good fit Use it when refactoring Unity C# code or when you need to resolve warnings, inspections, and static-analysis findings in specific files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nowsprinting/unity-coding-skills/resolve-diagnostics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nowsprinting/unity-coding-skills --skill resolve-diagnostics
Clone the repo
git clone --depth 1 https://github.com/nowsprinting/unity-coding-skills

Made for: Claude Code.

Or install unity-coding-skills, the plugin that ships this one along with the rest of its 10 skills, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for resolve-diagnostics

README.md
[![agentmods](https://agentmods.dev/badge/skills/nowsprinting/unity-coding-skills/resolve-diagnostics/github.svg)](https://agentmods.dev/skills/nowsprinting/unity-coding-skills/resolve-diagnostics)
Your own site
<a href="https://agentmods.dev/skills/nowsprinting/unity-coding-skills/resolve-diagnostics"><img src="https://agentmods.dev/badge/skills/nowsprinting/unity-coding-skills/resolve-diagnostics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for resolve-diagnostics

Your own site · 80×15
<a href="https://agentmods.dev/skills/nowsprinting/unity-coding-skills/resolve-diagnostics"><img src="https://agentmods.dev/badge/skills/nowsprinting/unity-coding-skills/resolve-diagnostics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,319 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01319
Opus 5.5 $0.00026 $0.00528
Sonnet 5.5 $0.00013 $0.00264
Haiku 4.5 $0.00006 $0.00132

Measured today against content hash c17554a287af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

resolve-diagnostics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/resolve-targets.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/resolve-diagnostics/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Resolves IDE diagnostics at the warning or higher severity level for the given files, reformats them to the solution's code style, then runs the tests.

Input

One or more file or directory path arguments. Resolve them with ${CLAUDE_SKILL_DIR}/scripts/resolve-targets.sh <unity-project-root> <path>... — it prints the project-root-relative path of every .cs file in the solution, one per line, in the form lint_files, get_file_problems, and reformat_file expect, and reports each dropped path (docs, .meta, .asmdef, assets, files outside the solution) on stderr. Use that list as-is.

If no path argument is given, use AskUserQuestion to ask the user for the targets. Do not derive targets from git status — that would silently widen the scope beyond what was requested.

If the script exits with code 3, stop and report that — there is nothing to resolve.

Workflow

Step 1: Load the Coding Guide

  1. Load the code-writing-guide skill — do not rely on automatic skill triggering. Every fix applied in Step 2 must follow it.
  2. Read its resources/diagnostics-review-feedback.md before deciding any diagnostic in Step 2.

Never leave a warning-or-higher diagnostic unaddressed — each one is either fixed or explicitly suppressed per the criteria just read.

Step 2: Resolve Diagnostics

Resolve diagnostics at the warning or higher severity level, collecting them for all resolved files via lint_files rather than one file at a time. By default the tools also return suggestion- and hint-level results — those are out of scope, with one exception: a suggestion-level diagnostic related to performance (execution speed, memory allocation, boxing, etc.) should be considered for fixing too, though it never requires suppression when declined. Both lint_files and its fallback get_file_problems require Rider 2026.2 or later.

  1. lint_files — pass every resolved file in one call
    • If the call errors, fall back to get_file_problems, called once per file
    • On a timedOut or more result, retry the outstanding file(s) with get_file_problems
    • If a timeout persists, use AskUserQuestion to confirm the user is running Rider 2026.2 or later before retrying further
    • Files reported as not analyzed carry into Step 5 as skipped
  2. Decide each diagnostic per the criteria read in Step 1, and apply all resulting changes as a single set per file
    • When a fix is a rename (naming-convention inspections) or a symbol removal (unused-member findings), apply it via rename_refactoring / safe_delete so references are updated across the solution

Read the full file on GitHub · 107 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -2 lines · -19 tokens per session c17554a287af
  2. 24d ago Changed · -4 lines 30d5c0e9baa3
  3. 1mo ago First seen · 113 lines · 84 tokens per session scan A fe70f1f0c6ec

Subscribe to this mod's changes

resolve-diagnostics is a skill published in the GitHub repository nowsprinting/unity-coding-skills (20 stars, last pushed yesterday), licensed Unlicense. It adds 65 tokens to every session and 1,319 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

aspid-visual-element-fluent

Aspid.FastTools chainable UI Toolkit extensions (namespace Aspid.FastTools.UIElements): SetPadding, SetFlexDirection, AddChild/AddChildren, AddClass, AddClicked, SetValue, AddValueChanged, BindTo and more. Use when C# code creates or configures VisualElements (editor windows, inspectors, runtime UI) in a project with…

VPDPersonal/Aspid.FastTools · 109 tokens

aspid-serializable-type

Aspid.FastTools type picking in the Unity Inspector: SerializableType , SerializableMonoScript , [TypeSelector] on string, wrapper and [SerializeReference] fields, [TypeSelectorDisplay], ComponentTypeSelector, the TypeField element and TypeSelectorWindow for editor code, analyzers AFT0001-AFT0009 and AFT0012, the CI…

VPDPersonal/Aspid.FastTools · 136 tokens

aspid-profiler-marker

Aspid.FastTools generated profiler markers: using var = this.Marker(); and this.Marker().WithName("..."). Use when the user asks to profile a method or section, add a ProfilerMarker, or show code in the Unity Profiler in a project with tech.aspid.fasttools, or when such markers are missing, merged or misnamed.

VPDPersonal/Aspid.FastTools · 82 tokens

aspid-enum-values

Aspid.FastTools EnumValues and EnumValues : a serializable enum-to-value table edited in the Unity Inspector. Use when mapping enum members to per-member data (multipliers, colors, sounds, configs), replacing an enum switch or a set of per-member fields, building a [Flags] lookup, or reading/iterating/debugging an…

VPDPersonal/Aspid.FastTools · 87 tokens

unity-debug

A workflow for investigating runtime errors in the Unity game-development editor, including null references and console messages.

bigdra50/unity-cli · 51 tokens

script-execute

Compiles and executes C# code dynamically using Roslyn. Supports a full-code mode (default) and a body-only mode — see the skill body for the difference and for how to pass Unity object references as parameters.

IvanMurzak/Unity-MCP · 48 tokens