CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

authoring-errors-and-warnings

Guides authoring of MSBuild errors, warnings, diagnostic messages, and internal assertions. Consult when adding new MSBxxxx codes, writing or modifying user-facing diagnostic text, using Assumed for internal invariants, deciding between error/warning/message severity, working with Strings.resx resource files, formatting paths in error output, or evaluating whether a new warning could break WarnAsError builds.

Quality

95%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

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

A dense, repo-specific, highly actionable authoring guide: exact code and XML templates, a severity decision tree, and a validation checklist cover the full workflow with almost no wasted tokens. The only flaw is minor token redundancy — a duplicated reference link and a few transitional sentences — which keeps conciseness just below the top anchor.

Suggestions

Remove the duplicate reference to assigning-msb-error-code.md — it appears both in the intro ("For the mechanics of error code assignment, see...") and at the end of the Assignment Process section ("See [assigning-msb-error-code.md] for detailed steps"). Keep only one, preferably the intro mention.

Trim transitional sentences such as "The quality, severity, resource, and localization rules below apply to user-facing diagnostics." and the second intro sentence ("They must help developers fix problems without reading source code.") — the section structure and first sentence already convey this.

DimensionReasoningScore

Conciseness

Nearly every passage is repo-specific policy Claude cannot infer (code-range table, "{StrBegin}" marker format, "ProjectErrorUtilities", WarnAsError breaking-change policy) with no generic-concept explanation. However, the link to assigning-msb-error-code.md is duplicated verbatim ("For the mechanics of error code assignment, see [assigning-msb-error-code.md]" in the intro and again "See [assigning-msb-error-code.md] for detailed steps" in Assignment Process), and transitional sentences like "The quality, severity, resource, and localization rules below apply to user-facing diagnostics." could be trimmed — anchor 4's "minor instances that could be trimmed", short of anchor 5's "every token earns its place".

4 / 5

Actionability

Guidance is fully executable: a copy-paste resource-string XML template with the exact comment format "{StrBegin=\"MSBxxxx: \"}{0} is the project file path.", exact API calls ("Log.LogErrorWithCodeFromResources(\"Copy.Error\", sourceFile, destFile, ex.Message)", "ProjectErrorUtilities.ThrowInvalidProject"), concrete BAD/GOOD message examples, and a stepwise procedure ("Find the 'Next message code' comment at the bottom of the file"). All common cases — task errors, warnings, engine-level errors, and assertions — have executable examples, so it meets anchor 5 rather than anchor 4's "minor gaps".

5 / 5

Workflow Clarity

Multi-step processes are clearly sequenced with explicit validation: a severity decision tree, numbered WarnAsError considerations, a numbered code-assignment process that includes verification ("Search the repo to confirm the code is not already in use"), and an 8-item end-to-end checklist with explicit checkpoints ("Full build run to generate .xlf files", "Test verifies the error is produced with correct code and text"). No destructive or batch operations are involved, so no retry loop is required; the checklist satisfies anchor 5's "checklists for complex processes" rather than anchor 4's "minor validation gaps".

5 / 5

Progressive Disclosure

No bundle files exist, and the skill defers detail-level material to clearly signaled, one-level-deep references ("For the mechanics of error code assignment, see [assigning-msb-error-code.md]", "See [Localization.md] for the full localization process") while keeping the operational rule set inline where it belongs. Sections are tightly organized with no inlined content that clearly belongs in a separate file, matching anchor 5 rather than anchor 4's "minor organization gaps". (Referenced repo files cannot be verified from the review workspace, but the paths are consistent, non-nested, and each reference states its scope.)

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

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

An exemplary skill description: third-person voice, a clear statement of what the skill does, and an explicit "Consult when" clause listing seven concrete, distinct triggers that map one-to-one onto the skill's content. Trigger vocabulary is domain-unique and includes the natural synonyms, file names, and code patterns a contributor would actually use.

DimensionReasoningScore

Specificity

The description states a clear what ("Guides authoring of MSBuild errors, warnings, diagnostic messages, and internal assertions") and then enumerates seven concrete actions ("adding new MSBxxxx codes", "working with Strings.resx resource files", "evaluating whether a new warning could break WarnAsError builds"). This matches the anchor for multiple specific concrete actions with comprehensive coverage; it is above anchor 4 because the action list maps onto every section of the skill body with no coverage gaps.

5 / 5

Completeness

It explicitly answers what ("Guides authoring of MSBuild errors, warnings, diagnostic messages, and internal assertions") and when via an explicit "Consult when..." clause with seven concrete trigger phrases. This is the anchor-5 pattern (both what and when with concrete trigger phrases), clearly above anchor 4 where the 'when' "could be more explicit or specific".

5 / 5

Trigger Term Quality

Natural trigger terms include "MSBxxxx codes", "Strings.resx resource files", "WarnAsError builds", "error/warning/message severity", "Assumed", and synonym coverage of the core noun ("errors, warnings, diagnostic messages, diagnostic text"). Coverage is comprehensive including a file name and a code pattern, matching anchor 5 rather than anchor 4 ("a few natural terms missing") — no phrasing an MSBuild contributor would naturally use for this task is absent.

5 / 5

Distinctiveness Conflict Risk

Terms like "MSBxxxx", "Assumed", "Strings.resx", and "WarnAsError" are unique to MSBuild diagnostic authoring, giving the skill a clear niche with minimal conflict risk. It is not anchor 4 because no closely related skill in this repo would share these distinctive triggers.

5 / 5

Total

20

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 5 suspicious

Warning

Total

14

/

16

Passed

Repository

dotnet/msbuild

Path

.github/skills/authoring-errors-and-warnings/SKILL.md

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.