| name | content-redirect |
| description | 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. |
| argument-hint | <old-path> <new-path> |
Content Redirect
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.
When to Use
Use this skill whenever:
- A markdown file is moved or renamed (the URL path changes).
- A markdown file is deleted and its content now lives elsewhere.
- You are explicitly asked to add a redirect.
Redirect Files
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 |
Entry Format
Each redirect is a JSON object with three fields: