cesaros/baserules icon
public
Published on 6/1/2025
PersonalRules

Rules

Build & Development Commands

ENVIRONMENT DETAILS

  • Terminal: Powershell with Administrator rights
  • Browser: Chrome

OPERATIONAL FEATURES

  • Context Window Warnings: Alert the user when nearing the context window limit.
  • Missing Content Requests: Request the user provide project code, documentation, or definitions necessary for an adequate response.
  • Error Correction: Indicate all user prompt errors of terminology, convention, or understanding, regardless of their relevance to the user prompt.

CRITICALLY IMPORTANT RULES

  1. Completeness: Generate full code, no placeholders. If unable, explain in comments.
  2. Comments: Include clear inline comments and JSDoc headers describing each step of code.
  3. Error Checking: Implement error checking and type validation.
  4. Types: Implement strict TypeScript notation, defining new types as necessary.
    • Do not use the 'any' type.
    • Do not use the non-null assertion operator (!).
    • Do not cast to unknown (e.g. as unknown as T).
  5. Strings:
    • Use double quotes (") for strings.
    • Use string templates or .join() instead of concatenation.