Rules
The rules feature manages your custom user rules and preferences, enhancing Chaterm's intelligence and work efficiency. By configuring personalized rules, you can customize AI assistant behavior patterns to better match your work habits and needs.
Feature Overview
The rules system is one of Chaterm's core features, allowing you to:
- Customize AI Behavior: Set AI assistant response style and work mode
- Improve Work Efficiency: Optimize AI assistant output quality through rule configuration
- Personalized Experience: Customize AI interaction methods according to personal preferences
- Scenario Adaptation: Configure specialized rule sets for different work scenarios
Rule Configuration
Basic Settings
Response Language Settings
Configure the AI assistant's default response language:
| Option | Description | Use Case |
|---|---|---|
| Chinese | Chinese response | Chinese work environment |
| English | English response | International projects |
| Auto Detect | Auto-select based on input | Multi-language environment |
Tone Style Configuration
Set the AI assistant's communication style:
- Professional: Formal, rigorous business tone
- Friendly: Relaxed, approachable communication style
- Technical: Professional, precise technical expression
- Concise: Direct, efficient information delivery
Output Format Requirements
Customize AI response format specifications:
- Code Style: Specify code indentation, naming conventions, etc.
- Document Format: Set Markdown, HTML format preferences
- Structured Output: Configure structured display like lists, tables
Security Rule Settings
Configure security-related behavior restrictions:
- Command Execution Limits: Prohibit execution of dangerous commands
- File Access Control: Restrict access to sensitive files
- Network Operation Standards: Control network request behavior
Rule Management
Create New Rules
Enter Rules Settings Page
- Click "Rules" option in the sidebar
- Select "Add Rule" button
Configure Rule Content
- Enter rule content
- Set rule enable/disable status
- Save and test rule effects
Rule Operations
- Edit: Modify existing rule content
- Delete: Remove unnecessary rules
- Enable/Disable: Control rule activation status
Usage Examples
Project Management Rules
# Project Management Rules
- Task Decomposition: Break complex tasks into manageable subtasks
- Progress Tracking: Regularly update project progress status
- Risk Assessment: Identify and assess project risksDevelopment Team Rules
# Development Team Rules
- Code Review: All code must be reviewed
- Commit Standards: Use unified commit message format
- Documentation Requirements: Important features must provide documentationBest Practices
Rule Writing Suggestions
- Clear and Specific: Rule descriptions should be clear and unambiguous
- Moderate Configuration: Don't set too many conflicting rules
- Regular Optimization: Adjust rule configuration based on usage effects
- Test and Verify: Fully test new rule configurations
Troubleshooting
Common Issues
Q: Rules not taking effect after configuration?
A: Check rule priority settings, ensure rules are enabled, restart the application and test again.
Q: How to delete unnecessary rules?
A: Select the rule to delete in the rule management page, click delete button and confirm the operation.
Q: How to handle rule conflicts?
A: The system executes rules in priority order, with high-priority rules overriding low-priority rules.
Tip: The rules feature is an advanced feature of Chaterm. It's recommended to familiarize yourself with basic features first, then gradually configure personalized rules.