Skip to content

Add copilot instructions for What's New #47442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BillWagner
Copy link
Member

@BillWagner BillWagner commented Jul 17, 2025

Add a copilot prompt file for assigning "What's new" issues to Copilot.


Internal previews

📄 File 🔗 Preview link
.github/prompts/whats-new-net.md .github/prompts/whats-new-net

Add a copilot prompt file for assigning "What's new" issues to Copilot.
@BillWagner BillWagner requested a review from a team as a code owner July 17, 2025 18:30
@dotnetrepoman dotnetrepoman bot added this to the July 2025 milestone Jul 17, 2025
@BillWagner BillWagner requested a review from gewarren July 17, 2025 18:30
@@ -0,0 +1,43 @@
When you're assigned an issue where one label includes the word "Release" and you're given a link to an issue with this prompt file as context to update the what's new in .NET pages, follow these guidelines:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you add this file as context to the issue?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NVM, that's if you use GH Copilot through VS Code.

- `<major-release>` is the release number. For example, `8.0`, `9.0` or `10.0`.
- `n` is the preview number. For example, `1`, `3`, or `6`.

The primary release notes are in the `README.MD` file in that folder. That file will contain links to other release notes for parts of .NET: libraries, runtime, sdk, languages, and so on. Use all that information for source.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The primary release notes are in the `README.MD` file in that folder. That file will contain links to other release notes for parts of .NET: libraries, runtime, sdk, languages, and so on. Use all that information for source.
The primary release notes are in the `README.MD` file in that folder. That file contains links to other release notes for components of .NET: libraries, runtime, SDK, languages, and so on. Use all that information for source.


The primary release notes are in the `README.MD` file in that folder. That file will contain links to other release notes for parts of .NET: libraries, runtime, sdk, languages, and so on. Use all that information for source.

## Updates for each file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Updates for each file.
## Updates for each file


## Updates for each file.

- Each file should have its `ms.date` metadata field updated to match today's date.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Each file should have its `ms.date` metadata field updated to match today's date.
- Each file should have its `ms.date` metadata field updated to match the date you're assigned the issue.

- Each file should have its `ms.date` metadata field updated to match today's date.
- Ensure each file has the `ai-usage: ai-assisted` metadata field added.
- Update phrasing on the latest update to reference the current release (preview, GA, or service release). Individual features shouldn't reference a given preview release, but the article should make it clear which was the last preview.
- Search this repository for articles that have been recently updated pertaining to new features. Add links to those as you write about that feature.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Search this repository for articles that have been recently updated pertaining to new features. Add links to those as you write about that feature.
- Search this repository for articles that have been recently updated pertaining to new features. Add links to those as you write about that feature. Or, add applicable information from the release notes into existing feature articles where it makes sense.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In reality, I think it might not be useful to have copilot search the repo for updated files, because 99% of the time those articles haven't been updated.

- Update phrasing on the latest update to reference the current release (preview, GA, or service release). Individual features shouldn't reference a given preview release, but the article should make it clear which was the last preview.
- Search this repository for articles that have been recently updated pertaining to new features. Add links to those as you write about that feature.
- For the runtime and libraries articles, include extensive examples as well as links to recently updated articles related to the new feature. The examples should be at least as thorough as the examples from the source release notes.
- Where applicable, the sdk article should include the samples.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Where applicable, the sdk article should include the samples.
- Where applicable, the SDK article should include the samples.

- For the runtime and libraries articles, include extensive examples as well as links to recently updated articles related to the new feature. The examples should be at least as thorough as the examples from the source release notes.
- Where applicable, the sdk article should include the samples.
- The overview article generally doesn't include examples. Its purpose is to direct readers to more detailed information in other articles.
- All APIs should be referenced using the `xref` tag on first mention. The `displayProperty=nameWithType` should be used.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- All APIs should be referenced using the `xref` tag on first mention. The `displayProperty=nameWithType` should be used.
- All APIs should be referenced using an `xref` style link, at least on first mention.

- The overview article generally doesn't include examples. Its purpose is to direct readers to more detailed information in other articles.
- All APIs should be referenced using the `xref` tag on first mention. The `displayProperty=nameWithType` should be used.
- All links to article in the `dotnet/docs` repository should be file relative.
- Spell out acronyms on first use in each file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Spell out acronyms on first use in each file.
- Spell out acronyms on first use in each file.
- In general, don't mention specific contributors or pull requests to the product repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants