You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide defines the writing style for Roo Code documentation. The style is direct, concise, and technical. It avoids marketing language and prioritizes clarity for a developer audience. All output must be in markdown.
4
+
</overview>
5
+
6
+
<discovery_principle>
7
+
<rule>Before writing or editing documentation, always explore existing documentation to understand established patterns, style, and structure.</rule>
8
+
<steps>
9
+
<step>Use list_files to explore the documentation structure</step>
10
+
<step>Read similar existing documents to understand the style</step>
11
+
<step>Follow established patterns rather than imposing new ones</step>
12
+
</steps>
13
+
</discovery_principle>
14
+
15
+
<content_validation_principle>
16
+
<rule>MANDATORY: Before making ANY changes to existing documentation files, you MUST complete the redundancy validation workflow. This is NOT optional.</rule>
17
+
<enforcement>
18
+
<requirement>You CANNOT proceed with edits until validation is complete</requirement>
19
+
<requirement>You MUST document validation results before making changes</requirement>
20
+
<requirement>Skipping validation steps will result in task rejection</requirement>
21
+
</enforcement>
22
+
<redundancy_checkpriority="CRITICAL">
23
+
<mandatory_steporder="1">Use codebase_search to find ALL mentions of the topic across documentation</mandatory_step>
24
+
<mandatory_steporder="2">Search for multiple variations of key terms (e.g., if editing "authentication", also search "auth", "login", "security", "credentials")</mandatory_step>
25
+
<mandatory_steporder="3">Read and analyze EVERY discovered location thoroughly</mandatory_step>
26
+
<mandatory_steporder="4">Create a validation report listing:
27
+
- All locations where similar content exists
28
+
- The current state of each location
29
+
- Potential conflicts or duplications
30
+
- Recommendation for how to proceed
31
+
</mandatory_step>
32
+
<mandatory_steporder="5">If similar content exists, you MUST determine:
33
+
- Is this an update to existing content? (proceed to that location)
34
+
- Is this a consolidation opportunity? (merge content)
35
+
- Is this truly new, non-redundant content? (proceed with caution)
36
+
</mandatory_step>
37
+
</redundancy_check>
38
+
<cohesion_validationpriority="CRITICAL">
39
+
<mandatory_step>Check for contradictions with existing documentation</mandatory_step>
40
+
<mandatory_step>Verify that new content aligns with established terminology and concepts</mandatory_step>
41
+
<mandatory_step>Ensure cross-references are accurate and bidirectional where appropriate</mandatory_step>
42
+
<mandatory_step>Validate that the change enhances rather than fragments the documentation flow</mandatory_step>
43
+
<mandatory_step>Document how the change improves overall documentation cohesion</mandatory_step>
44
+
</cohesion_validation>
45
+
<validation_gate>
46
+
<rule>You MUST use ask_followup_question to confirm validation results with the user BEFORE proceeding with any edits</rule>
47
+
<template>
48
+
"I've completed the mandatory redundancy validation. Here's what I found: [validation results]. Based on this analysis, I recommend: [recommendation]. Should I proceed with this approach?"
49
+
</template>
50
+
</validation_gate>
51
+
</content_validation_principle>
52
+
53
+
<core_principles>
54
+
<principlename="directness">
55
+
<rule>Start with the most important information. No filler introductions.</rule>
56
+
<bad>In this guide, we will explore how to configure the tool.</bad>
57
+
<good>To configure the tool, open...</good>
58
+
</principle>
59
+
<principlename="brevity">
60
+
<rule>Use short sentences. Cut unnecessary words. If it doesn't add value, remove it.</rule>
61
+
</principle>
62
+
<principlename="utility">
63
+
<rule>Focus on what the user can do and why it matters. Provide actionable steps.</rule>
64
+
</principle>
65
+
<principlename="consistency">
66
+
<rule>When editing a document, use its existing style, structure, and format as a guideline for any updates. Do not make major changes unless explicitly asked.</rule>
67
+
<discovery_approach>
68
+
<step>Read the entire document first to understand its current style</step>
69
+
<step>Identify patterns in headings, formatting, and tone</step>
70
+
<step>Match the existing style in your edits</step>
71
+
</discovery_approach>
72
+
</principle>
73
+
</core_principles>
74
+
75
+
<banned_language>
76
+
<description>Avoid marketing jargon, buzzwords, and clichés. These words are ambiguous and reduce signal.</description>
77
+
<discovery_note>When editing existing documentation, check if any of these words are already used and maintain consistency with the existing approach.</discovery_note>
78
+
<words>
79
+
<word>seamlessly</word>
80
+
<word>comprehensive</word>
81
+
<word>enhanced</word>
82
+
<word>streamlined</word>
83
+
<word>powerful</word>
84
+
<word>improved</word>
85
+
<word>intuitive</word>
86
+
<word>state-of-the-art</word>
87
+
<word>revolutionary</word>
88
+
<word>robust</word>
89
+
<word>easily</word>
90
+
<word>simply</word>
91
+
</words>
92
+
</banned_language>
93
+
94
+
<formatting>
95
+
<guideline>Use structured headings, lists, and short paragraphs for scannability.</guideline>
0 commit comments