[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dotnet-template-validation":3,"mdc--utg7i9-key":37,"related-org-dotnet-template-validation":1828,"related-repo-dotnet-template-validation":1992},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":32,"sourceUrl":35,"mdContent":36},"template-validation","validate custom .NET templates","Validates custom dotnet new templates for correctness before publishing. Catches missing fields, parameter bugs, shortName conflicts, constraint issues, and common authoring mistakes that cause templates to fail silently. USE FOR: checking template.json files for errors before publishing or testing, diagnosing why a template doesn't appear after installation, reviewing template parameter definitions for type mismatches and missing defaults, finding shortName conflicts with dotnet CLI commands, validating post-action and constraint configuration. DO NOT USE FOR: finding or using existing templates (use template-discovery), creating projects from templates (use template-instantiation), creating templates from existing projects (use template-authoring).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"dotnet",".NET (Microsoft)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdotnet.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Packaging","packaging","tag",{"name":17,"slug":18,"type":15},".NET","net",{"name":20,"slug":21,"type":15},"QA","qa",{"name":23,"slug":24,"type":15},"Templates","templates",4576,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills","2026-07-22T05:35:44.671361","MIT",332,[31],"agent-skills",{"repoUrl":26,"stars":25,"forks":29,"topics":33,"description":34},[31],"Repository for skills to assist AI coding agents with .NET and C#","https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills\u002Ftree\u002FHEAD\u002Fplugins\u002Fdotnet-template-engine\u002Fskills\u002Ftemplate-validation","---\nname: template-validation\ndescription: >\n  Validates custom dotnet new templates for correctness before publishing.\n  Catches missing fields, parameter bugs, shortName conflicts, constraint issues,\n  and common authoring mistakes that cause templates to fail silently.\n  USE FOR: checking template.json files for errors before publishing or testing,\n  diagnosing why a template doesn't appear after installation, reviewing template\n  parameter definitions for type mismatches and missing defaults, finding shortName\n  conflicts with dotnet CLI commands, validating post-action and constraint configuration.\n  DO NOT USE FOR: finding or using existing templates (use template-discovery),\n  creating projects from templates (use template-instantiation), creating templates\n  from existing projects (use template-authoring).\nlicense: MIT\n---\n\n# Template Validation\n\nThis skill helps validate custom `dotnet new` templates for correctness before publishing. It encodes the validation rules that catch common authoring mistakes — issues that cause templates to silently fail, produce broken projects, or not appear in `dotnet new list`.\n\n## When to Use\n\n- User asks to check or validate a template.json file\n- User reports \"my template doesn't show up after installing\"\n- User wants to review a template before packaging and publishing to NuGet\n- User encounters unexpected behavior from a custom template\n\n## When Not to Use\n\n- User wants to find or use existing templates — route to `template-discovery`\n- User wants to create a project — route to `template-instantiation`\n- User wants to create a template from an existing project — route to `template-authoring`\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| template.json path | Yes | Path to the template.json file or the template directory containing `.template.config\u002Ftemplate.json` |\n\n## Validation Rules\n\nWhen reviewing a template.json, check ALL of the following categories systematically. Report every finding as an error, warning, or suggestion.\n\n### 1. Required Fields\n\n| Field | Severity | Rule |\n|-------|----------|------|\n| `identity` | ERROR | Must be present and non-empty |\n| `name` | ERROR | Must be present and non-empty |\n| `shortName` | ERROR | Must be present and non-empty |\n| `sourceName` | WARNING | Without it, `--name` won't customize the generated project name |\n| `author` | WARNING | Improves template discoverability |\n| `description` | SUGGESTION | Helps users understand what the template creates |\n| `classifications` | SUGGESTION | Improves search and categorization (e.g., `[\"Web\", \"API\"]`) |\n| `defaultName` | SUGGESTION | Provides a fallback project name when `--name` is not specified |\n\n### 2. Identity Format\n\n- ERROR if identity contains spaces — use dots or dashes (e.g., `MyCompany.WebApi.CSharp`)\n- WARNING if identity has no namespace separator (`.` or `-`) — use reverse-DNS format\n\n### 3. ShortName Conflicts\n\nA shortName that matches a `dotnet new` subcommand conflicts, because `dotnet new \u003Cname>` is then parsed as that subcommand instead of instantiating the template. Read the reserved set for the installed SDK from the `Commands:` section of `dotnet new --help` — that is the authoritative source and avoids this rule going stale.\n\nAs of current SDKs the subcommands include (illustrative only — version-dependent, do not hardcode this list; the live `dotnet new --help` output is canonical): `install`, `uninstall`, `update`, `list`, `search`, `details`, `create`. Note that top-level `dotnet` verbs like `build`, `run`, `test`, and `publish` do NOT conflict — `dotnet new test` does not collide with `dotnet test`.\n\n- ERROR if shortName matches any subcommand reported by `dotnet new --help` (case-insensitive)\n- WARNING if shortName is only 1 character — too short for discoverability\n- Note: shortName can be a string or an array of strings; check all values\n\n### 4. Symbol Validation\n\nFor each symbol in the `symbols` object:\n\n- ERROR if a symbol is missing the `type` field\n- For `type: \"parameter\"`:\n  - WARNING if no `datatype` specified (defaults to `string`)\n  - SUGGESTION if no `description` (improves `--help` output)\n  - If `datatype: \"choice\"`:\n    - ERROR if no `choices` defined\n    - ERROR if `choices` is empty\n    - ERROR if `defaultValue` is not in the choices list\n    - WARNING if optional (not `isRequired`) and no `defaultValue` — users get unexpected behavior\n  - If `datatype: \"bool\"`:\n    - ERROR if `defaultValue` is not a valid boolean\n  - If `datatype: \"int\"`:\n    - ERROR if `defaultValue` is not a valid integer\n  - Valid datatypes: `string`, `bool`, `choice`, `int`, `float`, `hex`, `text`\n  - ERROR if datatype is not in the valid list\n- For `type: \"computed\"`:\n  - ERROR if missing `value` expression\n- For `type: \"generated\"`:\n  - ERROR if missing `generator` field\n  - Valid generators: `casing`, `coalesce`, `constant`, `port`, `guid`, `now`, `random`, `regex`, `regexMatch`, `switch`, `join`\n\n**Parameter prefix collisions**: WARNING if any parameter name is a prefix of another parameter name (e.g., `Auth` and `AuthMode`) — this creates ambiguous parsing in expression contexts.\n\n### 5. Sources Validation\n\nFor source modifier conditions:\n- WARNING if a condition string doesn't contain parentheses around symbol names — expected format is `(symbolName)`, not bare `symbolName`\n\n### 6. Post-Action Validation\n\nFor each post-action:\n- ERROR if missing `actionId`\n- WARNING if missing `description` — this text is shown to users when the action requires manual steps\n- SUGGESTION if missing `manualInstructions` — these are shown when the action can't run automatically (e.g., in an IDE)\n\n### 7. Constraint Validation\n\nFor each constraint:\n- ERROR if missing `type` field\n- WARNING if missing `args` — most constraint types require arguments\n\n### 8. Tags Validation\n\n- SUGGESTION if no `language` tag — adding `tags.language` (e.g., `\"C#\"`) improves filtering in `dotnet new list --language`\n- SUGGESTION if no `type` tag — adding `tags.type` (e.g., `\"project\"` or `\"item\"`) improves categorization\n\n## Workflow\n\n### Step 1: Locate the template.json\n\nThe file can be at:\n- Direct path: `path\u002Fto\u002Ftemplate.json`\n- In a template directory: `path\u002Fto\u002F.template.config\u002Ftemplate.json`\n- In a `.template.config` directory: `path\u002F.template.config\u002Ftemplate.json`\n\n### Step 2: Parse and validate\n\nRead the JSON. If it's malformed, report the JSON parse error with line number.\n\nRun all 8 validation categories above. Collect errors, warnings, and suggestions separately.\n\n### Step 3: Report results\n\n**Lead with a one-line verdict**, then a single findings table. This decisive shape is required — do not scatter findings across prose paragraphs.\n\nVerdict header (pick one):\n- `❌ Not ready — N error(s), M warning(s)` — has errors\n- `⚠️ Publishable but N warning(s)` — no errors, has warnings\n- `✅ Ready to publish — 0 errors, 0 warnings` — no errors or warnings (optional suggestions may still apply)\n\nThen one table, ordered errors → warnings → suggestions:\n\n| Severity | Location (JSON path or `line:col`) | Issue | Fix |\n|----------|------------------------------------|-------|-----|\n| ERROR | `shortName` | `\"list\"` conflicts with a `dotnet new` subcommand | Rename to a distinctive value, e.g. `\"my-list\"` |\n| ERROR | `symbols.maxRetries.defaultValue` | `\"abc\"` is not a valid `int` | Set a numeric default, e.g. `\"3\"` |\n| ERROR | `12:5` | JSON parse error: unexpected `,` | Remove the trailing comma |\n\n**Every ERROR and WARNING MUST include a concrete fix** — the corrected value, JSON snippet, or a specific edit instruction (e.g. \"remove the trailing comma\"), not just a restatement of the problem. A finding without an actionable fix is incomplete. This is the single biggest thing that separates a useful validation from a generic lint.\n\nClose with the total: \"N error(s), M warning(s), K suggestion(s).\"\n\n## Common Pitfalls\n\n| Pitfall | Impact |\n|---------|--------|\n| ShortName = \"list\" or \"search\" | Template can never be created — conflicts with a `dotnet new` subcommand |\n| Missing `sourceName` | `--name MyProject` doesn't rename anything in the generated files |\n| Choice parameter without `defaultValue` | Confusing user experience on optional choice params |\n| Invalid `datatype` value | Template engine ignores the symbol, causing silent failures |\n| Computed symbol without `value` | Template engine throws at instantiation time |\n| Parameter prefix collision (`Auth` vs `AuthMode`) | Ambiguous expression evaluation |\n| Source condition without parentheses | Condition may not evaluate correctly |\n\n## More Info\n\n- [template.json reference](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Ftemplating\u002Fwiki\u002FReference-for-template.json) — full schema\n- [Available Symbol Generators](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Ftemplating\u002Fwiki\u002FAvailable-Symbols-Generators) — generator types\n- [Post-action registry](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Ftemplating\u002Fwiki\u002FPost-Action-Registry) — action IDs\n- [Constraints](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Ftemplating\u002Fwiki\u002FConstraints) — constraint types\n",{"data":38,"body":39},{"name":4,"description":6,"license":28},{"type":40,"children":41},"root",[42,50,73,80,105,111,147,153,210,216,221,228,447,453,488,494,530,645,670,676,689,1072,1099,1105,1110,1132,1138,1143,1181,1187,1192,1217,1223,1292,1298,1304,1309,1353,1359,1364,1369,1375,1385,1390,1426,1431,1588,1598,1603,1609,1769,1775],{"type":43,"tag":44,"props":45,"children":46},"element","h1",{"id":4},[47],{"type":48,"value":49},"text","Template Validation",{"type":43,"tag":51,"props":52,"children":53},"p",{},[54,56,63,65,71],{"type":48,"value":55},"This skill helps validate custom ",{"type":43,"tag":57,"props":58,"children":60},"code",{"className":59},[],[61],{"type":48,"value":62},"dotnet new",{"type":48,"value":64}," templates for correctness before publishing. It encodes the validation rules that catch common authoring mistakes — issues that cause templates to silently fail, produce broken projects, or not appear in ",{"type":43,"tag":57,"props":66,"children":68},{"className":67},[],[69],{"type":48,"value":70},"dotnet new list",{"type":48,"value":72},".",{"type":43,"tag":74,"props":75,"children":77},"h2",{"id":76},"when-to-use",[78],{"type":48,"value":79},"When to Use",{"type":43,"tag":81,"props":82,"children":83},"ul",{},[84,90,95,100],{"type":43,"tag":85,"props":86,"children":87},"li",{},[88],{"type":48,"value":89},"User asks to check or validate a template.json file",{"type":43,"tag":85,"props":91,"children":92},{},[93],{"type":48,"value":94},"User reports \"my template doesn't show up after installing\"",{"type":43,"tag":85,"props":96,"children":97},{},[98],{"type":48,"value":99},"User wants to review a template before packaging and publishing to NuGet",{"type":43,"tag":85,"props":101,"children":102},{},[103],{"type":48,"value":104},"User encounters unexpected behavior from a custom template",{"type":43,"tag":74,"props":106,"children":108},{"id":107},"when-not-to-use",[109],{"type":48,"value":110},"When Not to Use",{"type":43,"tag":81,"props":112,"children":113},{},[114,125,136],{"type":43,"tag":85,"props":115,"children":116},{},[117,119],{"type":48,"value":118},"User wants to find or use existing templates — route to ",{"type":43,"tag":57,"props":120,"children":122},{"className":121},[],[123],{"type":48,"value":124},"template-discovery",{"type":43,"tag":85,"props":126,"children":127},{},[128,130],{"type":48,"value":129},"User wants to create a project — route to ",{"type":43,"tag":57,"props":131,"children":133},{"className":132},[],[134],{"type":48,"value":135},"template-instantiation",{"type":43,"tag":85,"props":137,"children":138},{},[139,141],{"type":48,"value":140},"User wants to create a template from an existing project — route to ",{"type":43,"tag":57,"props":142,"children":144},{"className":143},[],[145],{"type":48,"value":146},"template-authoring",{"type":43,"tag":74,"props":148,"children":150},{"id":149},"inputs",[151],{"type":48,"value":152},"Inputs",{"type":43,"tag":154,"props":155,"children":156},"table",{},[157,181],{"type":43,"tag":158,"props":159,"children":160},"thead",{},[161],{"type":43,"tag":162,"props":163,"children":164},"tr",{},[165,171,176],{"type":43,"tag":166,"props":167,"children":168},"th",{},[169],{"type":48,"value":170},"Input",{"type":43,"tag":166,"props":172,"children":173},{},[174],{"type":48,"value":175},"Required",{"type":43,"tag":166,"props":177,"children":178},{},[179],{"type":48,"value":180},"Description",{"type":43,"tag":182,"props":183,"children":184},"tbody",{},[185],{"type":43,"tag":162,"props":186,"children":187},{},[188,194,199],{"type":43,"tag":189,"props":190,"children":191},"td",{},[192],{"type":48,"value":193},"template.json path",{"type":43,"tag":189,"props":195,"children":196},{},[197],{"type":48,"value":198},"Yes",{"type":43,"tag":189,"props":200,"children":201},{},[202,204],{"type":48,"value":203},"Path to the template.json file or the template directory containing ",{"type":43,"tag":57,"props":205,"children":207},{"className":206},[],[208],{"type":48,"value":209},".template.config\u002Ftemplate.json",{"type":43,"tag":74,"props":211,"children":213},{"id":212},"validation-rules",[214],{"type":48,"value":215},"Validation Rules",{"type":43,"tag":51,"props":217,"children":218},{},[219],{"type":48,"value":220},"When reviewing a template.json, check ALL of the following categories systematically. Report every finding as an error, warning, or suggestion.",{"type":43,"tag":222,"props":223,"children":225},"h3",{"id":224},"_1-required-fields",[226],{"type":48,"value":227},"1. Required Fields",{"type":43,"tag":154,"props":229,"children":230},{},[231,252],{"type":43,"tag":158,"props":232,"children":233},{},[234],{"type":43,"tag":162,"props":235,"children":236},{},[237,242,247],{"type":43,"tag":166,"props":238,"children":239},{},[240],{"type":48,"value":241},"Field",{"type":43,"tag":166,"props":243,"children":244},{},[245],{"type":48,"value":246},"Severity",{"type":43,"tag":166,"props":248,"children":249},{},[250],{"type":48,"value":251},"Rule",{"type":43,"tag":182,"props":253,"children":254},{},[255,277,297,317,347,368,390,419],{"type":43,"tag":162,"props":256,"children":257},{},[258,267,272],{"type":43,"tag":189,"props":259,"children":260},{},[261],{"type":43,"tag":57,"props":262,"children":264},{"className":263},[],[265],{"type":48,"value":266},"identity",{"type":43,"tag":189,"props":268,"children":269},{},[270],{"type":48,"value":271},"ERROR",{"type":43,"tag":189,"props":273,"children":274},{},[275],{"type":48,"value":276},"Must be present and non-empty",{"type":43,"tag":162,"props":278,"children":279},{},[280,289,293],{"type":43,"tag":189,"props":281,"children":282},{},[283],{"type":43,"tag":57,"props":284,"children":286},{"className":285},[],[287],{"type":48,"value":288},"name",{"type":43,"tag":189,"props":290,"children":291},{},[292],{"type":48,"value":271},{"type":43,"tag":189,"props":294,"children":295},{},[296],{"type":48,"value":276},{"type":43,"tag":162,"props":298,"children":299},{},[300,309,313],{"type":43,"tag":189,"props":301,"children":302},{},[303],{"type":43,"tag":57,"props":304,"children":306},{"className":305},[],[307],{"type":48,"value":308},"shortName",{"type":43,"tag":189,"props":310,"children":311},{},[312],{"type":48,"value":271},{"type":43,"tag":189,"props":314,"children":315},{},[316],{"type":48,"value":276},{"type":43,"tag":162,"props":318,"children":319},{},[320,329,334],{"type":43,"tag":189,"props":321,"children":322},{},[323],{"type":43,"tag":57,"props":324,"children":326},{"className":325},[],[327],{"type":48,"value":328},"sourceName",{"type":43,"tag":189,"props":330,"children":331},{},[332],{"type":48,"value":333},"WARNING",{"type":43,"tag":189,"props":335,"children":336},{},[337,339,345],{"type":48,"value":338},"Without it, ",{"type":43,"tag":57,"props":340,"children":342},{"className":341},[],[343],{"type":48,"value":344},"--name",{"type":48,"value":346}," won't customize the generated project name",{"type":43,"tag":162,"props":348,"children":349},{},[350,359,363],{"type":43,"tag":189,"props":351,"children":352},{},[353],{"type":43,"tag":57,"props":354,"children":356},{"className":355},[],[357],{"type":48,"value":358},"author",{"type":43,"tag":189,"props":360,"children":361},{},[362],{"type":48,"value":333},{"type":43,"tag":189,"props":364,"children":365},{},[366],{"type":48,"value":367},"Improves template discoverability",{"type":43,"tag":162,"props":369,"children":370},{},[371,380,385],{"type":43,"tag":189,"props":372,"children":373},{},[374],{"type":43,"tag":57,"props":375,"children":377},{"className":376},[],[378],{"type":48,"value":379},"description",{"type":43,"tag":189,"props":381,"children":382},{},[383],{"type":48,"value":384},"SUGGESTION",{"type":43,"tag":189,"props":386,"children":387},{},[388],{"type":48,"value":389},"Helps users understand what the template creates",{"type":43,"tag":162,"props":391,"children":392},{},[393,402,406],{"type":43,"tag":189,"props":394,"children":395},{},[396],{"type":43,"tag":57,"props":397,"children":399},{"className":398},[],[400],{"type":48,"value":401},"classifications",{"type":43,"tag":189,"props":403,"children":404},{},[405],{"type":48,"value":384},{"type":43,"tag":189,"props":407,"children":408},{},[409,411,417],{"type":48,"value":410},"Improves search and categorization (e.g., ",{"type":43,"tag":57,"props":412,"children":414},{"className":413},[],[415],{"type":48,"value":416},"[\"Web\", \"API\"]",{"type":48,"value":418},")",{"type":43,"tag":162,"props":420,"children":421},{},[422,431,435],{"type":43,"tag":189,"props":423,"children":424},{},[425],{"type":43,"tag":57,"props":426,"children":428},{"className":427},[],[429],{"type":48,"value":430},"defaultName",{"type":43,"tag":189,"props":432,"children":433},{},[434],{"type":48,"value":384},{"type":43,"tag":189,"props":436,"children":437},{},[438,440,445],{"type":48,"value":439},"Provides a fallback project name when ",{"type":43,"tag":57,"props":441,"children":443},{"className":442},[],[444],{"type":48,"value":344},{"type":48,"value":446}," is not specified",{"type":43,"tag":222,"props":448,"children":450},{"id":449},"_2-identity-format",[451],{"type":48,"value":452},"2. Identity Format",{"type":43,"tag":81,"props":454,"children":455},{},[456,468],{"type":43,"tag":85,"props":457,"children":458},{},[459,461,467],{"type":48,"value":460},"ERROR if identity contains spaces — use dots or dashes (e.g., ",{"type":43,"tag":57,"props":462,"children":464},{"className":463},[],[465],{"type":48,"value":466},"MyCompany.WebApi.CSharp",{"type":48,"value":418},{"type":43,"tag":85,"props":469,"children":470},{},[471,473,478,480,486],{"type":48,"value":472},"WARNING if identity has no namespace separator (",{"type":43,"tag":57,"props":474,"children":476},{"className":475},[],[477],{"type":48,"value":72},{"type":48,"value":479}," or ",{"type":43,"tag":57,"props":481,"children":483},{"className":482},[],[484],{"type":48,"value":485},"-",{"type":48,"value":487},") — use reverse-DNS format",{"type":43,"tag":222,"props":489,"children":491},{"id":490},"_3-shortname-conflicts",[492],{"type":48,"value":493},"3. ShortName Conflicts",{"type":43,"tag":51,"props":495,"children":496},{},[497,499,504,506,512,514,520,522,528],{"type":48,"value":498},"A shortName that matches a ",{"type":43,"tag":57,"props":500,"children":502},{"className":501},[],[503],{"type":48,"value":62},{"type":48,"value":505}," subcommand conflicts, because ",{"type":43,"tag":57,"props":507,"children":509},{"className":508},[],[510],{"type":48,"value":511},"dotnet new \u003Cname>",{"type":48,"value":513}," is then parsed as that subcommand instead of instantiating the template. Read the reserved set for the installed SDK from the ",{"type":43,"tag":57,"props":515,"children":517},{"className":516},[],[518],{"type":48,"value":519},"Commands:",{"type":48,"value":521}," section of ",{"type":43,"tag":57,"props":523,"children":525},{"className":524},[],[526],{"type":48,"value":527},"dotnet new --help",{"type":48,"value":529}," — that is the authoritative source and avoids this rule going stale.",{"type":43,"tag":51,"props":531,"children":532},{},[533,535,540,542,548,550,556,557,563,564,570,571,577,578,584,585,591,593,598,600,606,607,613,614,620,622,628,630,636,638,644],{"type":48,"value":534},"As of current SDKs the subcommands include (illustrative only — version-dependent, do not hardcode this list; the live ",{"type":43,"tag":57,"props":536,"children":538},{"className":537},[],[539],{"type":48,"value":527},{"type":48,"value":541}," output is canonical): ",{"type":43,"tag":57,"props":543,"children":545},{"className":544},[],[546],{"type":48,"value":547},"install",{"type":48,"value":549},", ",{"type":43,"tag":57,"props":551,"children":553},{"className":552},[],[554],{"type":48,"value":555},"uninstall",{"type":48,"value":549},{"type":43,"tag":57,"props":558,"children":560},{"className":559},[],[561],{"type":48,"value":562},"update",{"type":48,"value":549},{"type":43,"tag":57,"props":565,"children":567},{"className":566},[],[568],{"type":48,"value":569},"list",{"type":48,"value":549},{"type":43,"tag":57,"props":572,"children":574},{"className":573},[],[575],{"type":48,"value":576},"search",{"type":48,"value":549},{"type":43,"tag":57,"props":579,"children":581},{"className":580},[],[582],{"type":48,"value":583},"details",{"type":48,"value":549},{"type":43,"tag":57,"props":586,"children":588},{"className":587},[],[589],{"type":48,"value":590},"create",{"type":48,"value":592},". Note that top-level ",{"type":43,"tag":57,"props":594,"children":596},{"className":595},[],[597],{"type":48,"value":8},{"type":48,"value":599}," verbs like ",{"type":43,"tag":57,"props":601,"children":603},{"className":602},[],[604],{"type":48,"value":605},"build",{"type":48,"value":549},{"type":43,"tag":57,"props":608,"children":610},{"className":609},[],[611],{"type":48,"value":612},"run",{"type":48,"value":549},{"type":43,"tag":57,"props":615,"children":617},{"className":616},[],[618],{"type":48,"value":619},"test",{"type":48,"value":621},", and ",{"type":43,"tag":57,"props":623,"children":625},{"className":624},[],[626],{"type":48,"value":627},"publish",{"type":48,"value":629}," do NOT conflict — ",{"type":43,"tag":57,"props":631,"children":633},{"className":632},[],[634],{"type":48,"value":635},"dotnet new test",{"type":48,"value":637}," does not collide with ",{"type":43,"tag":57,"props":639,"children":641},{"className":640},[],[642],{"type":48,"value":643},"dotnet test",{"type":48,"value":72},{"type":43,"tag":81,"props":646,"children":647},{},[648,660,665],{"type":43,"tag":85,"props":649,"children":650},{},[651,653,658],{"type":48,"value":652},"ERROR if shortName matches any subcommand reported by ",{"type":43,"tag":57,"props":654,"children":656},{"className":655},[],[657],{"type":48,"value":527},{"type":48,"value":659}," (case-insensitive)",{"type":43,"tag":85,"props":661,"children":662},{},[663],{"type":48,"value":664},"WARNING if shortName is only 1 character — too short for discoverability",{"type":43,"tag":85,"props":666,"children":667},{},[668],{"type":48,"value":669},"Note: shortName can be a string or an array of strings; check all values",{"type":43,"tag":222,"props":671,"children":673},{"id":672},"_4-symbol-validation",[674],{"type":48,"value":675},"4. Symbol Validation",{"type":43,"tag":51,"props":677,"children":678},{},[679,681,687],{"type":48,"value":680},"For each symbol in the ",{"type":43,"tag":57,"props":682,"children":684},{"className":683},[],[685],{"type":48,"value":686},"symbols",{"type":48,"value":688}," object:",{"type":43,"tag":81,"props":690,"children":691},{},[692,705,939,966],{"type":43,"tag":85,"props":693,"children":694},{},[695,697,703],{"type":48,"value":696},"ERROR if a symbol is missing the ",{"type":43,"tag":57,"props":698,"children":700},{"className":699},[],[701],{"type":48,"value":702},"type",{"type":48,"value":704}," field",{"type":43,"tag":85,"props":706,"children":707},{},[708,710,716,718],{"type":48,"value":709},"For ",{"type":43,"tag":57,"props":711,"children":713},{"className":712},[],[714],{"type":48,"value":715},"type: \"parameter\"",{"type":48,"value":717},":\n",{"type":43,"tag":81,"props":719,"children":720},{},[721,741,761,833,858,883,934],{"type":43,"tag":85,"props":722,"children":723},{},[724,726,732,734,740],{"type":48,"value":725},"WARNING if no ",{"type":43,"tag":57,"props":727,"children":729},{"className":728},[],[730],{"type":48,"value":731},"datatype",{"type":48,"value":733}," specified (defaults to ",{"type":43,"tag":57,"props":735,"children":737},{"className":736},[],[738],{"type":48,"value":739},"string",{"type":48,"value":418},{"type":43,"tag":85,"props":742,"children":743},{},[744,746,751,753,759],{"type":48,"value":745},"SUGGESTION if no ",{"type":43,"tag":57,"props":747,"children":749},{"className":748},[],[750],{"type":48,"value":379},{"type":48,"value":752}," (improves ",{"type":43,"tag":57,"props":754,"children":756},{"className":755},[],[757],{"type":48,"value":758},"--help",{"type":48,"value":760}," output)",{"type":43,"tag":85,"props":762,"children":763},{},[764,766,772,773],{"type":48,"value":765},"If ",{"type":43,"tag":57,"props":767,"children":769},{"className":768},[],[770],{"type":48,"value":771},"datatype: \"choice\"",{"type":48,"value":717},{"type":43,"tag":81,"props":774,"children":775},{},[776,789,801,813],{"type":43,"tag":85,"props":777,"children":778},{},[779,781,787],{"type":48,"value":780},"ERROR if no ",{"type":43,"tag":57,"props":782,"children":784},{"className":783},[],[785],{"type":48,"value":786},"choices",{"type":48,"value":788}," defined",{"type":43,"tag":85,"props":790,"children":791},{},[792,794,799],{"type":48,"value":793},"ERROR if ",{"type":43,"tag":57,"props":795,"children":797},{"className":796},[],[798],{"type":48,"value":786},{"type":48,"value":800}," is empty",{"type":43,"tag":85,"props":802,"children":803},{},[804,805,811],{"type":48,"value":793},{"type":43,"tag":57,"props":806,"children":808},{"className":807},[],[809],{"type":48,"value":810},"defaultValue",{"type":48,"value":812}," is not in the choices list",{"type":43,"tag":85,"props":814,"children":815},{},[816,818,824,826,831],{"type":48,"value":817},"WARNING if optional (not ",{"type":43,"tag":57,"props":819,"children":821},{"className":820},[],[822],{"type":48,"value":823},"isRequired",{"type":48,"value":825},") and no ",{"type":43,"tag":57,"props":827,"children":829},{"className":828},[],[830],{"type":48,"value":810},{"type":48,"value":832}," — users get unexpected behavior",{"type":43,"tag":85,"props":834,"children":835},{},[836,837,843,844],{"type":48,"value":765},{"type":43,"tag":57,"props":838,"children":840},{"className":839},[],[841],{"type":48,"value":842},"datatype: \"bool\"",{"type":48,"value":717},{"type":43,"tag":81,"props":845,"children":846},{},[847],{"type":43,"tag":85,"props":848,"children":849},{},[850,851,856],{"type":48,"value":793},{"type":43,"tag":57,"props":852,"children":854},{"className":853},[],[855],{"type":48,"value":810},{"type":48,"value":857}," is not a valid boolean",{"type":43,"tag":85,"props":859,"children":860},{},[861,862,868,869],{"type":48,"value":765},{"type":43,"tag":57,"props":863,"children":865},{"className":864},[],[866],{"type":48,"value":867},"datatype: \"int\"",{"type":48,"value":717},{"type":43,"tag":81,"props":870,"children":871},{},[872],{"type":43,"tag":85,"props":873,"children":874},{},[875,876,881],{"type":48,"value":793},{"type":43,"tag":57,"props":877,"children":879},{"className":878},[],[880],{"type":48,"value":810},{"type":48,"value":882}," is not a valid integer",{"type":43,"tag":85,"props":884,"children":885},{},[886,888,893,894,900,901,907,908,914,915,921,922,928,929],{"type":48,"value":887},"Valid datatypes: ",{"type":43,"tag":57,"props":889,"children":891},{"className":890},[],[892],{"type":48,"value":739},{"type":48,"value":549},{"type":43,"tag":57,"props":895,"children":897},{"className":896},[],[898],{"type":48,"value":899},"bool",{"type":48,"value":549},{"type":43,"tag":57,"props":902,"children":904},{"className":903},[],[905],{"type":48,"value":906},"choice",{"type":48,"value":549},{"type":43,"tag":57,"props":909,"children":911},{"className":910},[],[912],{"type":48,"value":913},"int",{"type":48,"value":549},{"type":43,"tag":57,"props":916,"children":918},{"className":917},[],[919],{"type":48,"value":920},"float",{"type":48,"value":549},{"type":43,"tag":57,"props":923,"children":925},{"className":924},[],[926],{"type":48,"value":927},"hex",{"type":48,"value":549},{"type":43,"tag":57,"props":930,"children":932},{"className":931},[],[933],{"type":48,"value":48},{"type":43,"tag":85,"props":935,"children":936},{},[937],{"type":48,"value":938},"ERROR if datatype is not in the valid list",{"type":43,"tag":85,"props":940,"children":941},{},[942,943,949,950],{"type":48,"value":709},{"type":43,"tag":57,"props":944,"children":946},{"className":945},[],[947],{"type":48,"value":948},"type: \"computed\"",{"type":48,"value":717},{"type":43,"tag":81,"props":951,"children":952},{},[953],{"type":43,"tag":85,"props":954,"children":955},{},[956,958,964],{"type":48,"value":957},"ERROR if missing ",{"type":43,"tag":57,"props":959,"children":961},{"className":960},[],[962],{"type":48,"value":963},"value",{"type":48,"value":965}," expression",{"type":43,"tag":85,"props":967,"children":968},{},[969,970,976,977],{"type":48,"value":709},{"type":43,"tag":57,"props":971,"children":973},{"className":972},[],[974],{"type":48,"value":975},"type: \"generated\"",{"type":48,"value":717},{"type":43,"tag":81,"props":978,"children":979},{},[980,991],{"type":43,"tag":85,"props":981,"children":982},{},[983,984,990],{"type":48,"value":957},{"type":43,"tag":57,"props":985,"children":987},{"className":986},[],[988],{"type":48,"value":989},"generator",{"type":48,"value":704},{"type":43,"tag":85,"props":992,"children":993},{},[994,996,1002,1003,1009,1010,1016,1017,1023,1024,1030,1031,1037,1038,1044,1045,1051,1052,1058,1059,1065,1066],{"type":48,"value":995},"Valid generators: ",{"type":43,"tag":57,"props":997,"children":999},{"className":998},[],[1000],{"type":48,"value":1001},"casing",{"type":48,"value":549},{"type":43,"tag":57,"props":1004,"children":1006},{"className":1005},[],[1007],{"type":48,"value":1008},"coalesce",{"type":48,"value":549},{"type":43,"tag":57,"props":1011,"children":1013},{"className":1012},[],[1014],{"type":48,"value":1015},"constant",{"type":48,"value":549},{"type":43,"tag":57,"props":1018,"children":1020},{"className":1019},[],[1021],{"type":48,"value":1022},"port",{"type":48,"value":549},{"type":43,"tag":57,"props":1025,"children":1027},{"className":1026},[],[1028],{"type":48,"value":1029},"guid",{"type":48,"value":549},{"type":43,"tag":57,"props":1032,"children":1034},{"className":1033},[],[1035],{"type":48,"value":1036},"now",{"type":48,"value":549},{"type":43,"tag":57,"props":1039,"children":1041},{"className":1040},[],[1042],{"type":48,"value":1043},"random",{"type":48,"value":549},{"type":43,"tag":57,"props":1046,"children":1048},{"className":1047},[],[1049],{"type":48,"value":1050},"regex",{"type":48,"value":549},{"type":43,"tag":57,"props":1053,"children":1055},{"className":1054},[],[1056],{"type":48,"value":1057},"regexMatch",{"type":48,"value":549},{"type":43,"tag":57,"props":1060,"children":1062},{"className":1061},[],[1063],{"type":48,"value":1064},"switch",{"type":48,"value":549},{"type":43,"tag":57,"props":1067,"children":1069},{"className":1068},[],[1070],{"type":48,"value":1071},"join",{"type":43,"tag":51,"props":1073,"children":1074},{},[1075,1081,1083,1089,1091,1097],{"type":43,"tag":1076,"props":1077,"children":1078},"strong",{},[1079],{"type":48,"value":1080},"Parameter prefix collisions",{"type":48,"value":1082},": WARNING if any parameter name is a prefix of another parameter name (e.g., ",{"type":43,"tag":57,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":48,"value":1088},"Auth",{"type":48,"value":1090}," and ",{"type":43,"tag":57,"props":1092,"children":1094},{"className":1093},[],[1095],{"type":48,"value":1096},"AuthMode",{"type":48,"value":1098},") — this creates ambiguous parsing in expression contexts.",{"type":43,"tag":222,"props":1100,"children":1102},{"id":1101},"_5-sources-validation",[1103],{"type":48,"value":1104},"5. Sources Validation",{"type":43,"tag":51,"props":1106,"children":1107},{},[1108],{"type":48,"value":1109},"For source modifier conditions:",{"type":43,"tag":81,"props":1111,"children":1112},{},[1113],{"type":43,"tag":85,"props":1114,"children":1115},{},[1116,1118,1124,1126],{"type":48,"value":1117},"WARNING if a condition string doesn't contain parentheses around symbol names — expected format is ",{"type":43,"tag":57,"props":1119,"children":1121},{"className":1120},[],[1122],{"type":48,"value":1123},"(symbolName)",{"type":48,"value":1125},", not bare ",{"type":43,"tag":57,"props":1127,"children":1129},{"className":1128},[],[1130],{"type":48,"value":1131},"symbolName",{"type":43,"tag":222,"props":1133,"children":1135},{"id":1134},"_6-post-action-validation",[1136],{"type":48,"value":1137},"6. Post-Action Validation",{"type":43,"tag":51,"props":1139,"children":1140},{},[1141],{"type":48,"value":1142},"For each post-action:",{"type":43,"tag":81,"props":1144,"children":1145},{},[1146,1156,1168],{"type":43,"tag":85,"props":1147,"children":1148},{},[1149,1150],{"type":48,"value":957},{"type":43,"tag":57,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":48,"value":1155},"actionId",{"type":43,"tag":85,"props":1157,"children":1158},{},[1159,1161,1166],{"type":48,"value":1160},"WARNING if missing ",{"type":43,"tag":57,"props":1162,"children":1164},{"className":1163},[],[1165],{"type":48,"value":379},{"type":48,"value":1167}," — this text is shown to users when the action requires manual steps",{"type":43,"tag":85,"props":1169,"children":1170},{},[1171,1173,1179],{"type":48,"value":1172},"SUGGESTION if missing ",{"type":43,"tag":57,"props":1174,"children":1176},{"className":1175},[],[1177],{"type":48,"value":1178},"manualInstructions",{"type":48,"value":1180}," — these are shown when the action can't run automatically (e.g., in an IDE)",{"type":43,"tag":222,"props":1182,"children":1184},{"id":1183},"_7-constraint-validation",[1185],{"type":48,"value":1186},"7. Constraint Validation",{"type":43,"tag":51,"props":1188,"children":1189},{},[1190],{"type":48,"value":1191},"For each constraint:",{"type":43,"tag":81,"props":1193,"children":1194},{},[1195,1205],{"type":43,"tag":85,"props":1196,"children":1197},{},[1198,1199,1204],{"type":48,"value":957},{"type":43,"tag":57,"props":1200,"children":1202},{"className":1201},[],[1203],{"type":48,"value":702},{"type":48,"value":704},{"type":43,"tag":85,"props":1206,"children":1207},{},[1208,1209,1215],{"type":48,"value":1160},{"type":43,"tag":57,"props":1210,"children":1212},{"className":1211},[],[1213],{"type":48,"value":1214},"args",{"type":48,"value":1216}," — most constraint types require arguments",{"type":43,"tag":222,"props":1218,"children":1220},{"id":1219},"_8-tags-validation",[1221],{"type":48,"value":1222},"8. Tags Validation",{"type":43,"tag":81,"props":1224,"children":1225},{},[1226,1260],{"type":43,"tag":85,"props":1227,"children":1228},{},[1229,1230,1236,1238,1244,1246,1252,1254],{"type":48,"value":745},{"type":43,"tag":57,"props":1231,"children":1233},{"className":1232},[],[1234],{"type":48,"value":1235},"language",{"type":48,"value":1237}," tag — adding ",{"type":43,"tag":57,"props":1239,"children":1241},{"className":1240},[],[1242],{"type":48,"value":1243},"tags.language",{"type":48,"value":1245}," (e.g., ",{"type":43,"tag":57,"props":1247,"children":1249},{"className":1248},[],[1250],{"type":48,"value":1251},"\"C#\"",{"type":48,"value":1253},") improves filtering in ",{"type":43,"tag":57,"props":1255,"children":1257},{"className":1256},[],[1258],{"type":48,"value":1259},"dotnet new list --language",{"type":43,"tag":85,"props":1261,"children":1262},{},[1263,1264,1269,1270,1276,1277,1283,1284,1290],{"type":48,"value":745},{"type":43,"tag":57,"props":1265,"children":1267},{"className":1266},[],[1268],{"type":48,"value":702},{"type":48,"value":1237},{"type":43,"tag":57,"props":1271,"children":1273},{"className":1272},[],[1274],{"type":48,"value":1275},"tags.type",{"type":48,"value":1245},{"type":43,"tag":57,"props":1278,"children":1280},{"className":1279},[],[1281],{"type":48,"value":1282},"\"project\"",{"type":48,"value":479},{"type":43,"tag":57,"props":1285,"children":1287},{"className":1286},[],[1288],{"type":48,"value":1289},"\"item\"",{"type":48,"value":1291},") improves categorization",{"type":43,"tag":74,"props":1293,"children":1295},{"id":1294},"workflow",[1296],{"type":48,"value":1297},"Workflow",{"type":43,"tag":222,"props":1299,"children":1301},{"id":1300},"step-1-locate-the-templatejson",[1302],{"type":48,"value":1303},"Step 1: Locate the template.json",{"type":43,"tag":51,"props":1305,"children":1306},{},[1307],{"type":48,"value":1308},"The file can be at:",{"type":43,"tag":81,"props":1310,"children":1311},{},[1312,1323,1334],{"type":43,"tag":85,"props":1313,"children":1314},{},[1315,1317],{"type":48,"value":1316},"Direct path: ",{"type":43,"tag":57,"props":1318,"children":1320},{"className":1319},[],[1321],{"type":48,"value":1322},"path\u002Fto\u002Ftemplate.json",{"type":43,"tag":85,"props":1324,"children":1325},{},[1326,1328],{"type":48,"value":1327},"In a template directory: ",{"type":43,"tag":57,"props":1329,"children":1331},{"className":1330},[],[1332],{"type":48,"value":1333},"path\u002Fto\u002F.template.config\u002Ftemplate.json",{"type":43,"tag":85,"props":1335,"children":1336},{},[1337,1339,1345,1347],{"type":48,"value":1338},"In a ",{"type":43,"tag":57,"props":1340,"children":1342},{"className":1341},[],[1343],{"type":48,"value":1344},".template.config",{"type":48,"value":1346}," directory: ",{"type":43,"tag":57,"props":1348,"children":1350},{"className":1349},[],[1351],{"type":48,"value":1352},"path\u002F.template.config\u002Ftemplate.json",{"type":43,"tag":222,"props":1354,"children":1356},{"id":1355},"step-2-parse-and-validate",[1357],{"type":48,"value":1358},"Step 2: Parse and validate",{"type":43,"tag":51,"props":1360,"children":1361},{},[1362],{"type":48,"value":1363},"Read the JSON. If it's malformed, report the JSON parse error with line number.",{"type":43,"tag":51,"props":1365,"children":1366},{},[1367],{"type":48,"value":1368},"Run all 8 validation categories above. Collect errors, warnings, and suggestions separately.",{"type":43,"tag":222,"props":1370,"children":1372},{"id":1371},"step-3-report-results",[1373],{"type":48,"value":1374},"Step 3: Report results",{"type":43,"tag":51,"props":1376,"children":1377},{},[1378,1383],{"type":43,"tag":1076,"props":1379,"children":1380},{},[1381],{"type":48,"value":1382},"Lead with a one-line verdict",{"type":48,"value":1384},", then a single findings table. This decisive shape is required — do not scatter findings across prose paragraphs.",{"type":43,"tag":51,"props":1386,"children":1387},{},[1388],{"type":48,"value":1389},"Verdict header (pick one):",{"type":43,"tag":81,"props":1391,"children":1392},{},[1393,1404,1415],{"type":43,"tag":85,"props":1394,"children":1395},{},[1396,1402],{"type":43,"tag":57,"props":1397,"children":1399},{"className":1398},[],[1400],{"type":48,"value":1401},"❌ Not ready — N error(s), M warning(s)",{"type":48,"value":1403}," — has errors",{"type":43,"tag":85,"props":1405,"children":1406},{},[1407,1413],{"type":43,"tag":57,"props":1408,"children":1410},{"className":1409},[],[1411],{"type":48,"value":1412},"⚠️ Publishable but N warning(s)",{"type":48,"value":1414}," — no errors, has warnings",{"type":43,"tag":85,"props":1416,"children":1417},{},[1418,1424],{"type":43,"tag":57,"props":1419,"children":1421},{"className":1420},[],[1422],{"type":48,"value":1423},"✅ Ready to publish — 0 errors, 0 warnings",{"type":48,"value":1425}," — no errors or warnings (optional suggestions may still apply)",{"type":43,"tag":51,"props":1427,"children":1428},{},[1429],{"type":48,"value":1430},"Then one table, ordered errors → warnings → suggestions:",{"type":43,"tag":154,"props":1432,"children":1433},{},[1434,1466],{"type":43,"tag":158,"props":1435,"children":1436},{},[1437],{"type":43,"tag":162,"props":1438,"children":1439},{},[1440,1444,1456,1461],{"type":43,"tag":166,"props":1441,"children":1442},{},[1443],{"type":48,"value":246},{"type":43,"tag":166,"props":1445,"children":1446},{},[1447,1449,1455],{"type":48,"value":1448},"Location (JSON path or ",{"type":43,"tag":57,"props":1450,"children":1452},{"className":1451},[],[1453],{"type":48,"value":1454},"line:col",{"type":48,"value":418},{"type":43,"tag":166,"props":1457,"children":1458},{},[1459],{"type":48,"value":1460},"Issue",{"type":43,"tag":166,"props":1462,"children":1463},{},[1464],{"type":48,"value":1465},"Fix",{"type":43,"tag":182,"props":1467,"children":1468},{},[1469,1513,1556],{"type":43,"tag":162,"props":1470,"children":1471},{},[1472,1476,1484,1502],{"type":43,"tag":189,"props":1473,"children":1474},{},[1475],{"type":48,"value":271},{"type":43,"tag":189,"props":1477,"children":1478},{},[1479],{"type":43,"tag":57,"props":1480,"children":1482},{"className":1481},[],[1483],{"type":48,"value":308},{"type":43,"tag":189,"props":1485,"children":1486},{},[1487,1493,1495,1500],{"type":43,"tag":57,"props":1488,"children":1490},{"className":1489},[],[1491],{"type":48,"value":1492},"\"list\"",{"type":48,"value":1494}," conflicts with a ",{"type":43,"tag":57,"props":1496,"children":1498},{"className":1497},[],[1499],{"type":48,"value":62},{"type":48,"value":1501}," subcommand",{"type":43,"tag":189,"props":1503,"children":1504},{},[1505,1507],{"type":48,"value":1506},"Rename to a distinctive value, e.g. ",{"type":43,"tag":57,"props":1508,"children":1510},{"className":1509},[],[1511],{"type":48,"value":1512},"\"my-list\"",{"type":43,"tag":162,"props":1514,"children":1515},{},[1516,1520,1529,1545],{"type":43,"tag":189,"props":1517,"children":1518},{},[1519],{"type":48,"value":271},{"type":43,"tag":189,"props":1521,"children":1522},{},[1523],{"type":43,"tag":57,"props":1524,"children":1526},{"className":1525},[],[1527],{"type":48,"value":1528},"symbols.maxRetries.defaultValue",{"type":43,"tag":189,"props":1530,"children":1531},{},[1532,1538,1540],{"type":43,"tag":57,"props":1533,"children":1535},{"className":1534},[],[1536],{"type":48,"value":1537},"\"abc\"",{"type":48,"value":1539}," is not a valid ",{"type":43,"tag":57,"props":1541,"children":1543},{"className":1542},[],[1544],{"type":48,"value":913},{"type":43,"tag":189,"props":1546,"children":1547},{},[1548,1550],{"type":48,"value":1549},"Set a numeric default, e.g. ",{"type":43,"tag":57,"props":1551,"children":1553},{"className":1552},[],[1554],{"type":48,"value":1555},"\"3\"",{"type":43,"tag":162,"props":1557,"children":1558},{},[1559,1563,1572,1583],{"type":43,"tag":189,"props":1560,"children":1561},{},[1562],{"type":48,"value":271},{"type":43,"tag":189,"props":1564,"children":1565},{},[1566],{"type":43,"tag":57,"props":1567,"children":1569},{"className":1568},[],[1570],{"type":48,"value":1571},"12:5",{"type":43,"tag":189,"props":1573,"children":1574},{},[1575,1577],{"type":48,"value":1576},"JSON parse error: unexpected ",{"type":43,"tag":57,"props":1578,"children":1580},{"className":1579},[],[1581],{"type":48,"value":1582},",",{"type":43,"tag":189,"props":1584,"children":1585},{},[1586],{"type":48,"value":1587},"Remove the trailing comma",{"type":43,"tag":51,"props":1589,"children":1590},{},[1591,1596],{"type":43,"tag":1076,"props":1592,"children":1593},{},[1594],{"type":48,"value":1595},"Every ERROR and WARNING MUST include a concrete fix",{"type":48,"value":1597}," — the corrected value, JSON snippet, or a specific edit instruction (e.g. \"remove the trailing comma\"), not just a restatement of the problem. A finding without an actionable fix is incomplete. This is the single biggest thing that separates a useful validation from a generic lint.",{"type":43,"tag":51,"props":1599,"children":1600},{},[1601],{"type":48,"value":1602},"Close with the total: \"N error(s), M warning(s), K suggestion(s).\"",{"type":43,"tag":74,"props":1604,"children":1606},{"id":1605},"common-pitfalls",[1607],{"type":48,"value":1608},"Common Pitfalls",{"type":43,"tag":154,"props":1610,"children":1611},{},[1612,1628],{"type":43,"tag":158,"props":1613,"children":1614},{},[1615],{"type":43,"tag":162,"props":1616,"children":1617},{},[1618,1623],{"type":43,"tag":166,"props":1619,"children":1620},{},[1621],{"type":48,"value":1622},"Pitfall",{"type":43,"tag":166,"props":1624,"children":1625},{},[1626],{"type":48,"value":1627},"Impact",{"type":43,"tag":182,"props":1629,"children":1630},{},[1631,1650,1674,1692,1712,1730,1756],{"type":43,"tag":162,"props":1632,"children":1633},{},[1634,1639],{"type":43,"tag":189,"props":1635,"children":1636},{},[1637],{"type":48,"value":1638},"ShortName = \"list\" or \"search\"",{"type":43,"tag":189,"props":1640,"children":1641},{},[1642,1644,1649],{"type":48,"value":1643},"Template can never be created — conflicts with a ",{"type":43,"tag":57,"props":1645,"children":1647},{"className":1646},[],[1648],{"type":48,"value":62},{"type":48,"value":1501},{"type":43,"tag":162,"props":1651,"children":1652},{},[1653,1663],{"type":43,"tag":189,"props":1654,"children":1655},{},[1656,1658],{"type":48,"value":1657},"Missing ",{"type":43,"tag":57,"props":1659,"children":1661},{"className":1660},[],[1662],{"type":48,"value":328},{"type":43,"tag":189,"props":1664,"children":1665},{},[1666,1672],{"type":43,"tag":57,"props":1667,"children":1669},{"className":1668},[],[1670],{"type":48,"value":1671},"--name MyProject",{"type":48,"value":1673}," doesn't rename anything in the generated files",{"type":43,"tag":162,"props":1675,"children":1676},{},[1677,1687],{"type":43,"tag":189,"props":1678,"children":1679},{},[1680,1682],{"type":48,"value":1681},"Choice parameter without ",{"type":43,"tag":57,"props":1683,"children":1685},{"className":1684},[],[1686],{"type":48,"value":810},{"type":43,"tag":189,"props":1688,"children":1689},{},[1690],{"type":48,"value":1691},"Confusing user experience on optional choice params",{"type":43,"tag":162,"props":1693,"children":1694},{},[1695,1707],{"type":43,"tag":189,"props":1696,"children":1697},{},[1698,1700,1705],{"type":48,"value":1699},"Invalid ",{"type":43,"tag":57,"props":1701,"children":1703},{"className":1702},[],[1704],{"type":48,"value":731},{"type":48,"value":1706}," value",{"type":43,"tag":189,"props":1708,"children":1709},{},[1710],{"type":48,"value":1711},"Template engine ignores the symbol, causing silent failures",{"type":43,"tag":162,"props":1713,"children":1714},{},[1715,1725],{"type":43,"tag":189,"props":1716,"children":1717},{},[1718,1720],{"type":48,"value":1719},"Computed symbol without ",{"type":43,"tag":57,"props":1721,"children":1723},{"className":1722},[],[1724],{"type":48,"value":963},{"type":43,"tag":189,"props":1726,"children":1727},{},[1728],{"type":48,"value":1729},"Template engine throws at instantiation time",{"type":43,"tag":162,"props":1731,"children":1732},{},[1733,1751],{"type":43,"tag":189,"props":1734,"children":1735},{},[1736,1738,1743,1745,1750],{"type":48,"value":1737},"Parameter prefix collision (",{"type":43,"tag":57,"props":1739,"children":1741},{"className":1740},[],[1742],{"type":48,"value":1088},{"type":48,"value":1744}," vs ",{"type":43,"tag":57,"props":1746,"children":1748},{"className":1747},[],[1749],{"type":48,"value":1096},{"type":48,"value":418},{"type":43,"tag":189,"props":1752,"children":1753},{},[1754],{"type":48,"value":1755},"Ambiguous expression evaluation",{"type":43,"tag":162,"props":1757,"children":1758},{},[1759,1764],{"type":43,"tag":189,"props":1760,"children":1761},{},[1762],{"type":48,"value":1763},"Source condition without parentheses",{"type":43,"tag":189,"props":1765,"children":1766},{},[1767],{"type":48,"value":1768},"Condition may not evaluate correctly",{"type":43,"tag":74,"props":1770,"children":1772},{"id":1771},"more-info",[1773],{"type":48,"value":1774},"More Info",{"type":43,"tag":81,"props":1776,"children":1777},{},[1778,1792,1804,1816],{"type":43,"tag":85,"props":1779,"children":1780},{},[1781,1790],{"type":43,"tag":1782,"props":1783,"children":1787},"a",{"href":1784,"rel":1785},"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Ftemplating\u002Fwiki\u002FReference-for-template.json",[1786],"nofollow",[1788],{"type":48,"value":1789},"template.json reference",{"type":48,"value":1791}," — full schema",{"type":43,"tag":85,"props":1793,"children":1794},{},[1795,1802],{"type":43,"tag":1782,"props":1796,"children":1799},{"href":1797,"rel":1798},"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Ftemplating\u002Fwiki\u002FAvailable-Symbols-Generators",[1786],[1800],{"type":48,"value":1801},"Available Symbol Generators",{"type":48,"value":1803}," — generator types",{"type":43,"tag":85,"props":1805,"children":1806},{},[1807,1814],{"type":43,"tag":1782,"props":1808,"children":1811},{"href":1809,"rel":1810},"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Ftemplating\u002Fwiki\u002FPost-Action-Registry",[1786],[1812],{"type":48,"value":1813},"Post-action registry",{"type":48,"value":1815}," — action IDs",{"type":43,"tag":85,"props":1817,"children":1818},{},[1819,1826],{"type":43,"tag":1782,"props":1820,"children":1823},{"href":1821,"rel":1822},"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Ftemplating\u002Fwiki\u002FConstraints",[1786],[1824],{"type":48,"value":1825},"Constraints",{"type":48,"value":1827}," — constraint types",{"items":1829,"total":1991},[1830,1846,1861,1876,1894,1906,1926,1936,1947,1957,1970,1981],{"slug":1831,"name":1831,"fn":1832,"description":1833,"org":1834,"tags":1835,"stars":1843,"repoUrl":1844,"updatedAt":1845},"multithreaded-task-migration","migrate MSBuild tasks to multithreaded mode","Guide for migrating MSBuild tasks to multithreaded mode support, including compatibility red-team review. Use this when converting tasks to thread-safe versions, implementing IMultiThreadableTask, adding TaskEnvironment support, or auditing migrations for behavioral compatibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1836,1837,1840],{"name":17,"slug":18,"type":15},{"name":1838,"slug":1839,"type":15},"Engineering","engineering",{"name":1841,"slug":1842,"type":15},"Performance","performance",5535,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmsbuild","2026-07-22T05:37:33.965588",{"slug":1847,"name":1847,"fn":1848,"description":1849,"org":1850,"tags":1851,"stars":25,"repoUrl":26,"updatedAt":1860},"analyzing-dotnet-performance","analyze .NET code for performance anti-patterns","Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I\u002FO with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1852,1853,1856,1859],{"name":17,"slug":18,"type":15},{"name":1854,"slug":1855,"type":15},"Code Analysis","code-analysis",{"name":1857,"slug":1858,"type":15},"Debugging","debugging",{"name":1841,"slug":1842,"type":15},"2026-07-12T08:23:25.400375",{"slug":1862,"name":1862,"fn":1863,"description":1864,"org":1865,"tags":1866,"stars":25,"repoUrl":26,"updatedAt":1875},"android-tombstone-symbolication","symbolicate .NET runtime frames in Android tombstones","Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so or libcoreclr.so to .NET runtime source code, or investigating SIGABRT, SIGSEGV, or other native signals originating from the .NET runtime on Android. DO NOT USE FOR pure Java\u002FKotlin crashes, managed .NET exceptions that are already captured in logcat, or iOS crash logs. INVOKES Symbolicate-Tombstone.ps1 script, llvm-symbolizer, Microsoft symbol server.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1867,1868,1871,1872],{"name":17,"slug":18,"type":15},{"name":1869,"slug":1870,"type":15},"Android","android",{"name":1857,"slug":1858,"type":15},{"name":1873,"slug":1874,"type":15},"Microsoft","microsoft","2026-07-12T08:23:21.595572",{"slug":1877,"name":1877,"fn":1878,"description":1879,"org":1880,"tags":1881,"stars":25,"repoUrl":26,"updatedAt":1893},"apple-crash-symbolication","symbolicate .NET runtime frames in crash logs","Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone, or investigating EXC_CRASH, EXC_BAD_ACCESS, SIGABRT, or SIGSEGV originating from the .NET runtime. DO NOT USE FOR pure Swift\u002FObjective-C crashes with no .NET components, or Android tombstone files. INVOKES Symbolicate-Crash.ps1 script, atos, dwarfdump, idevicecrashreport.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1882,1883,1884,1887,1890],{"name":17,"slug":18,"type":15},{"name":1857,"slug":1858,"type":15},{"name":1885,"slug":1886,"type":15},"iOS","ios",{"name":1888,"slug":1889,"type":15},"macOS","macos",{"name":1891,"slug":1892,"type":15},"Observability","observability","2026-07-12T08:23:20.369986",{"slug":1895,"name":1895,"fn":1896,"description":1897,"org":1898,"tags":1899,"stars":25,"repoUrl":26,"updatedAt":1905},"assertion-quality","evaluate assertion quality in test suites","Analyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow tests, identify assertion-free tests (no assertions or only trivial ones like Assert.IsNotNull \u002F toBeTruthy()), flag self-referential or tautological assertions, measure assertion diversity, or audit whether tests verify different facets of behavior. Polyglot: .NET, Python, TS\u002FJS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. DO NOT USE FOR: writing new tests (use code-testing-agent \u002F writing-mstest-tests), mutation reasoning about whether tests would catch a bug (use test-gap-analysis), or a general severity-ranked anti-pattern audit (use test-anti-patterns), fixing or rewriting assertions, or writing, fixing, or modernizing MSTest tests, assertions, or attributes (use writing-mstest-tests).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1900,1901,1902],{"name":1854,"slug":1855,"type":15},{"name":20,"slug":21,"type":15},{"name":1903,"slug":1904,"type":15},"Testing","testing","2026-07-12T08:23:51.277743",{"slug":1907,"name":1907,"fn":1908,"description":1909,"org":1910,"tags":1911,"stars":25,"repoUrl":26,"updatedAt":1925},"author-component","create and review Blazor components","Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable, CancellationToken, CSS isolation, code-behind. DO NOT USE FOR: creating new projects (use create-blazor-project), JavaScript interop or calling browser APIs from Blazor (use use-js-interop), forms and validation (use collect-user-input), prerendering issues (use support-prerendering), HTTP data fetching patterns (use fetch-and-send-data), coordinating state between unrelated components (use coordinate-components).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1912,1913,1916,1919,1922],{"name":17,"slug":18,"type":15},{"name":1914,"slug":1915,"type":15},"Blazor","blazor",{"name":1917,"slug":1918,"type":15},"C#","csharp",{"name":1920,"slug":1921,"type":15},"UI Components","ui-components",{"name":1923,"slug":1924,"type":15},"Web Development","web-development","2026-07-15T06:03:29.216359",{"slug":1927,"name":1927,"fn":1928,"description":1929,"org":1930,"tags":1931,"stars":25,"repoUrl":26,"updatedAt":1935},"binlog-failure-analysis","analyze MSBuild binary logs","Analyze MSBuild binary logs to diagnose build failures. USE FOR: build errors that are unclear from console output, diagnosing cascading failures across multi-project builds, tracing MSBuild target execution order, and generally any MSBuild build issues. Requires an existing .binlog file. DO NOT USE FOR: generating binlogs (use binlog-generation), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1932,1933,1934],{"name":1854,"slug":1855,"type":15},{"name":1857,"slug":1858,"type":15},{"name":1873,"slug":1874,"type":15},"2026-07-12T08:21:34.637923",{"slug":1937,"name":1937,"fn":1938,"description":1939,"org":1940,"tags":1941,"stars":25,"repoUrl":26,"updatedAt":1946},"binlog-generation","generate MSBuild binary logs for diagnostics","Generate MSBuild binary logs (binlogs) for build diagnostics and analysis. USE FOR: adding \u002Fbl:{} to any dotnet build, test, pack, publish, or restore command to capture a full build execution trace, prerequisite for binlog-failure-analysis and build-perf-diagnostics skills, enabling post-build investigation of errors or performance. Requires MSBuild 17.8+ \u002F .NET 8 SDK+ for {} placeholder; PowerShell needs -bl:{{}}. DO NOT USE FOR: non-MSBuild build systems (npm, Maven, CMake), analyzing an existing binlog (use binlog-failure-analysis instead).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1942,1944,1945],{"name":1943,"slug":605,"type":15},"Build",{"name":1857,"slug":1858,"type":15},{"name":1838,"slug":1839,"type":15},"2026-07-19T05:38:19.340791",{"slug":1948,"name":1948,"fn":1949,"description":1950,"org":1951,"tags":1952,"stars":25,"repoUrl":26,"updatedAt":1956},"build-parallelism","optimize MSBuild build parallelism","Diagnose and fix under-parallelized MSBuild builds. USE WHEN a multi-project solution build is slower than expected, doesn't speed up when you add cores, pegs a single core while others idle, or you want to know why `-m` isn't helping. Note: `\u002Fmaxcpucount` default is 1 (sequential) — always pass `-m` for parallel builds. Covers finding the critical path (longest serial ProjectReference chain), graph build (`\u002Fgraph`), BuildInParallel, and solution filters (`.slnf`). DO NOT USE FOR: single-project builds, incremental issues (use incremental-build), compilation slowness inside one project (use build-perf-diagnostics), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1953,1954,1955],{"name":17,"slug":18,"type":15},{"name":1838,"slug":1839,"type":15},{"name":1841,"slug":1842,"type":15},"2026-07-19T05:38:18.364937",{"slug":1958,"name":1958,"fn":1959,"description":1960,"org":1961,"tags":1962,"stars":25,"repoUrl":26,"updatedAt":1969},"build-perf-baseline","establish and optimize build performance baselines","Establish build performance baselines and apply systematic optimization techniques. USE FOR: diagnosing slow builds, establishing before\u002Fafter measurements (cold, warm, no-op scenarios), applying optimization strategies like MSBuild Server, static graph builds, artifacts output, and dependency graph trimming. Start here before diving into build-perf-diagnostics, incremental-build, or build-parallelism. DO NOT USE FOR: non-MSBuild build systems, detailed bottleneck analysis (use build-perf-diagnostics after baselining).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1963,1964,1967,1968],{"name":1838,"slug":1839,"type":15},{"name":1965,"slug":1966,"type":15},"Monitoring","monitoring",{"name":1841,"slug":1842,"type":15},{"name":1903,"slug":1904,"type":15},"2026-07-12T08:21:35.865649",{"slug":1971,"name":1971,"fn":1972,"description":1973,"org":1974,"tags":1975,"stars":25,"repoUrl":26,"updatedAt":1980},"build-perf-diagnostics","diagnose MSBuild build performance bottlenecks","Diagnose MSBuild build performance bottlenecks using binary log analysis. USE FOR: identifying why builds are slow by analyzing binlog performance summaries, detecting ResolveAssemblyReference (RAR) taking >5s, Roslyn analyzers consuming >30% of Csc time, single targets dominating >50% of build time, node utilization below 80%, excessive Copy tasks, NuGet restore running every build. Covers timeline analysis, Target\u002FTask Performance Summary interpretation, and 7 common bottleneck categories. Use after build-perf-baseline has established measurements. DO NOT USE FOR: establishing initial baselines (use build-perf-baseline first), fixing incremental build issues (use incremental-build), parallelism tuning (use build-parallelism), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1976,1977,1978,1979],{"name":17,"slug":18,"type":15},{"name":1857,"slug":1858,"type":15},{"name":1838,"slug":1839,"type":15},{"name":1841,"slug":1842,"type":15},"2026-07-12T08:21:40.961722",{"slug":1982,"name":1982,"fn":1983,"description":1984,"org":1985,"tags":1986,"stars":25,"repoUrl":26,"updatedAt":1990},"check-bin-obj-clash","detect MSBuild output path conflicts","Detects MSBuild projects with conflicting OutputPath or IntermediateOutputPath. USE FOR: builds failing with 'Cannot create a file when that file already exists', 'The process cannot access the file because it is being used by another process', intermittent build failures that succeed on retry, or missing\u002Foverwritten outputs in multi-project or multi-targeting builds where bin\u002Fobj (or project.assets.json) collide. Common causes: shared OutputPath, missing AppendTargetFrameworkToOutputPath, extra global properties (e.g. PublishReadyToRun), or SetTargetFramework on a ProjectReference to a single-targeting project. DO NOT USE FOR: file access errors unrelated to MSBuild (OS-level locking), single-project single-TFM builds, non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1987,1988,1989],{"name":1857,"slug":1858,"type":15},{"name":1838,"slug":1839,"type":15},{"name":20,"slug":21,"type":15},"2026-07-19T05:38:14.336279",144,{"items":1993,"total":2042},[1994,2001,2008,2016,2022,2030,2036],{"slug":1847,"name":1847,"fn":1848,"description":1849,"org":1995,"tags":1996,"stars":25,"repoUrl":26,"updatedAt":1860},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1997,1998,1999,2000],{"name":17,"slug":18,"type":15},{"name":1854,"slug":1855,"type":15},{"name":1857,"slug":1858,"type":15},{"name":1841,"slug":1842,"type":15},{"slug":1862,"name":1862,"fn":1863,"description":1864,"org":2002,"tags":2003,"stars":25,"repoUrl":26,"updatedAt":1875},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2004,2005,2006,2007],{"name":17,"slug":18,"type":15},{"name":1869,"slug":1870,"type":15},{"name":1857,"slug":1858,"type":15},{"name":1873,"slug":1874,"type":15},{"slug":1877,"name":1877,"fn":1878,"description":1879,"org":2009,"tags":2010,"stars":25,"repoUrl":26,"updatedAt":1893},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2011,2012,2013,2014,2015],{"name":17,"slug":18,"type":15},{"name":1857,"slug":1858,"type":15},{"name":1885,"slug":1886,"type":15},{"name":1888,"slug":1889,"type":15},{"name":1891,"slug":1892,"type":15},{"slug":1895,"name":1895,"fn":1896,"description":1897,"org":2017,"tags":2018,"stars":25,"repoUrl":26,"updatedAt":1905},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2019,2020,2021],{"name":1854,"slug":1855,"type":15},{"name":20,"slug":21,"type":15},{"name":1903,"slug":1904,"type":15},{"slug":1907,"name":1907,"fn":1908,"description":1909,"org":2023,"tags":2024,"stars":25,"repoUrl":26,"updatedAt":1925},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2025,2026,2027,2028,2029],{"name":17,"slug":18,"type":15},{"name":1914,"slug":1915,"type":15},{"name":1917,"slug":1918,"type":15},{"name":1920,"slug":1921,"type":15},{"name":1923,"slug":1924,"type":15},{"slug":1927,"name":1927,"fn":1928,"description":1929,"org":2031,"tags":2032,"stars":25,"repoUrl":26,"updatedAt":1935},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2033,2034,2035],{"name":1854,"slug":1855,"type":15},{"name":1857,"slug":1858,"type":15},{"name":1873,"slug":1874,"type":15},{"slug":1937,"name":1937,"fn":1938,"description":1939,"org":2037,"tags":2038,"stars":25,"repoUrl":26,"updatedAt":1946},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2039,2040,2041],{"name":1943,"slug":605,"type":15},{"name":1857,"slug":1858,"type":15},{"name":1838,"slug":1839,"type":15},96]