Generate a Node CLI TypeScript AGENTS.md

CLI projects benefit from short, operational instructions because side effects, output formats, and filesystem behavior matter more than elaborate UI guidance.

This preset focuses on command entrypoints, pure helper boundaries, and straightforward verification rules.

It fits internal tools, developer CLIs, and lightweight automation repos.

Common commands

  • Install: npm install
  • Dev: npm run dev
  • Lint: npm run lint
  • Typecheck: npm run typecheck
  • Build: npm run build
  • Test: npm run test

Common forbidden actions

  • Do not add background services or daemons.
  • Do not add remote dependency on hosted APIs for core behavior.
  • Do not bypass validation for file writes or destructive commands.

Why this preset needs tailored guidance

Node CLI repos need stronger rules around side effects, output formatting, and command scope than standard app templates provide.