[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D2CZ6CZHVJDHYPAEVDDGJB":3,"skill-same:01M7D2CZ6CZHVJDHYPAEVDDGJB":55},{"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},"01M7D2CZ6CZHVJDHYPAEVDDGJB","nuget-trusted-publishing",null,"Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens. USE FOR: trusted publishing, NuGet OIDC, keyless NuGet publish, migrate from NuGet API key, NuGet\u002Flogin, secure NuGet publishing. DO NOT USE FOR: publishing to private feeds or Azure Artifacts (OIDC is nuget.org only). INVOKES: shell (powershell or bash), edit, create, ask_user for guided repo setup.","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\u002F15-DevOps-CICD-Deployment\u002Fnuget-trusted-publishing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nuget-trusted-publishing\ndescription: >\n  Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys\n  with short-lived tokens. USE FOR: trusted publishing, NuGet OIDC, keyless NuGet publish,\n  migrate from NuGet API key, NuGet\u002Flogin, secure NuGet publishing.\n  DO NOT USE FOR: publishing to private feeds or Azure Artifacts (OIDC is nuget.org only).\n  INVOKES: shell (powershell or bash), edit, create, ask_user for guided repo setup.\nlicense: MIT\n---\n\n# NuGet Trusted Publishing Setup\n\nSet up [NuGet trusted publishing](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fnuget\u002Fnuget-org\u002Ftrusted-publishing) on a GitHub Actions repo. Replaces long-lived API keys with OIDC-based short-lived tokens — no secrets to rotate or leak.\n\n## Prerequisites\n\n- **GitHub Actions** — this skill covers GitHub Actions setup only\n- **nuget.org account** — the user needs access to create trusted publishing policies\n\n## When to Use This Skill\n\nUse this skill when:\n- Setting up trusted publishing for a NuGet package\n- Migrating from `secrets.NUGET_API_KEY` to OIDC-based publishing\n- Asked about keyless or secure NuGet publishing\n- Creating a new NuGet publish workflow from scratch\n- Asked to \"remove NuGet API key\" or \"use NuGet\u002Flogin\"\n- Setting up publishing for a dotnet tool, MCP server, or template package\n- Asked about `NuGet\u002Flogin@v1` or `id-token: write`\n\n## Safety Rules\n\n> ⚠️ **Bail-out rule**: If any phase fails after one fix attempt on an infrastructure\u002Fauth issue, stop and ask the user. Don't loop on environment problems.\n\n> ⚠️ **Never delete or overwrite without confirmation**: Removing API key secrets, deleting tags\u002Freleases, removing workflow steps, or changing package IDs. NuGet package IDs are permanent — mistakes can't be undone.\n\n## Process\n\n> **Fast-path for greenfield repos**: When the user has a simple setup (one packable project, no existing publish workflow), don't gate on multi-turn assessment. Combine phases: create the workflow immediately, include nuget.org policy guidance, local pack recommendation, and filename-matching warning all in one response. The full phased process below is for complex or migration scenarios.\n\n### Phase 1: Assess\n\nInspect the repo and report findings before making any changes.\n\n1. **Find and classify packable projects** — check `.csproj` files **and `Directory.Build.props`** (package metadata is often set repo-wide). Classify in this order (earlier matches win):\n   - `\u003CPackageType>Template\u003C\u002FPackageType>` → **Template**\n   - `\u003CPackageType>McpServer\u003C\u002FPackageType>` → **MCP server** (also a dotnet tool)\n   - `\u003CPackAsTool>true\u003C\u002FPackAsTool>` → **Dotnet tool**\n   - Class library (`IsPackable=true` or no `OutputType`) → **Library**\n   - `\u003COutputType>Exe\u003C\u002FOutputType>` with `\u003CIsPackable>true\u003C\u002FIsPackable>` → **Application package** (not a tool, but still publishable)\n   - `\u003COutputType>Exe\u003C\u002FOutputType>` without `PackAsTool` or `IsPackable` → Not packable by default (ask user if they intend to publish it)\n\n2. **Validate structure** for each project's type:\n\n   | Type | Required |\n   |------|----------|\n   | All | `PackageId`, `Version` (in .csproj or Directory.Build.props) |\n   | Dotnet tool | `PackAsTool` (required); `ToolCommandName` (optional but recommended — defaults to assembly name) |\n   | MCP server | `PackageType=McpServer`, `.mcp\u002Fserver.json` included in package |\n   | Template | `PackageType=Template`, `.template.config\u002Ftemplate.json` under content dir |\n\n3. **Find existing publish workflows** in `.github\u002Fworkflows\u002F` — look for `dotnet nuget push`, `nuget push`, or `dotnet pack`.\n\n4. **Check version consistency** — for MCP servers, verify `.csproj` `\u003CVersion>` matches both `server.json` version fields (root `version` and `packages[].version`). Flag any mismatch.\n\n5. **Report findings** to the user: classification, missing properties, version mismatches, existing workflows. For multi-project repos, note whether one workflow or separate workflows per package are needed. Offer to fix gaps — use `ask_user` before modifying project files.\n\n> ❌ See [references\u002Fpackage-types.md](references\u002Fpackage-types.md) for per-type details and required properties.\n\n### Phase 2: Local Verification\n\nPack and verify locally before touching nuget.org — publishing errors waste a permanent version number.\n\n> ⚠️ **Always mention this step**, even if you defer running it. Tell the user: \"Before your first publish, run `dotnet pack -c Release -o .\u002Fartifacts` to verify the .nupkg is created correctly.\"\n\n1. `dotnet pack -c Release -o .\u002Fartifacts` — verify `.nupkg` is created\n2. For tools\u002FMCP servers: install from `.\u002Fartifacts`, run `--help`, uninstall\n3. For libraries: inspect the `.nupkg` contents (it's a zip)\n\n### Phase 3: nuget.org Policy\n\nThis phase requires the user to act on nuget.org — guide them with exact values.\n\n1. Determine the **repo owner**, **repo name**, and the **workflow filename** that will publish.\n\n   > ❌ The policy requires the **exact workflow filename** (e.g., `publish.yml` or `publish.yaml`) — just the filename, no path prefix. Matching is case-insensitive. Don't use the workflow `name:` field.\n\n2. Guide the user to create the trusted publishing policy:\n   > Go to [**nuget.org\u002Faccount\u002Ftrustedpublishing**](https:\u002F\u002Fwww.nuget.org\u002Faccount\u002Ftrustedpublishing) → **Add policy**\n   >\n   > - **Repository Owner**: `{owner}`\n   > - **Repository**: `{repo}`\n   > - **Workflow File**: `{filename}.yml`\n   > - **Environment**: `release` *(only if the workflow uses `environment:`; leave blank otherwise)*\n\n   Policy ownership: the user chooses individual account or organization. Org-owned policies apply to all packages owned by that org.\n\n   For **private repos**: policy is \"temporarily active\" for 7 days — becomes permanent after the first successful publish.\n\n3. Guide the user to create a **GitHub Environment** (recommended but optional — provides secret scoping + approval gates):\n   > Repo **Settings** → **Environments** → **New environment** → `release`\n   >\n   > Add environment secret: **Name** = `NUGET_USER`, **Value** = nuget.org username (NOT email)\n\n   Optional: add **Required reviewers** for an approval gate.\n\n> ⚠️ Wait for the user to confirm they've created the policy **before asking them to remove old API keys\u002Fsecrets or before attempting to run\u002Fpublish with the workflow**. Drafting or showing the workflow file itself is OK before confirmation.\n\n### Phase 4: Workflow Setup\n\nCreate or modify the publish workflow. **The workflow must always be created or shown in your response** — you may draft\u002Fshow it even if the nuget.org policy is not yet confirmed, but do not guide the user to actually run\u002Fpublish or remove old secrets until after confirmation.\n\n**Greenfield**: Create `publish.yml` from the template in [references\u002Fpublish-workflow.md](references\u002Fpublish-workflow.md). Adapt .NET version, project path, and environment name. Ensure your output explicitly mentions `id-token: write` and `NuGet\u002Flogin@v1`.\n\n**Migration** (existing workflow with API key): Modify in place —\n\n1. **Add OIDC permission and environment** to the publishing job:\n   ```yaml\n   jobs:\n     publish:\n       environment: release\n       permissions:\n         id-token: write     # Required — without this, NuGet\u002Flogin fails with 403\n         contents: read      # Explicit — setting permissions overrides defaults\n   ```\n\n2. **Add the NuGet login step** before push:\n   ```yaml\n   - name: NuGet login (OIDC)\n     id: login\n     uses: NuGet\u002Flogin@v1\n     with:\n       user: ${{ secrets.NUGET_USER }}  # nuget.org profile name, NOT email\n   ```\n\n3. **Replace the API key** in the push step:\n   ```yaml\n   --api-key ${{ steps.login.outputs.NUGET_API_KEY }} --skip-duplicate\n   ```\n\n4. **Verify**: Ask the user to trigger a publish and confirm the package appears on nuget.org.\n\n> ❌ **Don't delete the old API key secret** until trusted publishing is verified. Removing it is a one-way door — wait for confirmation.\n\n## Troubleshooting\n\n| Problem | Cause | Fix |\n|---------|-------|-----|\n| `NuGet\u002Flogin` 403 | Missing `id-token: write` | Add to job permissions |\n| \"no matching policy\" | Workflow filename mismatch | Verify exact filename on nuget.org |\n| Push unauthorized | Package not owned by policy account | Check policy owner on nuget.org |\n| Token expired | Login step >1hr before push | Move `NuGet\u002Flogin` closer to push |\n| \"temporarily active\" policy | Private repo, first publish pending | Publish within 7 days |\n| `already_exists` on push | Re-running same version | Add `--skip-duplicate` |\n| GitHub Release 422 | Duplicate release for tag | Delete conflicting release (confirm first) |\n| Re-run uses wrong YAML | `gh run rerun` replays original commit's YAML | Delete obstacle, re-run — never re-tag |\n\n> ⚠️ If any blocker persists after one fix attempt, **stop and ask the user**.\n\n## References\n\n- **Package type details**: [references\u002Fpackage-types.md](references\u002Fpackage-types.md) — detection logic, required properties, minimal .csproj examples\n- **Publish workflow template**: [references\u002Fpublish-workflow.md](references\u002Fpublish-workflow.md) — complete tag-triggered workflow ready to adapt\n- **Microsoft docs**: [NuGet Trusted Publishing](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fnuget\u002Fnuget-org\u002Ftrusted-publishing)\n","# NuGet Trusted Publishing Setup\n\nSet up [NuGet trusted publishing](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fnuget\u002Fnuget-org\u002Ftrusted-publishing) on a GitHub Actions repo. Replaces long-lived API keys with OIDC-based short-lived tokens — no secrets to rotate or leak.\n\n## Prerequisites\n\n- **GitHub Actions** — this skill covers GitHub Actions setup only\n- **nuget.org account** — the user needs access to create trusted publishing policies\n\n## When to Use This Skill\n\nUse this skill when:\n- Setting up trusted publishing for a NuGet package\n- Migrating from `secrets.NUGET_API_KEY` to OIDC-based publishing\n- Asked about keyless or secure NuGet publishing\n- Creating a new NuGet publish workflow from scratch\n- Asked to \"remove NuGet API key\" or \"use NuGet\u002Flogin\"\n- Setting up publishing for a dotnet tool, MCP server, or template package\n- Asked about `NuGet\u002Flogin@v1` or `id-token: write`\n\n## Safety Rules\n\n> ⚠️ **Bail-out rule**: If any phase fails after one fix attempt on an infrastructure\u002Fauth issue, stop and ask the user. Don't loop on environment problems.\n\n> ⚠️ **Never delete or overwrite without confirmation**: Removing API key secrets, deleting tags\u002Freleases, removing workflow steps, or changing package IDs. NuGet package IDs are permanent — mistakes can't be undone.\n\n## Process\n\n> **Fast-path for greenfield repos**: When the user has a simple setup (one packable project, no existing publish workflow), don't gate on multi-turn assessment. Combine phases: create the workflow immediately, include nuget.org policy guidance, local pack recommendation, and filename-matching warning all in one response. The full phased process below is for complex or migration scenarios.\n\n### Phase 1: Assess\n\nInspect the repo and report findings before making any changes.\n\n1. **Find and classify packable projects** — check `.csproj` files **and `Directory.Build.props`** (package metadata is often set repo-wide). Classify in this order (earlier matches win):\n   - `\u003CPackageType>Template\u003C\u002FPackageType>` → **Template**\n   - `\u003CPackageType>McpServer\u003C\u002FPackageType>` → **MCP server** (also a dotnet tool)\n   - `\u003CPackAsTool>true\u003C\u002FPackAsTool>` → **Dotnet tool**\n   - Class library (`IsPackable=true` or no `OutputType`) → **Library**\n   - `\u003COutputType>Exe\u003C\u002FOutputType>` with `\u003CIsPackable>true\u003C\u002FIsPackable>` → **Application package** (not a tool, but still publishable)\n   - `\u003COutputType>Exe\u003C\u002FOutputType>` without `PackAsTool` or `IsPackable` → Not packable by default (ask user if they intend to publish it)\n\n2. **Validate structure** for each project's type:\n\n   | Type | Required |\n   |------|----------|\n   | All | `PackageId`, `Version` (in .csproj or Directory.Build.props) |\n   | Dotnet tool | `PackAsTool` (required); `ToolCommandName` (optional but recommended — defaults to assembly name) |\n   | MCP server | `PackageType=McpServer`, `.mcp\u002Fserver.json` included in package |\n   | Template | `PackageType=Template`, `.template.config\u002Ftemplate.json` under content dir |\n\n3. **Find existing publish workflows** in `.github\u002Fworkflows\u002F` — look for `dotnet nuget push`, `nuget push`, or `dotnet pack`.\n\n4. **Check version consistency** — for MCP servers, verify `.csproj` `\u003CVersion>` matches both `server.json` version fields (root `version` and `packages[].version`). Flag any mismatch.\n\n5. **Report findings** to the user: classification, missing properties, version mismatches, existing workflows. For multi-project repos, note whether one workflow or separate workflows per package are needed. Offer to fix gaps — use `ask_user` before modifying project files.\n\n> ❌ See [references\u002Fpackage-types.md](references\u002Fpackage-types.md) for per-type details and required properties.\n\n### Phase 2: Local Verification\n\nPack and verify locally before touching nuget.org — publishing errors waste a permanent version number.\n\n> ⚠️ **Always mention this step**, even if you defer running it. Tell the user: \"Before your first publish, run `dotnet pack -c Release -o .\u002Fartifacts` to verify the .nupkg is created correctly.\"\n\n1. `dotnet pack -c Release -o .\u002Fartifacts` — verify `.nupkg` is created\n2. For tools\u002FMCP servers: install from `.\u002Fartifacts`, run `--help`, uninstall\n3. For libraries: inspect the `.nupkg` contents (it's a zip)\n\n### Phase 3: nuget.org Policy\n\nThis phase requires the user to act on nuget.org — guide them with exact values.\n\n1. Determine the **repo owner**, **repo name**, and the **workflow filename** that will publish.\n\n   > ❌ The policy requires the **exact workflow filename** (e.g., `publish.yml` or `publish.yaml`) — just the filename, no path prefix. Matching is case-insensitive. Don't use the workflow `name:` field.\n\n2. Guide the user to create the trusted publishing policy:\n   > Go to [**nuget.org\u002Faccount\u002Ftrustedpublishing**](https:\u002F\u002Fwww.nuget.org\u002Faccount\u002Ftrustedpublishing) → **Add policy**\n   >\n   > - **Repository Owner**: `{owner}`\n   > - **Repository**: `{repo}`\n   > - **Workflow File**: `{filename}.yml`\n   > - **Environment**: `release` *(only if the workflow uses `environment:`; leave blank otherwise)*\n\n   Policy ownership: the user chooses individual account or organization. Org-owned policies apply to all packages owned by that org.\n\n   For **private repos**: policy is \"temporarily active\" for 7 days — becomes permanent after the first successful publish.\n\n3. Guide the user to create a **GitHub Environment** (recommended but optional — provides secret scoping + approval gates):\n   > Repo **Settings** → **Environments** → **New environment** → `release`\n   >\n   > Add environment secret: **Name** = `NUGET_USER`, **Value** = nuget.org username (NOT email)\n\n   Optional: add **Required reviewers** for an approval gate.\n\n> ⚠️ Wait for the user to confirm they've created the policy **before asking them to remove old API keys\u002Fsecrets or before attempting to run\u002Fpublish with the workflow**. Drafting or showing the workflow file itself is OK before confirmation.\n\n### Phase 4: Workflow Setup\n\nCreate or modify the publish workflow. **The workflow must always be created or shown in your response** — you may draft\u002Fshow it even if the nuget.org policy is not yet confirmed, but do not guide the user to actually run\u002Fpublish or remove old secrets until after confirmation.\n\n**Greenfield**: Create `publish.yml` from the template in [references\u002Fpublish-workflow.md](references\u002Fpublish-workflow.md). Adapt .NET version, project path, and environment name. Ensure your output explicitly mentions `id-token: write` and `NuGet\u002Flogin@v1`.\n\n**Migration** (existing workflow with API key): Modify in place —\n\n1. **Add OIDC permission and environment** to the publishing job:\n   ```yaml\n   jobs:\n     publish:\n       environment: release\n       permissions:\n         id-token: write     # Required — without this, NuGet\u002Flogin fails with 403\n         contents: read      # Explicit — setting permissions overrides defaults\n   ```\n\n2. **Add the NuGet login step** before push:\n   ```yaml\n   - name: NuGet login (OIDC)\n     id: login\n     uses: NuGet\u002Flogin@v1\n     with:\n       user: ${{ secrets.NUGET_USER }}  # nuget.org profile name, NOT email\n   ```\n\n3. **Replace the API key** in the push step:\n   ```yaml\n   --api-key ${{ steps.login.outputs.NUGET_API_KEY }} --skip-duplicate\n   ```\n\n4. **Verify**: Ask the user to trigger a publish and confirm the package appears on nuget.org.\n\n> ❌ **Don't delete the old API key secret** until trusted publishing is verified. Removing it is a one-way door — wait for confirmation.\n\n## Troubleshooting\n\n| Problem | Cause | Fix |\n|---------|-------|-----|\n| `NuGet\u002Flogin` 403 | Missing `id-token: write` | Add to job permissions |\n| \"no matching policy\" | Workflow filename mismatch | Verify exact filename on nuget.org |\n| Push unauthorized | Package not owned by policy account | Check policy owner on nuget.org |\n| Token expired | Login step >1hr before push | Move `NuGet\u002Flogin` closer to push |\n| \"temporarily active\" policy | Private repo, first publish pending | Publish within 7 days |\n| `already_exists` on push | Re-running same version | Add `--skip-duplicate` |\n| GitHub Release 422 | Duplicate release for tag | Delete conflicting release (confirm first) |\n| Re-run uses wrong YAML | `gh run rerun` replays original commit's YAML | Delete obstacle, re-run — never re-tag |\n\n> ⚠️ If any blocker persists after one fix attempt, **stop and ask the user**.\n\n## References\n\n- **Package type details**: [references\u002Fpackage-types.md](references\u002Fpackage-types.md) — detection logic, required properties, minimal .csproj examples\n- **Publish workflow template**: [references\u002Fpublish-workflow.md](references\u002Fpublish-workflow.md) — complete tag-triggered workflow ready to adapt\n- **Microsoft docs**: [NuGet Trusted Publishing](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fnuget\u002Fnuget-org\u002Ftrusted-publishing)\n",{"name":5,"license":15,"description":24},"Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens. USE FOR: trusted publishing, NuGet OIDC, keyless NuGet publish, migrate from NuGet API key, NuGet\u002Flogin, secure NuGet publishing. DO NOT USE FOR: publishing to private feeds or Azure Artifacts (OIDC is nuget.org only). INVOKES: shell (powershell or bash), edit, create, ask_user for guided repo setup.\n","main","30954af1dcd1a74b63f05deb2e2c41e5ecae4a82","15-DevOps-CICD-Deployment\u002Fnuget-trusted-publishing","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 nuget-trusted-publishing",{"tool":37,"command":38},"bunx","bunx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill nuget-trusted-publishing",{"tool":40,"command":41},"pnpm","pnpm dlx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill nuget-trusted-publishing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F15-DevOps-CICD-Deployment\u002Fnuget-trusted-publishing\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fpackage-types.md","REFERENCE","参考文档",8446,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F15-DevOps-CICD-Deployment\u002Fnuget-trusted-publishing\u002Freferences\u002Fpackage-types.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fpublish-workflow.md",3910,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F15-DevOps-CICD-Deployment\u002Fnuget-trusted-publishing\u002Freferences\u002Fpublish-workflow.md",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"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":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"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":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"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":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"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":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"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",[],[]]