Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.igent.ai/llms.txt

Use this file to discover all available pages before exploring further.

Maestro excels at substantial software engineering tasks that would typically require hours, days, or weeks of focused development work. Unlike traditional coding assistants that generate snippets, Maestro handles complete workflows from research through validated, production-ready implementation.

When to Use Maestro

Maestro shines for:
  • Complex feature implementations requiring hundreds to thousands of lines of code
  • Deep technical analysis and systematic problem-solving
  • Projects requiring validation and comprehensive testing
  • Work spanning multiple files and subsystems
  • Tasks requiring specialized domain knowledge
Not optimal for:
  • Simple one-line changes or typo fixes
  • Trivial configuration updates
  • Tasks faster to do yourself in an IDE

Feature Development

Build complete features from specification through testing and delivery.

Complete Implementation

What Maestro does:
  • Analyzes requirements and existing architecture
  • Designs implementation approach with trade-off analysis
  • Implements across multiple files with consistent patterns
  • Creates comprehensive tests
  • Validates performance and correctness
  • Updates documentation
Example requests:
  • “Implement a Redis-based caching layer for our API endpoints with cache invalidation, monitoring metrics, and fallback handling. Validate performance improvements with benchmarks.”
  • “Build a real-time collaborative editing feature using WebSockets. Include conflict resolution, user presence indicators, and comprehensive integration tests.”
  • “Add JWT-based authentication to our Express API. Must integrate with existing user service, handle token refresh, and include rate limiting.”
Process:
  1. Discovery: Ask Maestro to analyze your existing codebase architecture
  2. Planning: Request a technical specification before implementation
  3. Implementation: Let Maestro build the feature with continuous validation
  4. Testing: Demand comprehensive test coverage and passing tests
  5. Integration: Ensure documentation updates and clean integration
Success criteria:
  • All tests pass
  • Code follows existing patterns
  • Performance meets specified targets
  • Documentation is complete and accurate
  • No regressions in existing functionality

Bug Fixing & Debugging

Systematic root cause analysis and comprehensive fixes.

Deep Investigation

What Maestro does:
  • Reproduces issues in sandbox environment
  • Performs systematic root cause analysis
  • Traces execution paths through complex codebases
  • Identifies edge cases and related issues
  • Implements fixes with regression tests
  • Validates the fix doesn’t introduce new problems
Example requests:
  • “Our checkout process fails intermittently under high load. Investigate the root cause, reproduce it, and fix it with proper error handling and tests.”
  • “Memory usage grows unbounded in our background worker. Profile it, find the leak, fix it, and prove the fix with before/after metrics.”
  • “API responses are slow for large datasets. Profile the performance, identify bottlenecks, optimize, and benchmark the improvements.”
Process:
  1. Reproduce: Ask Maestro to reproduce the issue in the sandbox
  2. Analyze: Request systematic investigation of root causes
  3. Fix: Implement the fix with proper error handling
  4. Test: Add regression tests to prevent recurrence
  5. Validate: Prove the fix works with evidence
Maestro’s advantage:
  • Can test hypotheses rapidly in isolated environment
  • Systematic analysis without bias
  • Creates regression tests automatically
  • Validates fixes with real execution

Code Refactoring & Modernization

Transform legacy code while maintaining functionality.

Framework & Language Upgrades

What Maestro does:
  • Analyzes existing codebase patterns
  • Plans migration strategy with risk assessment
  • Incrementally refactors with continuous testing
  • Updates dependencies and configurations
  • Ensures backward compatibility where needed
  • Validates that all tests continue passing
Example requests:
  • “Migrate our JavaScript codebase to TypeScript. Add proper type definitions, fix type errors, and ensure 100% of code is typed.”
  • “Upgrade our React application from version 16 to 18. Update deprecated patterns, migrate to concurrent features, and ensure all components work correctly.”
  • “Convert our REST API to GraphQL while maintaining backward compatibility. Include proper schema design, resolvers, and comprehensive tests.”
