thehimel

30 mods across 1 repository, 245 stars between them.

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.

245 23d ago A 404 tokens

documentation

09

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.

245 23d ago A 721 tokens

human-writing-style

10

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.

245 23d ago A 1,007 tokens

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.

245 23d ago A 672 tokens

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/.

245 23d ago A 553 tokens

code-migration

16

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.

245 23d ago A 255 tokens

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.

245 23d ago A 502 tokens

file-endings

19

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.

245 23d ago A 399 tokens

file-organization

20

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.

245 23d ago A 453 tokens

libraries

21

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.

245 23d ago A 184 tokens

restrictions

22

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).

245 23d ago A 151 tokens

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.

245 23d ago A 431 tokens