·sort-redirects
""

sort-redirects

按路径字母顺序对开放发布重定向 JSON 文件中的重定向条目进行排序。在添加重定向后或文件未排序时使用。

17安装·1热度·@dotnet

安装

$npx skills add https://github.com/dotnet/docs --skill sort-redirects

如何安装 sort-redirects

通过命令行快速安装 sort-redirects AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dotnet/docs --skill sort-redirects
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dotnet/docs。

SKILL.md

查看原文

Sort redirect entries in Open Publishing redirection JSON files alphabetically by path. This ensures consistency and makes the redirect files easier to maintain.

Sorts all entries in the JSON file alphabetically by path (ignoring leading / for sourcepathfromroot). Handles both sourcepathfromroot and sourcepath properties.

| RedirectionFile | Yes | The path to a redirection JSON file (e.g., .openpublishing.redirection.csharp.json) |

按路径字母顺序对开放发布重定向 JSON 文件中的重定向条目进行排序。在添加重定向后或文件未排序时使用。 来源:dotnet/docs。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dotnet/docs --skill sort-redirects
分类
""沟通写作
认证
收录时间
2026-02-26
更新时间
2026-03-10

Browse more skills from dotnet/docs

快速解答

什么是 sort-redirects?

按路径字母顺序对开放发布重定向 JSON 文件中的重定向条目进行排序。在添加重定向后或文件未排序时使用。 来源:dotnet/docs。

如何安装 sort-redirects?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dotnet/docs --skill sort-redirects 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dotnet/docs

详情

分类
""沟通写作
来源
skills.sh
收录时间
2026-02-26