Skip to content

Prune command

Experimental: This plugin is in early development. Expect breaking changes between releases.

The prune command removes orphan approved skills. An approved skill becomes orphaned when its skill definition is deleted or renamed.

The command lists all orphan approved skills and asks for confirmation before removing them.

Use the command by running it with your preferred package manager in the root of your Starlight project.

Terminal window
npx starlight-to-skills prune

To skip the confirmation prompt, run the command with the --yes option using your preferred package manager in the root of your Starlight project.

Terminal window
npx starlight-to-skills prune --yes