Process:
  1. Assessment: Ask Maestro to analyze the current codebase structure
  2. Strategy: Request a migration plan with incremental steps
  3. Incremental migration: Refactor in phases with continuous validation
  4. Testing: Ensure all existing tests pass at each phase
  5. Cleanup: Remove deprecated code and update documentation

Architecture Improvements

What Maestro does:
  • Identifies architectural issues and code smells
  • Proposes improvement strategies with trade-offs
  • Refactors code to modern patterns
  • Extracts reusable components and utilities
  • Improves separation of concerns
  • Maintains functionality throughout
Example requests:
  • “Refactor our monolithic application into a modular architecture. Extract core business logic into separate modules with clean interfaces.”
  • “Our database layer has business logic scattered everywhere. Extract it into a proper service layer with dependency injection.”
  • “Improve our error handling. Implement consistent patterns across the codebase with proper error types, logging, and recovery.”

Testing & Quality Assurance

Comprehensive test coverage and validation.

Test Creation

What Maestro does:
  • Analyzes code to identify test scenarios
  • Creates unit, integration, and end-to-end tests
  • Ensures edge cases are covered
  • Achieves specified coverage targets
  • Validates tests actually catch regressions
Example requests:
  • “Add comprehensive test coverage for our payment processing module. Target 95% coverage and include edge cases for failed payments, refunds, and partial captures.”
  • “Create integration tests for our microservices architecture. Test service-to-service communication, failure scenarios, and data consistency.”
  • “Build end-to-end tests for our checkout flow. Cover happy path, error scenarios, and edge cases like concurrent modifications.”
Process:
  1. Coverage analysis: Ask Maestro to identify untested code paths
  2. Test design: Request test scenarios covering all edge cases
  3. Implementation: Let Maestro create comprehensive tests
  4. Validation: Ensure tests pass and actually validate behavior
  5. Regression testing: Verify tests catch intentional bugs

Code Review & Standards Enforcement

What Maestro does:
  • Analyzes code for style inconsistencies
  • Identifies security vulnerabilities
  • Finds performance anti-patterns
  • Ensures coding standards compliance
  • Suggests improvements with rationale
Example requests:
  • “Review our authentication implementation for security vulnerabilities. Check for SQL injection, XSS, CSRF, and other OWASP top 10 issues.”
  • “Analyze our codebase for performance anti-patterns. Look for N+1 queries, unnecessary re-renders, memory leaks, and inefficient algorithms.”
  • “Ensure our API follows REST best practices. Check HTTP methods, status codes, error responses, and resource naming.”

Performance Optimization

Systematic profiling and evidence-based optimization.

Systematic Performance Improvement

What Maestro does:
  • Profiles code to identify bottlenecks
  • Benchmarks current performance
  • Implements optimizations systematically
  • Validates improvements with metrics
  • Ensures optimizations don’t break functionality
Example requests:
  • “Our image processing pipeline takes 5 seconds per image. Profile it, identify bottlenecks, optimize to under 500ms, and prove improvements with benchmarks.”
  • “Database queries are slow. Analyze query patterns, add appropriate indexes, optimize N+1 queries, and benchmark the improvements.”
  • “Our React app has slow initial load times. Profile bundle size, implement code splitting, optimize assets, and measure improvements.”
Process:
  1. Baseline: Establish current performance metrics
  2. Profile: Identify specific bottlenecks with evidence
  3. Optimize: Implement targeted improvements
  4. Benchmark: Prove improvements with before/after metrics
  5. Validate: Ensure functionality is unchanged
Maestro’s advantage:
  • Real benchmarking in isolated sandbox
  • Systematic approach prevents premature optimization
  • Evidence-based improvements, not guesses
  • Validates performance claims with real metrics

Technical Research & Analysis

Deep investigation and synthesis across sources.

Technology Evaluation

What Maestro does:
  • Researches multiple solutions comprehensively
  • Analyzes trade-offs with specific criteria
  • Prototypes different approaches
  • Benchmarks and compares implementations
  • Provides evidence-based recommendations
