بنقرة واحدة
typescript-cli-tsgen
Mental model for the contentstack-cli-tsgen OCLIF plugin and tsgen command (CLI 1.x line).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Mental model for the contentstack-cli-tsgen OCLIF plugin and tsgen command (CLI 1.x line).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
PR and release checklist for cli-cm-regex-validate (security, packaging, CI, messages)
Contentstack CLI plugin patterns for cm:stacks:validate-regex (SDK, schema, safe-regex, output)
Local and CI workflow for cli-cm-regex-validate — commands, layout, naming, hooks, and merge expectations
Jest testing patterns for cli-cm-regex-validate (mocks, fixtures, no live API calls)
Reviews pull requests and risky changes for the contentstack-cli-content-type plugin. Use when reviewing diffs, security-sensitive edits, dependency upgrades, or changes to compare/diagram/temp-file behavior, ESLint, and tests.
Develops and maintains the contentstack-cli-content-type csdx plugin (content-type list, details, audit, compare, compare-remote, diagram). Use when editing this repository, ContentTypeCommand setup and flags, CMA/Management SDK usage, axios audit/references calls, diff/compare HTML output, Graphviz diagrams, or oclif readme/manifest workflows.
| name | typescript-cli-tsgen |
| description | Mental model for the contentstack-cli-tsgen OCLIF plugin and tsgen command (CLI 1.x line). |
csdx: implements TypeScriptCodeGeneratorCommand in src/commands/tsgen.ts.@contentstack/types-generator (npm)—version ^3.10.0 in package.json.@contentstack/cli-command ~1.8.2 and @contentstack/cli-utilities ~1.18.3.| Concern | Where |
|---|---|
New flags, output path, csdx UX, printFormattedError | This package (src/commands/, src/lib/) |
| Schema mapping, Delivery SDK calls, GraphQL introspection | @contentstack/types-generator |
src/lib/helper.ts: sanitizePath, printFormattedError.src/types/index.ts: StackConnectionConfig.tsgen)Command from @contentstack/cli-command.token-alias (-a, required), output (-o), prefix, doc, branch, include-system-fields, include-editable-tags, include-referenced-entry, api-type (rest | graphql), namespace (GraphQL).this.getToken(flags["token-alias"]); warn if not a delivery token.generateTS; GraphQL → graphqlTS; write with fs.writeFileSync.