Skip to content

Update prompts and instructions for snippets#52300

Merged
adegeo merged 9 commits intomainfrom
adegeo/copilot
Mar 17, 2026
Merged

Update prompts and instructions for snippets#52300
adegeo merged 9 commits intomainfrom
adegeo/copilot

Conversation

@adegeo
Copy link
Copy Markdown
Contributor

@adegeo adegeo commented Mar 13, 2026

@adegeo adegeo requested a review from a team as a code owner March 13, 2026 21:01
Copilot AI review requested due to automatic review settings March 13, 2026 21:01
@dotnetrepoman dotnetrepoman Bot added this to the March 2026 milestone Mar 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds new Copilot prompt documents for upgrading, pushing, and migrating .NET documentation snippets, while removing older instruction files in favor of the new prompt-based workflow.

Changes:

  • Added three new snippet workflow prompts: Upgrade, Push, and Migrate.
  • Standardized guidance around project creation (dotnet new), folder structure, and snippet identifiers.
  • Removed legacy .github/instructions files for Push and Migrate.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
.github/prompts/Snippets.Upgrade.prompt.md Introduces guidance for modernizing snippets and organizing snippet projects.
.github/prompts/Snippets.Push.prompt.md Documents the process for extracting inline article code blocks into snippet projects/files.
.github/prompts/Snippets.Migrate.prompt.md Documents migration from ~/samples/snippets/ references to ./snippets/ with modern project structure.
.github/instructions/Snippets.Push.instructions.md Removes legacy Push instructions (superseded by prompt).
.github/instructions/Snippets.Migrate.instructions.md Removes legacy Migrate instructions (superseded by prompt).

Comment thread .github/prompts/Snippets.Push.prompt.md Outdated
Comment thread .github/prompts/Snippets.Push.prompt.md Outdated
Comment thread .github/prompts/Snippets.Migrate.prompt.md
Comment thread .github/prompts/Snippets.Migrate.prompt.md
Comment thread .github/prompts/Snippets.Migrate.prompt.md Outdated
Comment thread .github/prompts/Snippets.Upgrade.prompt.md
Comment thread .github/prompts/Snippets.Upgrade.prompt.md
Comment thread .github/prompts/Snippets.Push.prompt.md Outdated
Comment thread .github/prompts/Snippets.Push.prompt.md
Comment thread .github/prompts/Snippets.Push.prompt.md Outdated
adegeo and others added 4 commits March 13, 2026 14:10
Copy link
Copy Markdown
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

This LGTM @adegeo

I had one comment to consider.

Comment thread .github/prompts/Snippets.Migrate.prompt.md
adegeo added 3 commits March 17, 2026 14:17
Added guidelines for replacing ambiguous 'this' references and ensuring consistent terminology.
Removed a guideline about using 'this' as a standalone pronoun.
@adegeo adegeo enabled auto-merge (squash) March 17, 2026 21:37
@adegeo adegeo merged commit 6b5f394 into main Mar 17, 2026
11 checks passed
@adegeo adegeo deleted the adegeo/copilot branch March 17, 2026 21:47
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.

4 participants