Verifies a consolidated C# diagnostic article against Roslyn and checks See also links. Use as the final validation and correction phase.
60
70%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.github/skills/error-consolidation-verify/SKILL.mdVerify every compiler message in a consolidated diagnostic article against Roslyn source, fix all mismatches, and report the results.
Collect the destination filename for the consolidated .md file in docs/csharp/language-reference/compiler-messages/.
docs/csharp/language-reference/compiler-messages/{destination-filename}../roslyn/src/Compilers/CSharp/Portable/Errors/ErrorCode.cs../roslyn/src/Compilers/CSharp/Portable/CSharpResources.resxRead the destination and collect every code referenced in:
For each code:
Extract the numeric portion, such as CS0220 to 220.
Find the constant assigned that number in ErrorCode.cs, for example:
ERR_CheckedOverflow = 220,Find the <data> element in CSharpResources.resx whose name exactly matches the constant:
<data name="ERR_CheckedOverflow" xml:space="preserve">
<value>The operation overflows at compile time in checked mode</value>
</data>Extract the <value> text as the verbatim compiler message.
Messages can contain placeholders such as '{0}', '{1}', {0}, or {1}. Documentation normally replaces them with descriptive terms. Treat those substitutions as matches and compare the static text.
Compare the Roslyn message with every documented instance for that code, including the master list and all thematic section lists.
Report mismatches in this form:
| Error Code | Location | Current Text | Roslyn Source Text |
|------------|----------|--------------|--------------------|
| CS0220 | Master list | The operation overflows at compile time | The operation overflows at compile time in checked mode |
| CS0220 | Overflow section | The operation overflows at compile time | The operation overflows at compile time in checked mode |If none differ, report: All error messages match the Roslyn source.
For every mismatch:
If the article has a See also section, verify that every relative link resolves to an existing, reachable target in the current repository branch. Report and fix broken relative links.
Present:
See also relative-link check.48719fe
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.