ワンクリックで
contentstack-cli
Contentstack CLI plugin patterns for cm:stacks:validate-regex (SDK, schema, safe-regex, output)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Contentstack CLI plugin patterns for cm:stacks:validate-regex (SDK, schema, safe-regex, output)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
PR and release checklist for cli-cm-regex-validate (security, packaging, CI, messages)
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.
Local build, test, lint, coverage, TypeScript layout, ESLint, and oclif-generated docs for contentstack-cli-content-type. Use when changing package.json scripts, tsconfig, .eslintrc, Jest config, README/oclif manifest, or validating before a PR.
| name | contentstack-cli |
| description | Contentstack CLI plugin patterns for cm:stacks:validate-regex (SDK, schema, safe-regex, output) |
csdx cm:stacks:validate-regex command or flagssrc/utils/ or user-facing strings in messages/index.jsonsafe-regex, or CSV/table outputcsdx cm:stacks:validate-regex — validates regex format fields on content types and/or global fields using safe-regex.Open skills/contentstack-cli/ when changing commands, utils, or messages/index.json (or point your agent at this folder if supported).
@contentstack/cli-cm-regex-validatecm:stacks:validate-regex (short name RGXVLD in package.json csdxConfig when present)src/commands/cm/stacks/validate-regex.tsthis.parse(ValidateRegex); flags: alias, contentType, globalField, filePath, help.inquireAlias / inquireModule (src/utils/interactive.ts, Inquirer).this.getToken(alias) from Contentstack CLI; errors use messages.validateRegex.errors.tokenNotFound and ref to docs.connect-stack.ts: contentstackSdk.client({ host }), optional early_access headers, client.stack({ api_key, management_token }).process-stack.ts: for each selected module, stack.contentType() / stack.globalField() → .query({}).find(), then safe-regex.ts on each item.generate-output.ts: results.csv via jsonexport, table via cli-table3, paths via sanitizePath; user copy from messages/index.json.schema for group and global_field.blocks, iterate blocks and each block’s schema.format, call safe-regex; collect module, title, UID, field metadata, and pattern for invalid rows.messages/index.json → validateRegex (command, interactive, cliAction, errors, output).@contentstack/cli-command, @contentstack/cli-utilities, @contentstack/managementcli-ux (spinner), inquirer (prompts), safe-regex, jsonexport, cli-table3