diff --git a/.cursor/rules/react-typescript.mdc b/.cursor/rules/react-typescript.mdc index 472809a405..44ed605cff 100644 --- a/.cursor/rules/react-typescript.mdc +++ b/.cursor/rules/react-typescript.mdc @@ -43,6 +43,7 @@ UI and Styling - Follow BEM for modals (.DashboardMenu__modal) - Import styles directly (MyComponent.scss) - Replace custom SCSS with Tailwind when possible + - When mentioning PostHog products, the product names should use Sentence casing, not Title Casing. For example, 'Product analytics', not 'Product Analytics'. Any other buttons, tab text, tooltips, etc should also all use Sentence casing. For example, 'Save as view' instead of 'Save As View'. Testing Requirements - Logic tests for all Kea logic files @@ -54,4 +55,4 @@ Core Principles - Prioritize maintainability over development speed - Keep data layer separate from view hierarchy - Write clear, understandable code - - Think data first, implement views second \ No newline at end of file + - Think data first, implement views second diff --git a/AGENTS.md b/AGENTS.md index 5c823694b6..ef32d16682 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -94,3 +94,4 @@ See `posthog/clickhouse/migrations/AGENTS.md` for comprehensive patterns, exampl ## General - Use American English spelling +- When mentioning PostHog products, the product names should use Sentence casing, not Title Casing. For example, 'Product analytics', not 'Product Analytics'. Any other buttons, tab text, tooltips, etc should also all use Sentence casing. For example, 'Save as view' instead of 'Save As View'.