Agent Builder
shareAI-lab/learn-claude-code
Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.
How to delete, rename, or move articles on Microsoft Learn while preserving Platform IDs, preventing broken links, and managing redirects.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill redirection -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs redirection --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/redirection .claude/skills/redirection && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "redirection" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/redirection into .claude/skills/redirection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redirection", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/redirectionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill redirection -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs redirection --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/redirection .agents/skills/redirection && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "redirection" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/redirection into .agents/skills/redirection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redirection", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill redirection -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs redirection --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/redirection .cursor/skills/redirection && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "redirection" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/redirection into .cursor/skills/redirection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redirection", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MicrosoftDocs/semantic-kernel-docs.git --path .github/skills/redirection--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill redirection -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs redirection --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/redirection .gemini/skills/redirection && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "redirection" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/redirection into .gemini/skills/redirection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redirection", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MicrosoftDocs/semantic-kernel-docs redirectionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill redirection -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/redirection .github/skills/redirection && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "redirection" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/redirection into .github/skills/redirection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redirection", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill redirection -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs redirection --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/redirection .opencode/skills/redirection && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "redirection" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/redirection into .opencode/skills/redirection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redirection", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
redirectionHow to delete, rename, or move articles on Microsoft Learn while preserving Platform IDs, preventing broken links, and managing redirects.
Redirection is an agent skill from MicrosoftDocs/semantic-kernel-docs, published by the product's own GitHub organization. How to delete, rename, or move articles on Microsoft Learn while preserving Platform IDs, preventing broken links, and managing redirects.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering. The repository describes itself as: Semantic Kernel (SK) is a lightweight SDK enabling integration of AI Large Language Models (LLMs) with conventional programming languages. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6997e10. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json, yaml and powershell).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
learn.microsoft.combing.comsearch.google.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Redirection loads about 1.5k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 722 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from MicrosoftDocs/semantic-kernel-docs at commit 6997e10, republished under its MIT licence (© MicrosoftDocs). 722 words, ~1,494 tokens.
.claude/skills/redirection/SKILL.md (or your agent's skills folder).This skill describes how to properly redirect content when articles are deleted, renamed, or moved on Microsoft Learn. Proper redirection prevents broken links, avoids 404 errors, and ensures the Platform ID algorithm correctly associates the new location with the original content.
Redirection is always required for:
These operations are treated as "remove and replace" by the platform, not as in-place updates.
Redirects are managed in a JSON file at the repo root, typically named
.openpublishing.redirection.json. Each entry maps an old source path to a
new target URL.
{
"redirections": [
{
"source_path_from_root": "/articles/ai-services/content-safety/concepts/custom-categories-rapid.md",
"redirect_url": "/azure/ai-services/content-safety/concepts/custom-categories",
"redirect_document_id": true
}
]
}| Property | Required | Description |
|---|---|---|
source_path_from_root | Yes | Absolute path to the old file in the repo. Must start with /. |
redirect_url | Yes | Target URL — can be a relative path, a site-relative path on Microsoft Learn, or an external URL. |
redirect_document_id | No | Set to true to transfer the document ID (and reporting data like page views and rankings) from the old article to the target. Defaults to false if omitted. |
The Platform ID is a unique identifier for Learn documents, designed to replace the Document ID system. Unlike Document ID, the Platform ID is automatically generated based on content similarity and URL redirection relationships.
Don't change content during file operations. The Platform ID relies on a 90% content similarity threshold. If similarity drops below 90%, the platform treats the documents as distinct entities with different IDs. Rename or move first, then make content changes in a separate PR.
Eliminate duplicate content:
[!WARNING] Not following redirection policies risks losing historical BI data. The Platform ID is also used by recommendations and search services — changes to the ID can make content inaccessible or degrade search results.
Add the ROBOTS: NOINDEX metadata as the last entry in the article's YAML
frontmatter, then republish:
ROBOTS: NOINDEXThis tells search engines not to index the page while still allowing crawlers to follow links on it to other pages.
author in the article's metadata (update if not)..openpublishing.redirection.json pointing to an
appropriate replacement page.Same process as renaming — create the file in the new location, delete the original, add the redirect, and update the TOC.
Don't rely on redirects alone for internal links. After any file operation, scan for and update cross-references:
# Find all files linking to the old article
Get-ChildItem -Recurse -Include *.md |
Select-String '<old-article-name>' |
Group-Object Path |
Select-Object NameUpdate or remove these cross-links in the same or a follow-up PR.
After your PR merges, complete these steps:
| Step | Details |
|---|---|
| Test redirects in staging | Verify the old URL redirects to the correct target before signing off |
| Update FWLinks | Check the FWLink tool for any links pointing to the old article and update them |
| Manage inbound links | Identify high-traffic non-Microsoft inbound links (blogs, forums) and coordinate updates if possible |
| Remove search cache (rare) | Only if content must be removed urgently for legal or severe customer issues — use Bing and Google removal tools |
| Review old redirects | Periodically review and clean up redirect entries based on your org's retention policy |
| Check Platform ID Dashboard | Verify that file URL changes follow best practices |
When you delete, rename, or move an article, you must also update the
corresponding TOC entry to reflect the new file path.
If the move changes the article's URL structure, verify that the
breadcrumb tocHref mappings still apply correctly.
© MicrosoftDocs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/redirection of MicrosoftDocs/semantic-kernel-docs.
Open the folder on GitHubat commit 6997e10
Redirection next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Redirection this skillMicrosoftDocs/semantic-kernel-docs | 264 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Agent BuildershareAI-lab/learn-claude-code | 78k | 6 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Add Uint Supportpytorch/pytorch | 104k | 2 repos | ~2.3k | Automated safety check: Pass | Custom licence | |
| Peft Fine TuningOrchestra-Research/AI-Research-SKILLs | 13k | 9 repos | ~3.1k | Automated safety check: Pass | MIT | |
| Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs | 13k | 9 repos | ~3.3k | Automated safety check: Pass | MIT | |
| 1passwordtrpc-group/trpc-agent-go | 1.8k | 15 repos | ~656 | Automated safety check: Pass | Apache-2.0 |
shareAI-lab/learn-claude-code
Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.
pytorch/pytorch
Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.
Orchestra-Research/AI-Research-SKILLs
Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods.
Orchestra-Research/AI-Research-SKILLs
Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.
trpc-group/trpc-agent-go
Set up and use 1Password CLI (op). An agent skill from trpc-group/trpc-agent-go.
Orchestra-Research/AI-Research-SKILLs
Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.
MicrosoftDocs/semantic-kernel-docs
How breadcrumbs work on Microsoft Learn: structure, creation, configuration in docfx.json, and best practices for documentation repos.
MicrosoftDocs/semantic-kernel-docs
How to reference code from sample repos in Agent Framework docs pages using :::code directives, snippet tags, zone pivots, and highlight attributes.
MicrosoftDocs/semantic-kernel-docs
How to configure cross-repository references (CRR) and create API class links for Microsoft Learn docs in this repository.
MicrosoftDocs/semantic-kernel-docs
Conceptual organization of Agent Framework documentation and samples.
MicrosoftDocs/semantic-kernel-docs
How to create, structure, and configure table of contents (TOC) files for Microsoft Learn documentation using toc.yml and docfx.json.
MicrosoftDocs/semantic-kernel-docs
Required when reviewing, updating, auditing, or creating any concept documentation page.
Categories
How to delete, rename, or move articles on Microsoft Learn while preserving Platform IDs, preventing broken links, and managing redirects. Redirection is an agent skill from MicrosoftDocs/semantic-kernel-docs, published by the product's own GitHub organization. How to delete, rename, or move articles on Microsoft Learn while preserving Platform IDs, preventing broken links, and managing redirects.
Redirection fits situations like: AI & LLM Engineering work in your project.
Run `npx skills add MicrosoftDocs/semantic-kernel-docs --skill redirection -a claude-code`. Or copy the skill folder (.github/skills/redirection in MicrosoftDocs/semantic-kernel-docs) into .claude/skills/redirection in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MicrosoftDocs/semantic-kernel-docs --skill redirection -a codex`. Or copy the skill folder (.github/skills/redirection in MicrosoftDocs/semantic-kernel-docs) into .agents/skills/redirection in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MicrosoftDocs/semantic-kernel-docs --skill redirection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/redirection, .gemini/skills/redirection, .github/skills/redirection and .opencode/skills/redirection in your project.
SKILL.md names no scripts, command-line tools or credentials: Redirection is instructions for the agent only.
SKILL.md names 3 domains. As links in the text: learn.microsoft.com, bing.com and search.google.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Redirection is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Redirection: Agent Builder (shareAI-lab/learn-claude-code, 78k stars), Add Uint Support (pytorch/pytorch, 104k stars), Peft Fine Tuning (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MicrosoftDocs (a GitHub organization, an official publisher) maintains it in MicrosoftDocs/semantic-kernel-docs, which has 264 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.
Source: MicrosoftDocs/semantic-kernel-docs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.