8000 GitHub - ipattis/Roo-modes: Personal repo tracking roo modes as they evolve.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ipattis/Roo-modes

Repository files navigation

🚀 Predictive AI Development: Supercharged RooModes Framework

Roo Code Compatible Research-First Approach Predictive Development

🧠 What Is This?

This framework enhances Roo Code's multi-agent system with a research-first, predictive development approach that identifies and addresses potential issues before they arise. By combining specialized AI agents with proactive problem prediction, it creates a more robust, secure, and maintainable development process.

The key concept: Look before you leap. Each AI agent researches potential challenges, pitfalls, and best practices before taking action, delivering evidence-based solutions that mitigate risks from the start.

✨ Core Features

1. Research-First Predictive Framework

Every mode follows a consistent pattern:

  • Research First: Identify potential issues before implementation
  • Justify with Evidence: Back decisions with research findings
  • Predict Edge Cases: Anticipate and plan for potential failures
  • Continuous Validation: Verify against best practices and standards

2. Specialized Agent Ecosystem

A comprehensive team of AI agents covering the entire development lifecycle:

Core Development Flow:

  • ⚡️ SPARC Orchestrator (sparc): Orchestrates complex workflows with memory-driven task delegation
  • 🔍 Deep Research Mode (deep-research): Conducts comprehensive research using Perplexity AI and context7
  • 📋 Specification Writer (spec-pseudocode): Captures requirements and translates to modular pseudocode with TDD anchors
  • 🏗️ Architect (architect): Designs scalable, secure, modular architectures with HuggingFace integration
  • 🧠 Auto-Coder (code): Writes clean, efficient, modular code with HuggingFace ML patterns

Quality & Security:

  • 🧪 Tester (TDD) (tdd): Implements Test-Driven Development with Puppeteer browser testing
  • 🪲 Debugger (debug): Troubleshoots runtime bugs and integration failures
  • 🛡️ Security Reviewer (security-review): Performs static/dynamic audits with HuggingFace code analysis

Specialized Functions:

  • 📚 Documentation Writer (docs-writer): Creates concise, clear Markdown documentation
  • 🔗 System Integrator (integration): Merges outputs into working, tested, production-ready systems
  • 🧹 Optimizer (refinement-optimization-mode): Refactors and improves system performance
  • 📈 Deployment Monitor (post-deployment-monitoring-mode): Observes post-launch performance and logs
  • 🚀 DevOps (devops): Handles deployment, automation, and infrastructure operations

Advanced Functions:

  • ♾️ MCP Integration (mcp): Manages external service connections through MCP interfaces with mem0 memory operations
  • 🔐 Supabase Admin (supabase-admin): Specializes in Supabase database, authentication, and storage management
  • 📘 SPARC Tutorial (tutorial): Provides SPARC onboarding and education assistance
  • Ask (ask): Guides task formulation and delegation to correct SPARC modes

🔮 Key Principles (Symbolic Notation)

This framework uses a token-efficient symbolic notation to encode best practices:

# Core Directives

# 1. Predictive Research First
↹ task•tech
⊕ search•docs•code•history
⊕ check_deprecated
⊕ predict•issues•risks
⊕ research•predict => action

# 2. Justify With Evidence
⊕ action•research•predict
Σ commit•pr•comment + why

# 3. Strict Modularity
⊕ file•lines > 500
⊕ refactor => modules•new_task

# 4. Secure Configuration
⊕ code•secrets => flag
⊕ use•config•env•secrets_mgr

# 5. Version Control Discipline
⊕ work => create_branch
⊕ changes => push_files•commit
⊕ track => create_issue•comment
⊕ integrate => create_pull_request

# 6. Complete & Summarize
⊕ task•end => attempt_completion
Σ summary(done•predict•solve•ref)

💡 Example Workflows

Research-First Development Example

Traditional Approach:

  1. Get requirement: "Build a login with rate limiting"
  2. Code implementation directly
  3. Test after completion
  4. Fix issues as they're discovered

Predictive Approach:

  1. Research rate limiting best practices and common issues
  2. Design architecture addressing potential scaling challenges
  3. Write pseudocode with TDD anchors for identified edge cases
  4. Implement with justification comments for risk mitigation
  5. Test specifically targeting predicted failure modes
  6. Review with focus on whether predicted risks were addressed

Security Enhancement Example

Traditional Approach:

  1. Build feature
  2. Run security scan later
  3. Fix vulnerabilities reactively

Predictive Approach:

  1. Research OWASP Top 10 relevant to the feature
  2. Build with security patterns addressing predicted threats
  3. Document reasoning for security choices
  4. Test specifically targeting predicted vulnerabilities
  5. Review for security as integral part of development

🔧 Setup & Usage

  1. Copy the custom_modes.json file to your Roo Code settings
  2. Reference the symbolic_coding_principles.txt in your custom instructions
  3. Start using the specialized modes in your workflow

Key Integration Features

HuggingFace AI/ML Integration:

  • architect, code, tdd, security-review, spec-pseudocode modes include HuggingFace model integration patterns
  • Model discovery, dataset integration, and performance benchmarking capabilities
  • Secure AI/ML pipeline implementation with proper error handling

MCP Server Integrations:

  • mcp mode with mem0 memory operations for persistent learning
  • deep-research mode with Perplexity AI and context7 integration
  • tdd mode with Puppeteer browser testing capabilities
  • supabase-admin mode with comprehensive Supabase management

Memory-Enhanced Workflows:

  • Cross-session context maintenance with mem0 integration
  • Persistent learning from successful/failed patterns
  • Intelligent recommendations based on historical data

🔄 Benefits of Specialized Mode System

  1. AI/ML Integration: Built-in HuggingFace patterns for model discovery, dataset integration, and performance benchmarking
  2. Memory-Enhanced Workflows: Persistent learning across sessions with mem0 integration for continuous improvement
  3. Comprehensive Testing: TDD with Puppeteer browser testing and targeted security analysis
  4. External Service Integration: MCP server connections for Perplexity AI research, Supabase management, and context7 enhancement
  5. Modular Architecture: Each mode enforces 500-line file limits and secure configuration practices
  6. Orchestrated Workflows: SPARC methodology with intelligent task delegation and cross-mode coordination

📋 Available Modes Quick Reference

Mode Slug Primary Function
⚡️ SPARC Orchestrator sparc Complex workflow orchestration with memory
🔍 Deep Research deep-research Perplexity AI + context7 research
📋 Specification Writer spec-pseudocode Requirements to pseudocode with TDD
🏗️ Architect architect System design with HuggingFace patterns
🧠 Auto-Coder code Clean code with ML integration
🧪 Tester (TDD) tdd Test-driven development + Puppeteer
🪲 Debugger debug Runtime troubleshooting
🛡️ Security Reviewer security-review Security audits with AI code analysis
📚 Documentation Writer docs-writer Markdown documentation
🔗 System Integrator integration Component integration
🧹 Optimizer refinement-optimization-mode Performance optimization
📈 Deployment Monitor post-deployment-monitoring-mode Post-launch monitoring
🚀 DevOps devops Infrastructure & deployment
♾️ MCP Integration mcp External service connections
🔐 Supabase Admin supabase-admin Database & auth management
📘 SPARC Tutorial tutorial Framework education
❓ Ask ask Task formulation guidance

This framework builds on the work of Reuven Cohen, enhancing it with custom specialized modes and adapting it to a 500-line modularity standard. The predictive, research-first approach creates more robust, maintainable, and secure software.

About

Personal repo tracking roo modes as they evolve.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0