content-redirect

作成者: microsoft

VS Codeのドキュメントでページが移動、リネーム、削除された際にリダイレクトを作成・管理します。ドキュメントページの移動、ファイル名の変更、再構成などの際に使用します。

npx skills add https://github.com/microsoft/vscode-docs --skill content-redirect

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 areaRedirect 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:

{ "from": "/docs/old/path", "to": "/docs/new/path", "status": 301 }
FieldDescription
fromThe old URL path (without file extension, without domain). Must start with / followed by the content area prefix (e.g., /docs/, /api/).
toThe new URL path the old URL should redirect to. Same format as from.
statusAlways 301 (permanent redirect).

Procedure

1. Determine the old and new paths

  • Strip the file extension (.md) and the repo-root prefix to get the URL path.
  • Example: moving docs/copilot/overview.mddocs/copilot/getting-started.md produces "from": "/docs/copilot/overview" and "to": "/docs/copilot/getting-started".
  • For index.md files, the URL path is the folder path without /index (e.g., docs/copilot/index.md/docs/copilot).

2. Identify the correct redirect file

Choose the redirection.json that matches the content area of the old path (the from path).

3. Add the redirect entry

  • Open the appropriate redirection.json file.
  • Append the new entry to the JSON array.
  • Keep the array sorted or append at the end — either is acceptable.
  • Ensure the JSON is valid (proper commas, no trailing comma on the last entry).

4. Check for redirect chains

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

5. Update internal links

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.

6. Verify

  • Confirm the redirection.json file is valid JSON.
  • Confirm no duplicate from paths exist in the file.
  • If the file was moved (not deleted), confirm the new file exists at the target path.

microsoftのその他のスキル

oss-growth
microsoft
OSS成長ハッカーのペルソナ
agent-framework-azure-ai-py
microsoft
Microsoft Agent Framework Python SDK(agent-framework-azure-ai)を使用してAzure AI Foundryエージェントを構築します。AzureAIAgentsProviderを使用した永続的なエージェントの作成、ホスト型ツール(コードインタープリター、ファイル検索、ウェブ検索)の使用、MCPサーバーの統合、会話スレッドの管理、ストリーミング応答の実装時に使用します。関数ツール、構造化出力、マルチツールエージェントをカバーします。
development
airunway-aks-setup
microsoft
AKS上でAI Runwayをセットアップ — ベアクラスターからモデル実行まで。クラスター検証、コントローラーインストール、GPU評価、プロバイダー設定、初回デプロイをカバー。対象: 「AI Runwayのセットアップ」「AKSクラスターのオンボード」「AI Runwayのインストール」「airunway setup」「AKSへのモデルデプロイ」「AKSでのGPU推論」「AKSでのKAITOセットアップ」「AKSでのLLM実行」「AKSでのvLLM」「AKSでのモデルサービング設定」「AI Runwayコントローラー」。
devops
appinsights-instrumentation
microsoft
Azure Application Insightsを使用したWebアプリのインストルメンテーションに関するガイダンス。テレメトリパターン、SDKセットアップ、構成リファレンスを提供します。対象: アプリのインストルメンテーション方法、App Insights SDK、テレメトリパターン、App Insightsとは何か、Application Insightsガイダンス、インストルメンテーション例、APMベストプラクティス。
devops
applicationinsights-web-ts
microsoft
Application Insights JavaScript SDK(@microsoft/applicationinsights-web)を使用してブラウザ/Webアプリを計測します。Real User Monitoring(RUM)— ページビュー、クリック、AJAX/fetch依存関係、例外、カスタムイベント、およびバックエンドのOpenTelemetryトレースに関連付けられたブラウザ側のGenAIエージェントトレースに使用します。SDKローダースクリプトとnpmセットアップ、フレームワーク拡張機能(React、React Native、Angular)、Click Analytics、テレメトリ初期化子、およびブラウザから生成されるエージェント/ツール/モデルスパンのOTel GenAIセマンティック規約をカバーします。
devops
azure-ai-anomalydetector-java
microsoft
Azure AI Anomaly Detector SDK for Javaを使用して異常検出アプリケーションを構築します。単変量/多変量異常検出、時系列分析、またはAIを活用したモニタリングを実装する際に使用します。
development
azure-ai-language-conversations-py
microsoft
azure-ai-language-conversations Python SDKを使用して会話言語理解(CLU)を実装します。ConversationAnalysisClientを使用して会話の意図とエンティティを分析する場合、NLP機能を構築する場合、またはアプリケーションに言語理解を統合する場合に使用します。
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 for Python。MLワークスペース、ジョブ、モデル、データセット、コンピュート、パイプラインに使用します。 トリガー: 「azure-ai-ml」、「MLClient」、「ワークスペース」、「モデルレジストリ」、「トレーニングジョブ」、「データセット」。
development