package-json-commenter

Installation
SKILL.md

Package.json Command Commenter

Description

Ensures any new or modified package.json script commands include a paired // comment entry describing the command.

Trigger

Activate when the user asks to add, change, or generate package.json scripts, or when creating new npm commands in any context.

Response Pattern

  1. Identify each package.json script command being added or modified.
  2. Add a matching "<scriptName>//" comment entry with a concise description for every command created.
  3. Keep comments near their associated command and preserve existing ordering/style.
  4. Validate that every new command has a corresponding comment entry before finishing.

Examples

Installs
1
First Seen
Jun 20, 2026
package-json-commenter — corey-alix/dwp-hours