resolve-diagnostics

resolve-diagnostics is a skill for Claude Code from nowsprinting/unity-coding-skills. It costs 72 tokens per session (1,197 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 — 12 skills 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 12 skills.

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 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,197 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.00072 $0.01197
Opus 5.5 $0.00029 $0.00479
Sonnet 5.5 $0.00014 $0.00239
Haiku 4.5 $0.00007 $0.00120

Measured yesterday against content hash 0bff1819943a, 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 yesterday.

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 · 79 lines

How it starts

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

Resolves diagnostics from the compiler, Roslyn analyzers, and IDE inspections 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 · 79 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. yesterday Changed · -28 lines · +7 tokens per session 0bff1819943a
  2. 1mo ago Changed · -2 lines · -19 tokens per session c17554a287af
  3. 2mo ago Changed · -4 lines 30d5c0e9baa3
  4. 3mo 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 2d ago), licensed Unlicense. It adds 72 tokens to every session and 1,197 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

resolve-diagnostics compared with skills from other repositories

resolve-diagnostics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
resolve-diagnosticsnowsprinting/unity-coding-skillsSkill202d agoUnlicenseA72Claude Code
aspid-visual-element-fluentVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA109Claude Code, Codex
aspid-serializable-typeVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA136Claude Code, Codex
aspid-profiler-markerVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA82Claude Code, Codex
aspid-enum-valuesVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA87Claude Code, Codex
asp-ft-player-buildsVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA99Claude Code
asp-ft-editor-componentVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA77Claude Code