UNPKG

agent-rules-kit

Version:

Bootstrap of **Cursor** rules (`.mdc`) and mirror documentation (`.md`) for AI agent-guided projects.

18 lines (13 loc) 652 B
--- description: Naming conventions for Node.js globs: <root>/src/**/*.{js,ts},<root>/**/*.js,<root>/**/*.ts alwaysApply: false --- # Node.js Naming Conventions Follow these conventions for a consistent codebase. - **Variables and functions**: use `camelCase`. - **Classes and constructors**: use `PascalCase`. - **File and directory names**: prefer `kebab-case` or lowercase with dashes. - **Constants and environment variables**: use `UPPER_SNAKE_CASE`. - Avoid spaces or accented characters in filenames. For more guidance, see the [Node.js style guide](https://github.com/nodejs/node/blob/main/doc/guides/contributing/writing-tests.md#naming).