Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.44 KB

File metadata and controls

16 lines (12 loc) · 1.44 KB

Cursor rules for contentstack-cli-tsgen

This folder contains project-specific rules. Each .mdc file uses YAML frontmatter (description, globs, alwaysApply).

Rule file alwaysApply Globs When it applies Related skill
dev-workflow.mdc No package.json, package-lock.json, .github/workflows/**/*, tsconfig.json, jest.config.js, .eslintrc.js, AGENTS.md Workflow, CI, release, package scripts testing, code-review
typescript.mdc No src/**/*.ts, tests/**/*.ts TypeScript and ESLint conventions typescript-cli-tsgen
oclif-tsgen.mdc No src/commands/**, src/lib/** OCLIF command, flags, delegation to @contentstack/types-generator typescript-cli-tsgen
testing.mdc No tests/**, jest.config.js Jest and integration tests with csdx testing
code-review.mdc Yes Every change code-review

Referencing rules in Cursor

  • Use @ in chat (e.g. @oclif-tsgen, @dev-workflow) to pull in rule context.
  • code-review.mdc applies automatically (alwaysApply: true); others match globs or manual @-mentions.