Release Notes
.codebuddy/rules directory of your codebase, version-controlled, and shareable with team membersRule Type | Description | Context Loading Method |
Always | Applied to every chat session, suitable for core coding standards, architectural constraints, and security requirements | Always loads the full rule content |
Agent Requested | Automatically applied when the Agent determines it's relevant based on description, suitable for documentation, usage guides, and reference materials | Only loads the rule name and description, fetches full content when the model determines it's needed |
Manual | Applied when @ mentioned in conversation (e.g., @my-rule), suitable for feature-specific development guides and optional best practices | Not automatically loaded |
.codebuddy/rules. Each rule corresponds to a folder containing a RULE.mdc file and is version-controlled. Rules can be scoped by path patterns, triggered manually, or automatically included based on relevance.
---description: project descriptionalwaysApply: falseenabled: trueupdatedAt: 2026-01-13T12:03:50.791Zprovider:---...rest of the rule content

---description: My personal coding preferencesalwaysApply: true---# Personal Coding Style## General Preferences- Use 4 spaces for indentation (no tabs)- Maximum line length of 100 characters- Use single quotes instead of double quotes (unless necessary)- Add semicolons at the end of statements## Comment Style- Functions must have JSDoc comments above them- Add inline comments to explain complex logic- Write comments in English## Error Handling- Always wrap potentially error-prone code with try-catch- Log detailed error messages- Display user-friendly error messages to users
CODEBUDDY.mdCODEBUDDY.md is a Markdown file that helps AI quickly understand your current project.CODEBUDDY.md is a plain Markdown file without metadata or complex configuration. It's ideal for projects that only need simple, readable instructions without the additional overhead of structured rules.CodeBuddy supports CODEBUDDY.md located in the project root directory, and by default, loads the entire content into context.AGENTS.md: For backward compatibility, when AGENTS.md exists in the project root directory but CODEBUDDY.md doesn't, CodeBuddy will automatically load the complete content of AGENTS.md into the conversation context.CodeBuddy IDE intelligently loads rules. Only rules with alwaysApply: true are always loaded; other rules are loaded on demand. Recommendations:always (3-5 rules)manual or requested## Architecture DesignPlease refer to the project's architecture documentation: `docs/architecture.md`
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback