Approve command
The approve command approves one specified skill after review so it can be used by agents.
By default, the command approves a generated skill. If changes such as documentation updates do not affect an existing approved skill, the command can confirm that it remains valid without regenerating it.
Approve a generated skill
Section titled “Approve a generated skill”To approve a generated skill, run the command with its name using your preferred package manager in the root of your Starlight project.
npx starlight-to-skills approve skill-namepnpm starlight-to-skills approve skill-nameyarn starlight-to-skills approve skill-namenlx starlight-to-skills approve skill-nameConfirm an existing skill
Section titled “Confirm an existing skill”To confirm that an existing approved skill remains valid without regenerating it, run the command with its name and the --existing option using your preferred package manager in the root of your Starlight project.
Only use this option after reviewing the changes and confirming that the existing approved skill is still valid.
npx starlight-to-skills approve skill-name --existingpnpm starlight-to-skills approve skill-name --existingyarn starlight-to-skills approve skill-name --existingnlx starlight-to-skills approve skill-name --existing