什么是 sort-redirects?
按路径字母顺序对开放发布重定向 JSON 文件中的重定向条目进行排序。在添加重定向后或文件未排序时使用。 来源:dotnet/docs。
按路径字母顺序对开放发布重定向 JSON 文件中的重定向条目进行排序。在添加重定向后或文件未排序时使用。
通过命令行快速安装 sort-redirects AI 技能到你的开发环境
来源:dotnet/docs。
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按路径字母顺序对开放发布重定向 JSON 文件中的重定向条目进行排序。在添加重定向后或文件未排序时使用。 来源:dotnet/docs。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dotnet/docs --skill sort-redirects 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dotnet/docs