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

Rules

Build & Development Commands

Testing Guidelines

Code Style & Guidelines

rules:

  • Always annotate Python functions with their parameter and return types

  • 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"
  • uses: myprofile/my-mood-setter with: TONE: concise

prompts:

  • 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