用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill whats-new-include-content-rules命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | whats-new-include-content-rules |
| description | > Use when this capability is needed. |
These rules encode corrections from past PR reviews. Follow them strictly when
creating or editing include files under aspnetcore/release-notes/aspnetcore-{MAJOR_VERSION}/includes/.
All include files go in:
aspnetcore/release-notes/aspnetcore-{MAJOR_VERSION}/includes/
infer-pk-display-name-preview2.md (pk is an abbreviation, and preview2 combines a word with a number)infer-passkey-display-name-preview-2.md (whole words, number separated by hyphen)-preview-{N} (where {N} is the preview number, e.g., -preview-2).
CRITICAL: Every new file MUST include the preview suffix. This was a mistake
in the initial automation — a file was created without the suffix and had to be
corrected.native-otel-tracing-preview-2.mdopenapi-3-2-support-preview-2.mdinfer-passkey-display-name-preview-2.mdperformance-improvements-preview-2.mdperformance-improvements-preview-{N}.md file.Do not create include files for Blazor features:
Do not create include files for bug fixes: The What's New article only covers new features and improvements, not bug fixes.
Community contributors list:
### (H3) headings — never # or ##. Include files are embedded inside
a parent article that already uses ## for section headings.<xref:> for API references — not inline code`AddOpenApi()`<xref:Microsoft.Extensions.DependencyInjection.OpenApiServiceCollectionExtensions.AddOpenApi%2A>`BadHttpRequestException`<xref:Microsoft.AspNetCore.Http.BadHttpRequestException><xref:fully.qualified.name>
format. The xref ID must be verified from official dotnet-api-docs, not guessed.<!-- TODO: Update to <xref:> once API docs are published --> so it can be
updated later.
format. The xref ID must be verified from official dotnet-api-docs, not guessed.PasskeyAuthenticators dictionary, not
PasskeyAuthenticators.cs dictionary.[Breaking changes in .NET]([/dotnet/core/compatibility/breaking-changes](https://learn.microsoft.com/dotnet/core/compatibility/breaking-changes))[Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes)/.
Do not include https://learn.microsoft.com or the /en-us/ locale.a, b, c, and d on the request activity."a, b, c, and d."### Feature name (Breaking Change)Thank you [@username](https://github.com/username) for this contribution!-->. Never leave an unclosed HTML comment.includes/ directory) do NOT get YAML front matter
(no --- block with title, ms.date, etc.). They are raw Markdown fragments.Before completing, verify:
-preview-{N}.<xref:> IDs are verified (or explicitly flagged as needing verification).-->.Fixes dotnet/AspNetCore.Docs#{ISSUE NUMBER} (where {ISSUE NUMBER} is the number of the issue this PR addresses), followed by a blank line before any other content.Fixes dotnet/AspNetCore.Docs#{ISSUE NUMBER} format, followed by a blank line before any other content.Related: dotnet/AspNetCore.Docs#{ISSUE NUMBER} on a separate line after the Fixes line(s).Fixes dotnet/AspNetCore.Docs#10000
Summary of changes...
Fixes dotnet/AspNetCore.Docs#10000
Fixes dotnet/AspNetCore.Docs#10001
Summary of changes...
Fixes dotnet/AspNetCore.Docs#10000
Related: dotnet/AspNetCore.Docs#10001
Summary of changes...
### OpenAPI 3.2.0 support (Breaking Change)
`Microsoft.AspNetCore.OpenApi` now supports OpenAPI 3.2.0 through an updated dependency on `Microsoft.OpenApi` 3.3.1. This update includes breaking changes from the underlying library. For more information, see the [Microsoft.OpenApi upgrade guide](https://github.com/microsoft/OpenAPI.NET/blob/main/docs/upgrade-guide-3.md).
To generate an OpenAPI 3.2.0 document, specify the version when calling <xref:Microsoft.Extensions.DependencyInjection.OpenApiServiceCollectionExtensions.AddOpenApi%2A>:
```csharp
builder.Services.AddOpenApi(options =>
{
options.OpenApiVersion = Microsoft.OpenApi.OpenApiSpecVersion.OpenApi3_2;
});
```
Subsequent updates take advantage of new capabilities in the 3.2.0 specification, such as item schema support for streaming events.
Thank you [@baywet](https://github.com/baywet) for this contribution!
### heading (H3), not ##.<xref:> used for API method reference.Source: dotnet/AspNetCore.Docs — distributed by TomeVault.
基于 SOC 职业分类