Customization
Rules
Rules are persistent instructions that are automatically included in UltraCoder's context for every task. Use them to encode project conventions, coding standards, or personal preferences so you don't have to repeat yourself.
What rules are for
- Project coding conventions (“Always use Tailwind, never write inline CSS”)
- Tech stack constraints (“This is a Next.js App Router project — don't use pages/”)
- Output format preferences (“Write commits in Conventional Commits format”)
- Security requirements (“Never log user PII”)
- Team workflows (“Always write a test for every new function”)
Creating a rule
Three ways to create a rule:
- Click the Rules button in the AI panel toolbar → New Rule
- Type
/newrulein the chat — UltraCoder will create a rule based on the current conversation - Ask UltraCoder: “Create a rule that always uses async/await instead of .then()”
Rule scope
Rules can be scoped to apply in different situations:
| Scope | When it applies |
|---|---|
| Always | Included in every task, regardless of file or context |
| Specific files | Only included when UltraCoder is working in files matching a glob pattern (e.g. *.test.ts) |
| Manual | Only included when you explicitly reference it in the chat |
✦ Tip:Keep rules short and specific. Long rules with many instructions are harder for the model to follow reliably. Create separate rules for separate concerns.
Enabling and disabling rules
Open the Rules panel to see all rules. Each rule has a toggle to enable or disable it without deleting it. The setting ultra-coder.useAgentRules controls whether rules are applied at all (default: true).
Sharing rules with a team
Rules are stored in extension settings and can be exported via Settings → Export Settings. Share the exported JSON file with teammates, or commit it to your repository for team-wide consistency.