원클릭으로
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.