·sort-redirects
""

sort-redirects

Sorts redirect entries in Open Publishing redirection JSON files alphabetically by path. Use after adding redirects or when the file becomes unsorted.

17Installs·1Trend·@dotnet

Installation

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

How to Install sort-redirects

Quickly install sort-redirects AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/dotnet/docs --skill sort-redirects
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: dotnet/docs.

SKILL.md

View raw

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

Sorts redirect entries in Open Publishing redirection JSON files alphabetically by path. Use after adding redirects or when the file becomes unsorted. Source: dotnet/docs.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/dotnet/docs --skill sort-redirects
Category
""Writing
Verified
First Seen
2026-02-26
Updated
2026-03-10

Browse more skills from dotnet/docs

Quick answers

What is sort-redirects?

Sorts redirect entries in Open Publishing redirection JSON files alphabetically by path. Use after adding redirects or when the file becomes unsorted. Source: dotnet/docs.

How do I install sort-redirects?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/dotnet/docs --skill sort-redirects Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/dotnet/docs

Details

Category
""Writing
Source
skills.sh
First Seen
2026-02-26