بنقرة واحدة
dev-workflow
Local and CI workflow for cli-cm-regex-validate — commands, layout, naming, hooks, and merge expectations
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Local and CI workflow for cli-cm-regex-validate — commands, layout, naming, hooks, and merge expectations
التثبيت باستخدام 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)
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 | dev-workflow |
| description | Local and CI workflow for cli-cm-regex-validate — commands, layout, naming, hooks, and merge expectations |
npm test — Jest (jest.config.ts, ts-jest). Canonical test runner; CI runs only this in .github/workflows/unit-tests.yml (no ESLint in CI).npm run posttest — ESLint on .ts files. Run locally before merge; not executed by the unit-test workflow.If Husky is installed, pre-commit may run Talisman (secrets) and Snyk. Use SKIP_HOOK=1 only when you understand the bypass.
test/utils/ (or add a fixture in test/data/).src/ to pass.| Area | Path | Role |
|---|---|---|
| Command | src/commands/cm/stacks/validate-regex.ts | oclif command cm/stacks/validate-regex |
| Utils | src/utils/ | connect-stack, process-stack, safe-regex, generate-output, interactive |
| Messages | messages/index.json | User-facing strings for the command |
| Tests | test/utils/*.test.ts | Jest suites mirroring utils |
| Fixtures | test/data/*.json | JSON fixtures for schema and expected outputs |
npm test).npm run posttest or ESLint as configured in package.json). CI does not run ESLint; this is a local gate.safe-regex, outputFor workflow and layout questions, open the skills/dev-workflow/ folder (or your agent tool’s equivalent to this path).