Version: 1.5.4
Standardizes naming across the workspace β file system, source code, CSS, and metadata. Goal: consistency, cross-platform compatibility, and readability for both humans and AI.
- Type: Global (all projects)
- Priority: π’ Standard
- Trigger: Creating files, directories, branches, commits
MUST use kebab-case (lowercase, hyphens). Cross-platform safe, URI friendly, CLI safe.
β
user-profile.tsx, api-service.js Β· β user_data.json, UserProfile.tsx
| Object | Convention | Examples |
|---|---|---|
| Components & classes | PascalCase |
UserCard, AuthService |
| Variables & functions | camelCase |
isLoading, calculateTotal() |
| Constants & env vars | UPPER_SNAKE_CASE |
MAX_RETRY_COUNT, API_BASE_URL |
MUST use kebab-case for CSS classes/IDs (.btn-primary, #main-content) and HTML data attributes (data-user-id).
MUST use camelCase for keys in .para-workspace.yml and project metadata (projectName, lastSync).
MUST use kebab-case for filenames: /new-project, naming.md, para-discipline.md.
- Standard docs:
README.md,LICENSE,VERSION,CHANGELOG.md(uppercase convention) - Tool configs:
package.json,tsconfig.json(tool requirements) - Top-level Pillars:
Projects,Areas,Resources,Archive(PascalCase for visual hierarchy)
File β kebab-case
Component β PascalCase
Variable β camelCase
Constant β UPPER_SNAKE_CASE
CSS class β kebab-case
Config key β camelCase
Pillar folder β PascalCase
- PARA Discipline β File organization
- VCS β Commit message conventions
- Source:
templates/common/agents/rules/naming.md