.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.
- Click your profile icon in the top right
- Click Settings
- Click the Project Settings tab
- Click the .inspectorrules file
- Edit the file
- Click the Save button
Example
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.