Skip to main content
Create .inspectorrules at your repository root to guide AI behavior. Works with all Inspector agents.

Editing Inspector Rules

You can edit .inspectorrules directly in Inspector through the settings.
  1. Click your profile icon in the top right
  2. Click Settings
  3. Click the Project Settings tab
  4. Click the .inspectorrules file
  5. Edit the file
  6. Click the Save button

Example

This is a Next.js 14 project with TypeScript.
Use Tailwind CSS for styling.
Follow existing patterns in src/components.

Use Cases

  • Branding — Colors, fonts, design tokens
  • Coding standards — Naming, patterns, forbidden practices
  • Project context — Architecture, dependencies, constraints
Commit .inspectorrules to share guidance with your team.