What problem does it solve?
Static Web Assets (SWA) tests and builds in the .NET SDK fail in recurring, recognizable ways, and developers waste time re-deriving root causes from raw CI error messages. This Skill maps common error signatures to their root causes and provides concrete diagnostic and fix procedures.
Core Features & Use Cases
- Failure Pattern Catalog: Six documented failure patterns covering metadata propagation bugs, MSBuild target ordering gaps, baseline drift, pack content mismatches, WASM/PWA manifest failures, and stale test assertions.
- Diagnostic Guidance: Step-by-step approaches using binlogs (
-bl), DependsOnTargets analysis, and metadata tracing to locate root causes in src/StaticWebAssetsSdk/.
- CI Triage Strategy: A method for grouping AzDO/Helix test failures by test class, error signature, and TFM to distinguish code problems from infrastructure noise.
- Use Case: A CI run shows "Expected nupkg to contain 'build\X' but it was not found". The Skill directs you to
Microsoft.NET.Sdk.StaticWebAssets.Pack.targets, identifies the TFM-conditional branch, and tells you to update test assertions to match that branch.
Quick Start
Analyze this failing Static Web Assets test output and tell me the root cause category and how to fix it.