Skip to content

Roo Code Formatter

PromptScript compiles your .prs sources to native Roo Code configuration. The main output is .roorules. It is not enabled by default, add it to targets to use it.

Enable the Target

targets:
- roo

Pick an output version when you need more than the default:

targets:
- roo:
version: full

At a Glance

PropertyValue
TierTier 1
Main output.roorules
SkillsNo
AgentsNo
CommandsNo
Local filesNo

Output Files

FilePathPurpose
Main instructions.roorulesPrimary rule file

Output Versions

VersionOutput
simpleSingle .roorules file
multifile.roorules + .roo/mcp_settings.json
full (default).roorules + .roo/mcp_settings.json

MCP and Hooks

BlockSupport
@mcpServers.roo/mcp_settings.json (json)
@hooksNot supported

Native hook reference: https://promptscript.dev/docs/guides/hooks/

Supported Features

FeatureSupported
Markdown OutputYes
MDC FormatNo
Code BlocksYes
Mermaid DiagramsYes
Single File OutputYes
Multiple Rule FilesPlanned
Workflow FilesNo
Nested Directory StructureYes
YAML FrontmatterNo
Description in FrontmatterNo
Globs in FrontmatterNo
Activation TypeNo
Glob Pattern TargetingNo
Always Apply RulesYes
Manual ActivationNo
Auto/Model ActivationNo
Structured ExamplesYes
Character Limit ValidationNo
Content Section SplittingYes
Guard DependenciesYes
Context File InclusionNo
@-MentionsNo
Tool IntegrationNo
Path-Specific RulesNo
Prompt FilesNo
Slash CommandsNo
SkillsNo
Agent InstructionsNo
Local MemoryNo
Nested MemoryNo

See Also