- Home
- Skills
- Dev Gom
- Claude Code Marketplace
- Unity Compile Fixer
unity-compile-fixer_skill
- C#
72
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill dev-gom/claude-code-marketplace --skill unity-compile-fixer- SKILL.md6.4 KB
Overview
This skill detects and resolves Unity C# compilation errors by reading VSCode (OmniSharp) diagnostics and proposing context-aware fixes. It matches error codes against a curated pattern database, generates minimal edits, and helps manage version control concerns like .meta conflicts. Use it to speed up diagnosis and safely apply fixes with user approval.
How this skill works
The skill collects diagnostics via the IDE diagnostics tool and filters for OmniSharp C# errors (severity: Error, CS* codes). It loads an error-pattern database, examines the file context where each error occurs, and builds structured fix proposals. After user confirmation, it applies minimal edits, preserves formatting, checks VCS status (including .meta files), and re-runs diagnostics to verify results.
When to use it
- Unity projects showing C# compiler errors in VSCode (OmniSharp) that need diagnosis
- When you want automated suggestions for CS* error codes (e.g., CS0246, CS1061)
- When working with version-controlled Unity projects that may have .meta conflicts
- When you prefer guided, minimal edits with explicit user approval before changes
Best practices
- Run full-project diagnostics first to capture dependent errors and priorities
- Fix foundational errors (missing using directives, undefined types) before downstream errors
- Batch related fixes in the same file to minimize churn and keep diffs small
- Always review proposed edits and confirm before applying changes
- Check .meta files and VCS status after edits to avoid asset GUID mismatches
Example use cases
- Add a missing using directive when Unity API types are unrecognized (e.g., Rigidbody)
- Fix type mismatches or incorrect method signatures flagged by CS0029 or CS1061
- Resolve namespace or assembly reference errors by suggesting imports or assembly updates
- Detect and report .meta file merge conflicts after automated script edits
- Re-validate diagnostics to show a before/after summary of fixed and remaining errors
FAQ
No. The skill presents structured fix proposals and requires explicit user approval before any edits are applied.
How does it avoid breaking code formatting or project GUIDs?
It makes minimal, targeted edits while preserving surrounding code formatting and verifies .meta files and GUIDs, warning about any potential VCS issues.