Example requests:
  • “Compare Redis, Memcached, and in-memory caching for our use case. Prototype each, benchmark performance, and recommend the best option with evidence.”
  • “Evaluate state management solutions for our React app (Redux, MobX, Zustand, Recoil). Analyze complexity, performance, and developer experience with prototypes.”
  • “Research WebSocket libraries for Node.js. Compare Socket.io, ws, and uWebSockets. Test reliability, performance, and feature sets.”
Process:
  1. Research: Ask Maestro to investigate options comprehensively
  2. Prototype: Request working implementations of alternatives
  3. Benchmark: Compare performance and capabilities
  4. Analysis: Get trade-off analysis with recommendations
  5. Decision: Make informed choice based on evidence

Competitive Analysis

What Maestro does:
  • Analyzes competitor implementations
  • Identifies features and approaches
  • Evaluates technical differences
  • Suggests improvements to match or exceed
  • Validates claims with working prototypes
Example requests:
  • “Analyze how [competitor] implements real-time collaboration. Research their approach, prototype a similar implementation, and identify improvements we can make.”
  • “Study the performance characteristics of [library] versus our implementation. Benchmark both and identify where we can improve.”

API Integration & Development

Connect to external services and build robust APIs.

External API Integration

What Maestro does:
  • Studies API documentation
  • Implements client libraries with proper error handling
  • Handles authentication and rate limiting
  • Creates comprehensive tests including edge cases
  • Validates integration works correctly
Example requests:
  • “Integrate the Stripe payment API. Implement payment processing, webhooks for events, error handling, and comprehensive tests.”
  • “Build a client for the GitHub GraphQL API. Support repository queries, pull request operations, and proper pagination.”
  • “Connect to the AWS S3 API for file storage. Implement upload, download, presigned URLs, and proper error handling.”
Process:
  1. Documentation review: Maestro studies the API docs
  2. Implementation: Builds client with proper patterns
  3. Error handling: Implements retry logic and failure scenarios
  4. Testing: Creates tests including API failure cases
  5. Validation: Proves integration works end-to-end

API Development

What Maestro does:
  • Designs RESTful or GraphQL APIs following best practices
  • Implements endpoints with proper validation
  • Adds authentication and authorization
  • Includes rate limiting and error handling
  • Creates comprehensive API tests
  • Generates accurate documentation
Example requests:
  • “Build a REST API for our task management system. Include CRUD operations, filtering, pagination, proper HTTP status codes, and comprehensive tests.”
  • “Create a GraphQL API for our content platform. Design the schema, implement resolvers, add proper authorization, and include tests.”
  • “Add a WebSocket API for real-time notifications. Handle connection management, authentication, message validation, and test reliability.”

Documentation

Accurate, comprehensive documentation based on actual code.

Code Documentation

What Maestro does:
  • Analyzes code to understand behavior
  • Creates accurate inline documentation
  • Generates API reference documentation
  • Writes usage examples that actually work
  • Updates docs when code changes
Example requests:
  • “Document our authentication module. Include inline comments for complex logic, JSDoc for all public functions, and a usage guide with examples.”
  • “Generate API documentation for our REST endpoints. Include request/response examples, error codes, and authentication requirements.”
  • “Create a developer guide for our component library. Include usage examples, props documentation, and common patterns.”
Process:
  1. Analysis: Maestro examines the actual code implementation
  2. Documentation: Creates accurate docs based on real behavior
  3. Examples: Writes working example code
  4. Validation: Tests that examples actually work
  5. Integration: Adds docs to the codebase
Maestro’s advantage:
  • Documentation reflects actual implementation, not assumptions
  • Examples are tested and verified to work
  • Can update docs when code changes
  • Analyzes complex code to explain accurately

Codebase Understanding

Navigate and understand complex or legacy systems.

System Analysis

What Maestro does:
  • Maps system architecture and data flow
  • Identifies key components and dependencies
  • Documents undocumented systems
  • Explains complex algorithms and patterns
  • Creates visualizations of system structure
