Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR imports the initial GitHub Copilot “store” content for docs-desktop, including reusable skills (PowerShell automation), prompts, agents, and writing-style instructions intended to standardize docs edits and snippet workflows.
Changes:
- Added two redirect-focused skills: one to create redirect entries and one to sort redirection JSON files.
- Added multiple prompts and agent definitions for template validation, metadata targeting, snippet migration/upgrade, link-text refresh, and editing workflows.
- Added repo-specific documentation guidance (Copilot instructions + Markdown writing style rules) for desktop docs.
Reviewed changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| CopilotStore/docs-desktop/skills/sort-redirects/SKILL.md | Documents the redirect-sorting skill and its usage. |
| CopilotStore/docs-desktop/skills/sort-redirects/scripts/sort-redirects.ps1 | PowerShell script to sort redirection JSON entries by path. |
| CopilotStore/docs-desktop/skills/redirect-article/SKILL.md | Documents the article-redirect workflow and script usage. |
| CopilotStore/docs-desktop/skills/redirect-article/scripts/create-redirect-entry.ps1 | PowerShell script to insert a redirect entry into a redirection JSON file. |
| CopilotStore/docs-desktop/prompts/ValidateTemplate.prompt.md | Prompt for validating articles against repository templates. |
| CopilotStore/docs-desktop/prompts/Target.Framework.prompt.md | Prompt to retarget an article’s lifecycle metadata to dotnet-framework. |
| CopilotStore/docs-desktop/prompts/Target.Desktop.prompt.md | Prompt to retarget an article’s lifecycle metadata to dotnet-desktop. |
| CopilotStore/docs-desktop/prompts/Snippets.Upgrade.prompt.md | Prompt with standards for modernizing snippet code/projects. |
| CopilotStore/docs-desktop/prompts/Snippets.Push.prompt.md | Prompt for extracting inline snippets into structured snippet folders. |
| CopilotStore/docs-desktop/prompts/Snippets.Migrate.prompt.md | Prompt for migrating legacy ~/samples/snippets/ references to ./snippets/. |
| CopilotStore/docs-desktop/prompts/RefreshLinks.prompt.md | Prompt to refresh link text based on target headings/titles. |
| CopilotStore/docs-desktop/prompts/NewArticle.Outline.prompt.md | Prompt to gather inputs and generate a template-based outline. |
| CopilotStore/docs-desktop/prompts/NewArticle.ExpandComments.prompt.md | Prompt to expand selected outline bullets into prose grounded in references. |
| CopilotStore/docs-desktop/prompts/Move.ControlTemplate.Ref.prompt.md | Prompt describing how to merge control template content into main control pages + redirect. |
| CopilotStore/docs-desktop/prompts/Merge.Article.prompt.md | Prompt for merging one article into another and optionally redirecting. |
| CopilotStore/docs-desktop/prompts/Editing.FullPass.prompt.md | Prompt for a full editing pass aligned with Microsoft Style Guide. |
| CopilotStore/docs-desktop/prompts/Clean.ControlTemplate.Ref.prompt.md | Prompt for restructuring WPF control reference articles consistently. |
| CopilotStore/docs-desktop/instructions/Markdown.WritingStyle.instructions.md | Repo-specific Markdown writing style rules applied to dotnet-desktop-guide/**/*.md. |
| CopilotStore/docs-desktop/copilot-instructions.md | General .NET docs/Copilot guidelines (AI disclosure, snippets, xrefs, naming, etc.). |
| CopilotStore/docs-desktop/agents/snippets.migration.agent.md | Agent definition to drive snippet migration workflow. |
| CopilotStore/docs-desktop/agents/preview-release-updater.agent.md | Agent definition for updating .NET preview “what’s new” articles. |
| CopilotStore/docs-desktop/agents/doceditor.agent.md | Agent definition for editing/writing docs per style-guide transformations. |
| CopilotStore/docs-desktop/AGENTS.md | High-level note about WinForms vs WPF content locations in the repo. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All of the Copilot files from the dotnet/docs-desktop repository.