Skip to main content

sort-package-json

Use this skill when the user wants to sort a package.json file alphabetically.

Source facts

Repository
javimosch/supercli
Last source activity
June 24, 2026 at 03:16
Detected SKILL.md language
English
Stars
51
Forks
7

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
sort-package-json
description
Use this skill when the user wants to sort a package.json file alphabetically.
# sort-package-json Plugin Sort package.json files alphabetically for consistent ordering in Node.js projects. ## Commands ### Sort - `sort-package-json file sort` — Sort package.json files ### Basic - `sort-package-json _ _` — Passthrough to sort-package-json CLI ## Usage Examples - "Sort the package.json in this project" - "Run sort-package-json to organise dependencies" ## Installation ```bash npm install -g sort-package-json ``` ## Key Features - Sorts package.json keys alphabetically - Sorts dependencies, devDependencies, scripts, etc. - Consistent ordering across projects - Preserves JSON formatting and comments
View on GitHub