code-review

Installation
SKILL.md

Code review skill (contentstack-cli-tsgen)

CLI and docs

  • Help text, static examples, and README/oclif-generated docs stay in sync when flags or behavior change.
  • Short command name tsgen / TSGEN comes from csdxConfig in package.json.

Product language

  • Prefer Delivery token flows; GraphQL requires delivery token in code paths—reviewers should catch CMA-centric wording that misleads users.

Errors

  • printFormattedError in src/lib/helper.ts maps error_code to user-facing messages; extend switches carefully for backward compatibility.

Dependency on the library

  • Business logic for generateTS / graphqlTS belongs in @contentstack/types-generator (npm, GitHub). CLI changes should orchestrate and format, not reimplement generation.
Installs
1
GitHub Stars
11
First Seen
Aug 19, 2026