Example requests:
  • “Analyze our microservices architecture. Map the services, their dependencies, communication patterns, and data flow. Create a diagram.”
  • “Walk me through how our authentication system works end-to-end. Explain the flow from login request to token validation.”
  • “Examine our legacy payment processing code. Explain the business logic, identify edge cases, and document the workflow.”
Process:
  1. Exploration: Clone repository and examine structure
  2. Analysis: Trace code execution and data flow
  3. Documentation: Explain findings clearly
  4. Visualization: Create diagrams of architecture
  5. Q&A: Answer specific questions about system
Use cases:
  • Onboarding to unfamiliar codebases
  • Understanding legacy systems
  • Preparing for refactoring
  • Knowledge transfer
  • Architecture documentation

Database Work

Schema design, migrations, and query optimization.

Database Design & Migration

What Maestro does:
  • Designs database schemas following best practices
  • Creates migration scripts safely
  • Handles data transformations
  • Tests migrations with rollback procedures
  • Validates data integrity
Example requests:
  • “Design a database schema for our e-commerce platform. Include users, products, orders, inventory, and relationships.”
  • “Migrate our user data from MongoDB to PostgreSQL. Preserve all data, handle schema differences, and validate the migration.”
  • “Add full-text search to our content database. Design the schema changes, create migrations, and optimize for search performance.”

Query Optimization

What Maestro does:
  • Analyzes slow queries
  • Designs proper indexes
  • Rewrites queries for efficiency
  • Benchmarks improvements
  • Validates correctness
Example requests:
  • “Our user dashboard query takes 10 seconds. Analyze the query, add appropriate indexes, optimize joins, and reduce time to under 500ms.”
  • “Identify N+1 query problems in our API. Fix them with proper eager loading or batch queries, and prove improvements with benchmarks.”

Best Practices

Set Clear Success Criteria

Define measurable outcomes upfront:
  • “Performance must improve by at least 20%”
  • “Code coverage must reach 90%”
  • “All existing tests must pass”
  • “API response time under 200ms”

Demand Evidence, Not Claims

Always request validation:
  • Don’t accept: “The implementation is fast”
  • Demand: “Show me benchmarks comparing before and after”
  • Don’t accept: “Tests pass”
  • Demand: “Show me the test output with coverage report”

Iterate and Refine

Maestro works best through partnership:
  • Challenge implementations that don’t meet standards
  • Provide feedback on approaches
  • Request improvements when needed
  • Don’t accept shortcuts on quality

Use Existing Patterns

Leverage your codebase:
  • “Follow the existing API pattern in user-service”
  • “Use the same testing approach as auth-module”
  • “Match the error handling in payment-processor”

Prompting Tips

Be Specific About Requirements

Vague: “Make the app faster” Specific: “Profile the dashboard load time. Current: 3 seconds. Target: under 1 second. Optimize database queries, reduce bundle size, and benchmark improvements.”

Provide Context

Insufficient: “Add caching” Sufficient: “Add Redis caching to our REST API endpoints. Use the existing Redis connection pool. Cache GET requests for 5 minutes. Handle cache failures gracefully. Include metrics for monitoring.”

Define Constraints

Missing constraints: “Build a search feature” Clear constraints: “Implement full-text search using PostgreSQL’s built-in capabilities. Must: handle partial matches, rank results by relevance, return results in under 100ms, include highlighting. Don’t: add external search services.”

Specify Done Criteria

Incomplete: “Add authentication” Complete: “Implement JWT authentication for our API. Requirements: token refresh, role-based access control, rate limiting. Done when: all endpoints are protected, tests pass, documentation is updated, security review shows no vulnerabilities.”

Getting Started

Ready to tackle your project with Maestro?
  1. Quick Start: Get productive in your first session
  2. Core Concepts: Understand sessions and the partnership model
  3. Prompting Guide: Learn to write effective requests
  4. Best Practices: Production-ready patterns
Start a session and try one of these use cases with your own project.