AI Rules

Supported Clients

Learn about the different AI assistant clients supported by Nuxt AI rules.

Nuxt AI creates rules that can be used with various AI assistant clients. This guide covers the clients currently supported and how to use rules with each one.

Integration with Nuxt AI

Nuxt AI automatically generates Cursor rules in the configured path. The configuration in nuxt.config.ts is managed through development options:

nuxt.config.ts
export default defineNuxtConfig({
  ai: {
    // Development-only options
    dev: {
      // Choose which AI client to use ('cursor', 'claude', ...)
      client: 'cursor',
      // Rules configuration
      rules: {
        enabled: true, // Default is true
      },
    }
  }
})

The dev field contains all development-related configurations:

  • client: Choose between 'cursor' or 'claude' as your AI assistant
  • rules: Enable/disable rule generation

Supported AI Clients

ClientDescriptionGenerated Rule Format
CursorAI-powered code editor with built-in assistant.mdc files in .cursor/rules/
ClaudeAnthropic's AI assistantStandard Markdown (CLAUDE.md) file