[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D0SAS4MY51WBB344DDPGHB":3,"skill-same:01M7D0SAS4MY51WBB344DDPGHB":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7D0SAS4MY51WBB344DDPGHB","template-instantiation",null,"Creates .NET projects from templates with validated parameters, smart defaults, Central Package Management adaptation, and latest NuGet version resolution. USE FOR: creating new dotnet projects, scaffolding solutions with multiple projects, installing or uninstalling template packages, creating projects that respect Directory.Packages.props (CPM), composing multi-project solutions (API + tests + library), getting latest NuGet package versions in newly created projects. DO NOT USE FOR: finding templates (use template-discovery), producing a detailed side-by-side comparison of templates (use template-comparison), authoring custom templates (use template-authoring), deciding cross-parameter defaults such as which framework to pair with native AOT or whether to keep HTTPS when auth is enabled (use template-smart-defaults), modifying existing projects or adding NuGet packages to existing projects.","itsmejay18\u002FAI-Skills-for-My-Development-Stack","itsmejay18","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F167779943?v=4","01M7CZRFC6DDZA5V2CX8WDSZED","Jay Jemino Ababon ","01M7CZRFCVRNW1SFHSQXEJ3CQN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Ftemplate-instantiation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: template-instantiation\ndescription: >\n  Creates .NET projects from templates with validated parameters, smart defaults,\n  Central Package Management adaptation, and latest NuGet version resolution.\n  USE FOR: creating new dotnet projects, scaffolding solutions with multiple projects,\n  installing or uninstalling template packages, creating projects that respect\n  Directory.Packages.props (CPM), composing multi-project solutions (API + tests + library),\n  getting latest NuGet package versions in newly created projects.\n  DO NOT USE FOR: finding templates (use template-discovery), producing a detailed\n  side-by-side comparison of templates (use template-comparison), authoring custom\n  templates (use template-authoring), deciding\n  cross-parameter defaults such as which framework to pair with native AOT or whether to\n  keep HTTPS when auth is enabled (use template-smart-defaults), modifying existing\n  projects or adding NuGet packages to existing projects.\nlicense: MIT\n---\n\n# Template Instantiation\n\nThis skill creates .NET projects from templates using `dotnet new` CLI commands, with guidance for parameter validation, Central Package Management adaptation, and multi-project composition.\n\n> **Match the workspace, then stop.** The highest-value move is aligning the new project with the repo it lands in: detect **CPM** (`Directory.Packages.props`) and the **target framework** used by neighbouring `.csproj` files, and mirror both. **Treat the discovered target framework as an explicit choice** — pass it as `--framework` so `template-smart-defaults` won't override it; deviate only when it's incompatible with a requested feature (then flag the conflict). Do this in as few steps as possible — a `--dry-run`, the create, and one `dotnet build` to confirm is usually enough. Extra exploratory turns add cost without improving the result.\n\n> **Perform the requested creation.** Do not return only a plan or statement of intent.\n> Run state-dependent commands sequentially: inspect, dry-run, create, then build. Never\n> launch create and build in parallel; a build-before-create race produces a false failure.\n\n| Situation | Required action |\n|-----------|-----------------|\n| Simple standalone project | inspect only the requested template, create at the exact path, then build |\n| Existing neighboring projects | read their TFMs first and pass the matching supported `--framework` explicitly |\n| `Directory.Packages.props` found | create with `--no-restore` when supported, normalize generated package references, then restore\u002Fbuild once |\n| Multi-project solution | create each project at its final path, add references, add all projects to the solution, then build the solution once |\n| User explicitly requests `.sln` | inspect `dotnet new sln --help`; pass `--format sln` when supported, otherwise use the older SDK's default `.sln` output |\n\nDo not predict the generated target framework. If the user and workspace do not supply one,\ninspect `dotnet new \u003Ctemplate> --help`, choose a supported value (normally its documented\ndefault), pass it explicitly, then confirm the generated `.csproj`. Never announce an\nintermediate framework guess that was not grounded in the template's current choices.\n\n## When to Use\n\n- User asks to create a new .NET project, app, or service\n- User needs a solution with multiple projects (API + tests + library)\n- User wants to create a project that respects existing `Directory.Packages.props`\n- User needs to install or manage template packages\n\n## When Not to Use\n\n- User is searching for templates — route to `template-discovery` skill; for a detailed side-by-side comparison — route to `template-comparison` skill\n- User wants to author a custom template — route to `template-authoring` skill\n- User wants to add packages to an existing project — use `dotnet add package` directly\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Template name or intent | Yes | Template short name (e.g., `webapi`) or natural-language description |\n| Project name | Yes | Name for the created project |\n| Output path | Recommended | Directory where the project should be created |\n| Parameters | No | Template-specific parameters (e.g., `--framework`, `--auth`, `--aot`) |\n\n## Workflow\n\n### Step 1: Resolve template and parameters\n\nIf the user provides a natural-language description, map it to a template short name (see the keyword table in the `template-discovery` skill). If they provide a template name, proceed directly.\n\nUse `dotnet new \u003Ctemplate> --help` to review available parameters, defaults, and types for any parameters the user did not specify.\n\nWhen a parameter the user chose implies a value for an unset *related* parameter, **invoke the `template-smart-defaults` skill** to resolve the gap before assembling the command line — e.g., native AOT implies a recent AOT-capable target framework, a non-`None` `--auth` choice means HTTPS must stay enabled (don't add `--no-https`), and `--use-controllers` excludes the minimal-API option. Smart defaults only fill gaps; never let them override a value the user set explicitly. The workspace framework discovered in Step 2 counts as such an explicit value — pass it to smart-defaults as the chosen `--framework` so it isn't treated as an unset gap; deviate only if it is incompatible with the requested feature\u002Ftemplate (then surface the conflict to the user).\n\n### Step 2: Analyze the workspace\n\nCheck the existing solution structure before creating:\n- Is Central Package Management (CPM) enabled? Look for `Directory.Packages.props`\n- What target frameworks are in use? Check existing `.csproj` files\n- Is there a `global.json` pinning the SDK?\n\nThis ensures the new project is consistent with the workspace.\n\n### Step 3: Preview the creation\n\nUse `dotnet new \u003Ctemplate> --dry-run` to show the user what files would be created. Confirm before proceeding.\n\n```bash\ndotnet new webapi --name MyApi --framework net10.0 --dry-run\n```\n\n### Step 4: Create the project\n\nUse `dotnet new` with the template name and all parameters:\n\n```bash\ndotnet new webapi --name MyApi --output .\u002Fsrc\u002FMyApi --framework net10.0 --auth Individual\n```\n\nBefore running it, emit one compact decision line:\n\n`Creating \u003Ctemplate> at \u003Cpath>; framework=\u003Cvalue> (\u003Cuser|workspace|template>); CPM=\u003Con|off>.`\n\nThis makes workspace adaptations explicit without adding a long report.\n\n#### Common parameter combinations\n\n| Template | Parameters | Example |\n|----------|-----------|---------|\n| `webapi` | `--auth` (None, Individual, SingleOrg, Windows), `--aot` (native AOT) | `dotnet new webapi -n MyApi --auth Individual --aot` |\n| `webapi` | `--use-controllers` (use controllers vs minimal APIs) | `dotnet new webapi -n MyApi --use-controllers` |\n| `blazor` | `--interactivity` (None, Server, WebAssembly, Auto), `--auth` | `dotnet new blazor -n MyApp --interactivity Server` |\n| `grpc` | `--aot` (native AOT) | `dotnet new grpc -n MyService --aot` |\n| `worker` | `--aot` (native AOT) | `dotnet new worker -n MyWorker --aot` |\n\nNote: Use `dotnet new \u003Ctemplate> --help` to see all available parameters for any template.\n\nAfter creation, adapt the project to Central Package Management and refresh stale versions:\n\n1. **Detect CPM before creation** — walk up from the destination looking for `Directory.Packages.props`.\n2. **Avoid a doomed automatic restore** — when CPM is active and the template exposes\n   `--no-restore`, pass it during creation so package centralization happens first.\n3. **Strip inline versions** — for each generated `\u003CPackageReference Include=\"X\" Version=\"Y\" \u002F>`, remove the `Version` attribute (leaving `\u003CPackageReference Include=\"X\" \u002F>`).\n4. **Centralize the version** — add or merge a `\u003CPackageVersion Include=\"X\" Version=\"Y\" \u002F>` entry in `Directory.Packages.props`; preserve unrelated existing entries.\n5. **Optionally refresh stale template-default versions** — templates often hardcode old versions. Keep the template's versions by default (safest for reproducibility and controlled upgrades). Only refresh when the user asks, and when you do:\n   - Prefer a tooling-driven flow: run `dotnet list package --outdated` and confirm the proposed bumps with the user before changing anything.\n   - Constrain upgrades to the same **major** (or major\u002Fminor) version unless the user explicitly opts into larger upgrades, since cross-major bumps can introduce breaking changes.\n   - When checking the latest **stable** version of a package conceptually, the NuGet V3 flat-container `index.json` endpoint for that package ID lists published versions; never select a prerelease unless requested.\n6. **Build** — run `dotnet build` once to restore and confirm the centralized\u002Frefreshed versions resolve.\n\n### Step 5: Multi-project composition (optional)\n\nFor complex structures, create each project sequentially and wire them together:\n\n```bash\ndotnet new webapi --name MyApi --output .\u002Fsrc\u002FMyApi\ndotnet new xunit --name MyApi.Tests --output .\u002Ftests\u002FMyApi.Tests\ndotnet add .\u002Ftests\u002FMyApi.Tests reference .\u002Fsrc\u002FMyApi\ndotnet sln add .\u002Fsrc\u002FMyApi .\u002Ftests\u002FMyApi.Tests\n```\n\n### Step 6: Template package management\n\nInstall or uninstall template packages:\n\n```bash\ndotnet new install Microsoft.DotNet.Web.ProjectTemplates.10.0\ndotnet new uninstall Microsoft.DotNet.Web.ProjectTemplates.10.0\n```\n\n### Step 7: Post-creation verification\n\n1. Verify the project builds: `dotnet build`\n2. For a runnable template such as `console`, run the generated app when the request is\n   simple and no external service is required; report the observed output rather than only\n   build success.\n3. If added to a solution, verify `dotnet build` at the solution level\n4. If CPM was adapted, verify `Directory.Packages.props` has the new entries\n\n## Validation\n\n- [ ] Project was created successfully with the expected files\n- [ ] Project builds cleanly with `dotnet build`\n- [ ] If CPM is active, `.csproj` has no version attributes and `Directory.Packages.props` has matching entries\n- [ ] Package versions in the project are current (not stale template defaults)\n- [ ] If multi-project, all projects build and reference each other correctly\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Not checking for CPM before creating a project | If `Directory.Packages.props` exists, `dotnet new` creates projects with inline versions that conflict. After creation, move versions to `Directory.Packages.props` and remove them from `.csproj`. |\n| Letting template restore fail before adapting CPM | Detect CPM first and use the template's `--no-restore` option when available; centralize versions before the first restore\u002Fbuild. |\n| Creating projects without specifying the framework | Always specify `--framework` when the template supports multiple TFMs to avoid defaulting to an older version. |\n| Not adding the project to the solution | After creation, run `dotnet sln add` to include the project in the solution. |\n| Not verifying the project builds | Always run `dotnet build` after creation to catch missing dependencies or parameter issues early. |\n\n## More Info\n\n- [Central Package Management](https:\u002F\u002Flearn.microsoft.com\u002Fnuget\u002Fconsume-packages\u002Fcentral-package-management) — CPM documentation\n- [dotnet new](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcore\u002Ftools\u002Fdotnet-new) — CLI reference\n","# Template Instantiation\n\nThis skill creates .NET projects from templates using `dotnet new` CLI commands, with guidance for parameter validation, Central Package Management adaptation, and multi-project composition.\n\n> **Match the workspace, then stop.** The highest-value move is aligning the new project with the repo it lands in: detect **CPM** (`Directory.Packages.props`) and the **target framework** used by neighbouring `.csproj` files, and mirror both. **Treat the discovered target framework as an explicit choice** — pass it as `--framework` so `template-smart-defaults` won't override it; deviate only when it's incompatible with a requested feature (then flag the conflict). Do this in as few steps as possible — a `--dry-run`, the create, and one `dotnet build` to confirm is usually enough. Extra exploratory turns add cost without improving the result.\n\n> **Perform the requested creation.** Do not return only a plan or statement of intent.\n> Run state-dependent commands sequentially: inspect, dry-run, create, then build. Never\n> launch create and build in parallel; a build-before-create race produces a false failure.\n\n| Situation | Required action |\n|-----------|-----------------|\n| Simple standalone project | inspect only the requested template, create at the exact path, then build |\n| Existing neighboring projects | read their TFMs first and pass the matching supported `--framework` explicitly |\n| `Directory.Packages.props` found | create with `--no-restore` when supported, normalize generated package references, then restore\u002Fbuild once |\n| Multi-project solution | create each project at its final path, add references, add all projects to the solution, then build the solution once |\n| User explicitly requests `.sln` | inspect `dotnet new sln --help`; pass `--format sln` when supported, otherwise use the older SDK's default `.sln` output |\n\nDo not predict the generated target framework. If the user and workspace do not supply one,\ninspect `dotnet new \u003Ctemplate> --help`, choose a supported value (normally its documented\ndefault), pass it explicitly, then confirm the generated `.csproj`. Never announce an\nintermediate framework guess that was not grounded in the template's current choices.\n\n## When to Use\n\n- User asks to create a new .NET project, app, or service\n- User needs a solution with multiple projects (API + tests + library)\n- User wants to create a project that respects existing `Directory.Packages.props`\n- User needs to install or manage template packages\n\n## When Not to Use\n\n- User is searching for templates — route to `template-discovery` skill; for a detailed side-by-side comparison — route to `template-comparison` skill\n- User wants to author a custom template — route to `template-authoring` skill\n- User wants to add packages to an existing project — use `dotnet add package` directly\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Template name or intent | Yes | Template short name (e.g., `webapi`) or natural-language description |\n| Project name | Yes | Name for the created project |\n| Output path | Recommended | Directory where the project should be created |\n| Parameters | No | Template-specific parameters (e.g., `--framework`, `--auth`, `--aot`) |\n\n## Workflow\n\n### Step 1: Resolve template and parameters\n\nIf the user provides a natural-language description, map it to a template short name (see the keyword table in the `template-discovery` skill). If they provide a template name, proceed directly.\n\nUse `dotnet new \u003Ctemplate> --help` to review available parameters, defaults, and types for any parameters the user did not specify.\n\nWhen a parameter the user chose implies a value for an unset *related* parameter, **invoke the `template-smart-defaults` skill** to resolve the gap before assembling the command line — e.g., native AOT implies a recent AOT-capable target framework, a non-`None` `--auth` choice means HTTPS must stay enabled (don't add `--no-https`), and `--use-controllers` excludes the minimal-API option. Smart defaults only fill gaps; never let them override a value the user set explicitly. The workspace framework discovered in Step 2 counts as such an explicit value — pass it to smart-defaults as the chosen `--framework` so it isn't treated as an unset gap; deviate only if it is incompatible with the requested feature\u002Ftemplate (then surface the conflict to the user).\n\n### Step 2: Analyze the workspace\n\nCheck the existing solution structure before creating:\n- Is Central Package Management (CPM) enabled? Look for `Directory.Packages.props`\n- What target frameworks are in use? Check existing `.csproj` files\n- Is there a `global.json` pinning the SDK?\n\nThis ensures the new project is consistent with the workspace.\n\n### Step 3: Preview the creation\n\nUse `dotnet new \u003Ctemplate> --dry-run` to show the user what files would be created. Confirm before proceeding.\n\n```bash\ndotnet new webapi --name MyApi --framework net10.0 --dry-run\n```\n\n### Step 4: Create the project\n\nUse `dotnet new` with the template name and all parameters:\n\n```bash\ndotnet new webapi --name MyApi --output .\u002Fsrc\u002FMyApi --framework net10.0 --auth Individual\n```\n\nBefore running it, emit one compact decision line:\n\n`Creating \u003Ctemplate> at \u003Cpath>; framework=\u003Cvalue> (\u003Cuser|workspace|template>); CPM=\u003Con|off>.`\n\nThis makes workspace adaptations explicit without adding a long report.\n\n#### Common parameter combinations\n\n| Template | Parameters | Example |\n|----------|-----------|---------|\n| `webapi` | `--auth` (None, Individual, SingleOrg, Windows), `--aot` (native AOT) | `dotnet new webapi -n MyApi --auth Individual --aot` |\n| `webapi` | `--use-controllers` (use controllers vs minimal APIs) | `dotnet new webapi -n MyApi --use-controllers` |\n| `blazor` | `--interactivity` (None, Server, WebAssembly, Auto), `--auth` | `dotnet new blazor -n MyApp --interactivity Server` |\n| `grpc` | `--aot` (native AOT) | `dotnet new grpc -n MyService --aot` |\n| `worker` | `--aot` (native AOT) | `dotnet new worker -n MyWorker --aot` |\n\nNote: Use `dotnet new \u003Ctemplate> --help` to see all available parameters for any template.\n\nAfter creation, adapt the project to Central Package Management and refresh stale versions:\n\n1. **Detect CPM before creation** — walk up from the destination looking for `Directory.Packages.props`.\n2. **Avoid a doomed automatic restore** — when CPM is active and the template exposes\n   `--no-restore`, pass it during creation so package centralization happens first.\n3. **Strip inline versions** — for each generated `\u003CPackageReference Include=\"X\" Version=\"Y\" \u002F>`, remove the `Version` attribute (leaving `\u003CPackageReference Include=\"X\" \u002F>`).\n4. **Centralize the version** — add or merge a `\u003CPackageVersion Include=\"X\" Version=\"Y\" \u002F>` entry in `Directory.Packages.props`; preserve unrelated existing entries.\n5. **Optionally refresh stale template-default versions** — templates often hardcode old versions. Keep the template's versions by default (safest for reproducibility and controlled upgrades). Only refresh when the user asks, and when you do:\n   - Prefer a tooling-driven flow: run `dotnet list package --outdated` and confirm the proposed bumps with the user before changing anything.\n   - Constrain upgrades to the same **major** (or major\u002Fminor) version unless the user explicitly opts into larger upgrades, since cross-major bumps can introduce breaking changes.\n   - When checking the latest **stable** version of a package conceptually, the NuGet V3 flat-container `index.json` endpoint for that package ID lists published versions; never select a prerelease unless requested.\n6. **Build** — run `dotnet build` once to restore and confirm the centralized\u002Frefreshed versions resolve.\n\n### Step 5: Multi-project composition (optional)\n\nFor complex structures, create each project sequentially and wire them together:\n\n```bash\ndotnet new webapi --name MyApi --output .\u002Fsrc\u002FMyApi\ndotnet new xunit --name MyApi.Tests --output .\u002Ftests\u002FMyApi.Tests\ndotnet add .\u002Ftests\u002FMyApi.Tests reference .\u002Fsrc\u002FMyApi\ndotnet sln add .\u002Fsrc\u002FMyApi .\u002Ftests\u002FMyApi.Tests\n```\n\n### Step 6: Template package management\n\nInstall or uninstall template packages:\n\n```bash\ndotnet new install Microsoft.DotNet.Web.ProjectTemplates.10.0\ndotnet new uninstall Microsoft.DotNet.Web.ProjectTemplates.10.0\n```\n\n### Step 7: Post-creation verification\n\n1. Verify the project builds: `dotnet build`\n2. For a runnable template such as `console`, run the generated app when the request is\n   simple and no external service is required; report the observed output rather than only\n   build success.\n3. If added to a solution, verify `dotnet build` at the solution level\n4. If CPM was adapted, verify `Directory.Packages.props` has the new entries\n\n## Validation\n\n- [ ] Project was created successfully with the expected files\n- [ ] Project builds cleanly with `dotnet build`\n- [ ] If CPM is active, `.csproj` has no version attributes and `Directory.Packages.props` has matching entries\n- [ ] Package versions in the project are current (not stale template defaults)\n- [ ] If multi-project, all projects build and reference each other correctly\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Not checking for CPM before creating a project | If `Directory.Packages.props` exists, `dotnet new` creates projects with inline versions that conflict. After creation, move versions to `Directory.Packages.props` and remove them from `.csproj`. |\n| Letting template restore fail before adapting CPM | Detect CPM first and use the template's `--no-restore` option when available; centralize versions before the first restore\u002Fbuild. |\n| Creating projects without specifying the framework | Always specify `--framework` when the template supports multiple TFMs to avoid defaulting to an older version. |\n| Not adding the project to the solution | After creation, run `dotnet sln add` to include the project in the solution. |\n| Not verifying the project builds | Always run `dotnet build` after creation to catch missing dependencies or parameter issues early. |\n\n## More Info\n\n- [Central Package Management](https:\u002F\u002Flearn.microsoft.com\u002Fnuget\u002Fconsume-packages\u002Fcentral-package-management) — CPM documentation\n- [dotnet new](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcore\u002Ftools\u002Fdotnet-new) — CLI reference\n",{"name":5,"license":15,"description":24},"Creates .NET projects from templates with validated parameters, smart defaults, Central Package Management adaptation, and latest NuGet version resolution. USE FOR: creating new dotnet projects, scaffolding solutions with multiple projects, installing or uninstalling template packages, creating projects that respect Directory.Packages.props (CPM), composing multi-project solutions (API + tests + library), getting latest NuGet package versions in newly created projects. DO NOT USE FOR: finding templates (use template-discovery), producing a detailed side-by-side comparison of templates (use template-comparison), authoring custom templates (use template-authoring), deciding cross-parameter defaults such as which framework to pair with native AOT or whether to keep HTTPS when auth is enabled (use template-smart-defaults), modifying existing projects or adding NuGet packages to existing projects.\n","main","30954af1dcd1a74b63f05deb2e2c41e5ecae4a82","02-CSharp-WPF-Desktop-Development\u002Ftemplate-instantiation","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack","https:\u002F\u002Fgithub.com\u002Fitsmejay18","2026-09-18 16:06:36",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill template-instantiation",{"tool":37,"command":38},"bunx","bunx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill template-instantiation",{"tool":40,"command":41},"pnpm","pnpm dlx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill template-instantiation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Ftemplate-instantiation\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7D2RKBHPZ3E1RNN5DWHT550","vectorization","Design, implement, optimize, and review SIMD code in .NET. USE FOR: vectorizing scalar loops with TensorPrimitives, Vector64\u002F128\u002F256\u002F512, or platform hardware intrinsics; reviewing existing SIMD code, including Vector\u003CT>, for contract equivalence, tail handling, memory safety, portability, fallbacks, and measured performance. DO NOT USE FOR: performance work unrelated to SIMD or vectorization.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fvectorization\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7D2RDJ7RN3QK8GJR0QTER1D","resolve-project-references","Guide for interpreting ResolveProjectReferences time in MSBuild performance summaries. Activate when ResolveProjectReferences appears as the most expensive target and developers are trying to optimize it directly. Explains that the reported time includes wait time for dependent project builds and is misleading. Guides users to focus on task self-time instead. Do not activate for general build performance -- use build-perf-diagnostics instead.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fresolve-project-references\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7D2R1H2GTNZYHG9YRX3JDQW","optimizing-ef-core-queries","Optimize and improve the performance of slow Entity Framework Core (EF Core) queries: make them generate less SQL, make fewer database round-trips, and return results faster. Use whenever an EF Core or DbContext query or data-access path is slow or should be made faster — whether or not EF Core owns the database schema. For EF Core, not Dapper or raw ADO.NET.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Foptimizing-ef-core-queries\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7D2QREG04W1YT0NEBHEW5C9","microbenchmarking","Activate this skill when BenchmarkDotNet (BDN) is involved in the task — creating, running, configuring, or reviewing BDN benchmarks. Also activate when microbenchmarking .NET code would be useful and BenchmarkDotNet is the likely tool. Consider activating when answering a .NET performance question requires measurement and BenchmarkDotNet may be needed. Covers microbenchmark design, BDN configuration and project setup, how to run BDN microbenchmarks efficiently and effectively, and using BDN for side-by-side performance comparisons. Do NOT use for profiling\u002Ftracing .NET code (dotnet-trace, PerfView), production telemetry, or load\u002Fstress testing (Crank, k6).","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fmicrobenchmarking\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D2QGE175XWPZVACVH2868Z","incremental-build","Guide for optimizing MSBuild incremental builds. USE FOR: builds slower than expected on subsequent runs, 'nothing changed but it rebuilds anyway', diagnosing why targets re-execute unnecessarily, fixing broken no-op builds. Covers 8 common causes: missing Inputs\u002FOutputs on custom targets, volatile properties in output paths (timestamps\u002FGUIDs), file writes outside tracked Outputs, missing FileWrites registration, glob changes, Visual Studio Fast Up-to-Date Check (FUTDC) issues. Key diagnostic: look for 'Building target completely' vs 'Skipping target' in binlog. DO NOT USE FOR: first-time build slowness (use build-perf-baseline), parallelism issues (use build-parallelism), evaluation-phase slowness (use eval-performance), non-MSBuild build systems.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fincremental-build\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7D2Q1DQTC6K49R73WQTTPSB","eval-performance","Guide for diagnosing and improving MSBuild project evaluation performance. USE FOR: builds slow before any compilation starts, high evaluation time in binlog analysis, expensive glob patterns walking large directories (node_modules, .git, bin\u002Fobj), deep import chains (>20 levels), preprocessed output >10K lines indicating heavy evaluation, property functions with file I\u002FO ($([System.IO.File]::ReadAllText(...))), multiple evaluations per project. Covers the 5 MSBuild evaluation phases, glob optimization via DefaultItemExcludes, import chain analysis with \u002Fpp preprocessing. DO NOT USE FOR: compilation-time slowness (use build-perf-diagnostics), incremental build issues (use incremental-build), non-MSBuild build systems.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Feval-performance\u002FSKILL.md",[],[]]