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 |
- Use @ in chat (e.g.
@oclif-tsgen,@dev-workflow) to pull in rule context. code-review.mdcapplies automatically (alwaysApply: true); others match globs or manual @-mentions.