-
Notifications
You must be signed in to change notification settings - Fork 6k
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
base: main
Are you sure you want to change the base?
Conversation
Add a copilot prompt file for assigning "What's new" issues to Copilot.
@@ -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: |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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. |
Add a copilot prompt file for assigning "What's new" issues to Copilot.
Internal previews