.github/skills/content-redirect/SKILL.md
Create and manage redirects in VS Code documentation when pages are moved, renamed, or deleted. Use when moving docs pages, renaming files, restructuring content, or when the user asks about redirects.
npx skillsauth add microsoft/vscode-docs content-redirectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a redirect specialist for VS Code docs. Your job is to create and manage redirects in redirection.json when documentation pages are moved, renamed, or deleted. Each content area has its own redirection.json file.
Use this skill whenever:
Each top-level content folder has its own redirect file:
| Content area | Redirect file |
|-------------|---------------|
| docs/ | docs/redirection.json |
| api/ | api/redirection.json |
| blogs/ | blogs/redirection.json |
| remote/ | remote/redirection.json |
Each redirect is a JSON object with three fields:
{ "from": "/docs/old/path", "to": "/docs/new/path", "status": 301 }
| Field | Description |
|----------|-------------|
| from | The old URL path (without file extension, without domain). Must start with / followed by the content area prefix (e.g., /docs/, /api/). |
| to | The new URL path the old URL should redirect to. Same format as from. |
| status | Always 301 (permanent redirect). |
.md) and the repo-root prefix to get the URL path.docs/copilot/overview.md → docs/copilot/getting-started.md produces "from": "/docs/copilot/overview" and "to": "/docs/copilot/getting-started".index.md files, the URL path is the folder path without /index (e.g., docs/copilot/index.md → /docs/copilot).Choose the redirection.json that matches the content area of the old path (the from path).
redirection.json file.Search the same redirection.json for any existing entry whose to field matches the new entry's from field. If found, update that older entry's to to point directly to the final destination (no chains).
Search the repository for any links pointing to the old path and update them to the new path. Use Grep to find references to the old path in markdown files and toc.json files and update them accordingly.
redirection.json file is valid JSON.from paths exist in the file.development
Guidelines for writing and reviewing Insiders and Stable release notes for Visual Studio Code.
development
Review VS Code release notes for style, structure, and completeness. Use for reviewing Insiders or Stable release notes against writing guidelines. Produces an actionable list of recommendations.
development
Check and optimize MetaDescription frontmatter fields in VS Code documentation. Use when auditing, adding, or improving page descriptions for SEO and discoverability. Apply this when making content changes to markdown articles.
development
Audit and update docs/copilot/ documentation to accurately reflect current VS Code AI capabilities. Use when: competitive analysis reveals gaps, product launches new features, docs use outdated framing, or keyword coverage needs strengthening for discoverability by users and AI agents. Produces a gap analysis plus targeted edits across affected files.