agent-rules-kit
Version:
CLI tool to bootstrap AI agent rules for multiple IDEs and frameworks. Generates optimized rules for Cursor, VS Code, Claude, and 6+ other AI coding assistants.
18 lines (13 loc) • 652 B
Markdown
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).