Skip to content

Conversation

@hannesrudolph
Copy link
Collaborator

@hannesrudolph hannesrudolph commented Aug 20, 2025

…ils and AGENTS.md support


Important

Enhances custom-instructions.md with recursive loading details and AGENTS.md support for Roo Code.

  • Recursive Loading:
    • Updates custom-instructions.md to specify recursive reading of instruction files in .roo/rules/ and .roo/rules-{modeSlug}/ directories, including subdirectories.
    • Clarifies fallback to .roorules if .roo/rules/ is empty.
  • AGENTS.md Support:
    • Adds support for AGENTS.md or AGENT.md in workspace root for agent-specific rules.
    • Loaded after mode-specific rules but before general workspace rules.
    • Can be disabled via VSCode settings.
  • Misc:
    • Updates rule loading order and interaction details in custom-instructions.md.
    • Clarifies symbolic link support and file filtering for rule directories.

This description was created by Ellipsis for c349476. You can customize this summary. It will automatically update as commits are pushed.

Copilot AI review requested due to automatic review settings August 20, 2025 23:58
@vercel
Copy link

vercel bot commented Aug 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
roo-code-docs Ready Ready Preview Comment Aug 21, 2025 0:05am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the custom instructions documentation by clarifying recursive loading behavior and adding support for AGENTS.md files. The changes improve documentation accuracy and add a new feature for standardized agent behavior rules.

  • Clarifies that rule directories are read recursively including subdirectories
  • Updates the system prompt structure to show combined loading from both global and workspace directories
  • Documents new AGENTS.md support for standardized AI agent behavior rules

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

# Rules from .roorules-{modeSlug}:
[Contents of .roorules-{modeSlug} file if no mode-specific directories have files]
# Rules from .rooignore:
Copy link

Copilot AI Aug 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .rooignore section is mentioned in the system prompt template but not explained anywhere in the documentation. This leaves users unclear about what .rooignore-related instructions are or how they work.

Copilot uses AI. Check for mistakes.

* **Purpose:** Provides agent-specific rules and guidelines for AI behavior
* **Location:** Must be in the workspace root directory
* **Loading:** Automatically loaded by default (can be disabled via `settings.useAgentRules`)
Copy link

Copilot AI Aug 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The setting name settings.useAgentRules should be clarified with the full configuration path or section name to help users locate this setting in their configuration.

Suggested change
* **Loading:** Automatically loaded by default (can be disabled via `settings.useAgentRules`)
* **Loading:** Automatically loaded by default (can be disabled via `roo.useAgentRules` in your configuration file)

Copilot uses AI. Check for mistakes.
@hannesrudolph hannesrudolph merged commit 9383b2e into main Aug 21, 2025
3 checks passed
@hannesrudolph hannesrudolph deleted the si branch August 21, 2025 00:05
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants