Skip to content

Update prompts and instructions for snippets#52300

Open
adegeo wants to merge 6 commits intomainfrom
adegeo/copilot
Open

Update prompts and instructions for snippets#52300
adegeo wants to merge 6 commits intomainfrom
adegeo/copilot

Conversation

@adegeo
Copy link
Contributor

@adegeo adegeo commented Mar 13, 2026

Migrated the instruction files related to snippet migration and pushing to prompt files.


Internal previews

📄 File 🔗 Preview link
.github/prompts/Snippets.Migrate.prompt.md Migrate code snippets
.github/prompts/Snippets.Push.prompt.md .github/prompts/Snippets.Push.prompt
.github/prompts/Snippets.Upgrade.prompt.md Code Snippet Upgrade Instructions

@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
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).

adegeo and others added 4 commits March 13, 2026 14:10
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.

3 participants