thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Perform project audit — best practices, conventions, security, performance, scalability.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Perform project audit — best practices, conventions, security, performance, scalability.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Ensures that when creating rules or prompts for AI agents, copyrighted course materials are never included. Requires using generic, domain-agnostic examples instead of specific course content, terminology, or examples from lectures.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Guidelines for writing exam-style answers in a practical, conversational style with definitions first followed by real-world examples.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Guidelines for including course materials lists and inline references when writing exam answers or documentation that references course materials.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Guidelines for adding Mermaid diagrams to exam answers and documentation with automatic SVG generation support.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Guidelines for creating short/concise versions of detailed answers.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Guidelines for creating and editing SVG icons with properly centered content using mathematical calculations.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Guidelines for formatting markdown documentation to improve readability and scannability.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Rules for documentation structure, file naming conventions, source attribution, code comments style, and linking patterns. Ensures consistent markdown organization and neutral, professional documentation.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Rules for writing naturally and authentically - avoid robotic AI tone in documentation, code comments, error messages, and explanations. Write like a human colleague, not a customer service bot.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Never treat analysis/ as documentation to read, update, or cite by default.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Guidelines for wrapping text lines at approximately 120 characters for better readability in documentation.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Rules for organizing feature documentation sequentially when implementing new features. Determines whether to use sequential numbering and folder structure based on existing documentation patterns.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Rules for organizing Electron projects with clear separation between foundational/template code and application-specific code. Template code goes in src/, app-specific code goes in src/app/.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Enforce proper use of articles (a, an, the) in comments to maintain grammatical correctness and readability.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Guidelines for ensuring all references are updated when moving files or directories. Covers code references, configuration files, documentation, and verification steps.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Align inline comments within blocks using longest-line + 2 spaces.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Rules for organizing feature code in single directories. All feature-related code (types, hooks, components, utils) must be grouped together in one feature directory.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Files must end with exactly one newline character. No trailing newlines beyond the single required newline at the end of file content.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Rules for consolidating related components into single files instead of splitting them. Defines when to consolidate vs split components based on coupling and domain.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Rules for library selection - prefer popular, well-maintained libraries over custom code. Research and use battle-tested solutions before writing custom implementations.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Restrictions and constraints - what not to do (inline styles, custom CSS, new UI libraries, large refactors) and what to do (minimal changes, follow patterns, reuse code).
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Meta-rule ensuring all rules in .cursor/rules/ directory are always followed in every conversation and project. This rule takes precedence and ensures comprehensive rule compliance.
thehimel/cursor-rules-and-prompts
Cursor rule Cursor
Concise guidelines for creating rules and prompts with required frontmatter and optimization techniques.