Setup
Automatic Setup
When you runnpx ultracite init, you’ll be prompted to select which AI agents you want to enable:
Manual Setup
If you want to manually set things up, create the relevant file in your project directory. You can find the rule file location for each agent on their respective pages. Then, copy and paste this content into the file.Supported Agents
Ultracite supports a wide range of AI coding assistants. Check the Agents section in the navigation bar for the full list of supported agents, including setup instructions and configuration details for each one.Benefits
Using Ultracite editor rules provides several advantages:- Consistency: All AI-generated code follows the same conventions
- Quality: Rules enforce best practices and prevent common mistakes
- Accessibility: Built-in accessibility guidelines ensure inclusive code
- Performance: Rules promote efficient patterns and avoid anti-patterns
- Security: Guidelines help prevent common security vulnerabilities
Customization
While the default rules are comprehensive, you can customize them for your specific needs:- Modify existing rules: Edit the rule files directly
- Add project-specific rules: Append additional guidelines
- Disable rules: Remove or comment out rules that don’t apply to your project