r-munnelly/slug icon
public
Published on 5/13/2025
rules

Rules

Build & Development Commands

Testing Guidelines

Code Style & Guidelines

  • name: TypeScript best practices rule: Always use TypeScript interfaces to define shape of objects. Use type aliases sparingly. globs: "**/*.{ts,tsx}"

  • name: TypeScript test patterns rule: In TypeScript tests, use Jest's describe/it pattern and follow best practices for mocking. globs:

    • "src/**/*.test.ts"
    • "tests/**/*.ts"
  • name: check description: Check for mistakes in my code prompt: | Please read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:

    • Syntax errors
    • Logic errors
    • Security vulnerabilities

Documentation Guidelines