CLAUDE.md · CLAUDE.md (Project)
Code Style Rules
Define coding conventions and style preferences for your project
styleconventionstypescript
Template content
# Code Style - Use TypeScript strict mode - Prefer functional components with hooks - Use named exports over default exports - Keep functions under 30 lines - Use early returns to reduce nesting - Prefer `const` over `let`, never use `var` # Naming Conventions - Components: PascalCase - Functions/variables: camelCase - Constants: UPPER_SNAKE_CASE - Files: kebab-case for utilities, PascalCase for components # Imports - Group imports: external libs, internal modules, relative imports - Use path aliases (@/) for internal imports
Use this template in the editor
Open PromptEditor.io to customize this template, save it, and inject it into any AI chat.
Open the editor