What You’ll Learn
- Understanding user rules and project rules
- When to use each rule type
- Writing effective rules
Rule Types
| Rule Type | File | Scope | Purpose |
|---|---|---|---|
| User Rules | VERDENT.md | Global (all projects) | Personal coding preferences |
| Project Rules | AGENTS.md | Current project | Team conventions, project standards |
~/.verdent/VERDENT.md (User Rules) | <project>/AGENTS.md (Project Rules)
User Rules (VERDENT.md)
User Rules let you customize how Verdent behaves across all projects. Access: Settings → User Rules Auto-save: Changes auto-save after 500ms- Purpose
- Example
- Coding style preferences: Indentation, naming conventions
- Framework conventions: React, Vue, language standards
- Response formatting: Verbosity, explanation style
- Personal workflow preferences: Tone, communication style
Project Rules (AGENTS.md)
Project rules define standards specific to the current project. Commit to version control for team-wide sharing. Access: Project Settings panel Location: Project root (<project>/AGENTS.md)
- Use Cases
- Example
- Team conventions: Shared coding standards
- Architecture: Design patterns, state management
- Testing: Coverage requirements, frameworks
- Workflows: Build commands, PR guidelines
Writing Effective Rules
Be Specific:- Use clear, directive language (“Always…”, “Never…”, “Prefer…”)
- Group related rules under section headers
- Keep rules concise (one concept per bullet)
- Review and update rules as project evolves
FAQs
How do I create rule files?
How do I create rule files?
Navigate to Settings → User Rules to edit
VERDENT.md for personal preferences. Create AGENTS.md in your project root for project-specific rules. Use plain Markdown with bullet points.When do rule changes take effect?
When do rule changes take effect?
Rule changes apply immediately in new conversations and influence current conversation responses.
Can I override rules temporarily?
Can I override rules temporarily?
You can provide specific instructions in your prompt to override rules for a single request.