Skip to content

Commit 372fb46

Browse files
committed
feat: Add Roo Custom Modes support as third output format
- Add Roo Modes support with --output-format roo option - Create comprehensive Roo Modes prompt template (src/prompts/roo_modes.md) - Update CLI to support roo output format alongside cursor and cline - Update rules generation logic to handle different output formats - Fix repomix to output single file instead of folder (-o flag) - Update LLM generator to use correct prompts and tag extraction for each format - Add Roo Modes documentation to README with examples and features - Support for .roomodes YAML configuration files - Specialized AI personas with tool access permissions and file restrictions All three output formats now supported: - Cursor AI Rules (.rules.mdc) - Cline Rules (.clinerules) - Roo Custom Modes (.roomodes)
1 parent 3a61f70 commit 372fb46

11 files changed

Lines changed: 370 additions & 83 deletions

README.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,20 @@ cursorifier https://github.com/facebook/react --output-format cline
112112
- Team consistency and best practices
113113
- Focus on development workflow
114114

115+
### **Roo Custom Modes**
116+
```bash
117+
# Generate Roo Custom Modes
118+
cursorifier https://github.com/facebook/react --output-format roo
119+
# Output: react-output/.roomodes
120+
```
121+
122+
**Features:**
123+
- `.roomodes` YAML configuration file
124+
- Specialized AI personas for different tasks
125+
- Tool access permissions and file restrictions
126+
- Custom behavioral instructions
127+
- Mode-specific expertise and capabilities
128+
115129
## 🛡️ Reliability Features
116130

117131
### **Automatic Rate Limit Handling**
@@ -161,10 +175,10 @@ cursorifier https://github.com/facebook/react --output-format cline
161175
</td>
162176
<td width="50%">
163177

164-
### 🎯 **Production Ready**
165-
- Generates `.rules.mdc` files
166-
- Drop-in Cursor AI integration
167-
- Zero configuration required
178+
### 🎯 **Multi-Format Support**
179+
- **Cursor AI Rules** - `.rules.mdc` files for Cursor
180+
- **Cline Rules** - `.clinerules` files for Cline
181+
- **Roo Custom Modes** - `.roomodes` YAML for Roo
168182

169183
</td>
170184
</tr>
@@ -234,6 +248,15 @@ cursorifier --output-format cline --description "React project guidelines and co
234248
# Generate Cline rules using local model
235249
cursorifier --output-format cline --provider local --model llama3.1 --base-url http://localhost:11434/v1
236250

251+
# Generate Roo Custom Modes
252+
cursorifier --output-format roo
253+
254+
# Generate Roo Custom Modes with specific description
255+
cursorifier --output-format roo --description "TypeScript development with AI integration"
256+
257+
# Generate Roo Custom Modes using OpenAI
258+
cursorifier --output-format roo --provider openai --model gpt-4o
259+
237260
# List available providers and models
238261
cursorifier --list-providers
239262

@@ -267,7 +290,7 @@ Options:
267290
--temperature <temp> Temperature for generation (0-2, default: 0.7)
268291
--description <text> Description of what should be rulefied
269292
--rule-type <type> Type of rule to generate (auto, manual, agent, always)
270-
--output-format <format> Output format for rules (cursor, cline) (default: cursor)
293+
--output-format <format> Output format for rules (cursor, cline, roo) (default: cursor)
271294
--chunk-size <size> Chunk size for processing (default: 100000)
272295
--chunk-delay <ms> Delay between chunks in milliseconds to avoid rate limits (default: 5000)
273296
--repomix-file <path> Path to existing repomix output file (skips repomix execution)

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)