Skip to content

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:

OptionDescriptionUse Case
ChineseChinese responseChinese work environment
EnglishEnglish responseInternational projects
Auto DetectAuto-select based on inputMulti-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

  1. Enter Rules Settings Page

    • Click "Rules" option in the sidebar
    • Select "Add Rule" button
  2. Configure Rule Content

    • Enter rule content
    • Set rule enable/disable status
    • Save and test rule effects
  3. Rule Operations

    • Edit: Modify existing rule content
    • Delete: Remove unnecessary rules
    • Enable/Disable: Control rule activation status

Usage Examples

Project Management Rules

markdown
# Project Management Rules

- Task Decomposition: Break complex tasks into manageable subtasks
- Progress Tracking: Regularly update project progress status
- Risk Assessment: Identify and assess project risks

Development Team Rules

markdown
# Development Team Rules

- Code Review: All code must be reviewed
- Commit Standards: Use unified commit message format
- Documentation Requirements: Important features must provide documentation

Best Practices

Rule Writing Suggestions

  1. Clear and Specific: Rule descriptions should be clear and unambiguous
  2. Moderate Configuration: Don't set too many conflicting rules
  3. Regular Optimization: Adjust rule configuration based on usage effects
  4. 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.