Files
agents/tools/multi-agent-optimize.md
Seth Hobson 3802bca865 Refine plugin marketplace for launch readiness
Plugin Scope Improvements:
- Remove language-specialists plugin (not task-focused)
- Split specialized-domains into 5 focused plugins:
  * blockchain-web3 - Smart contract development only
  * quantitative-trading - Financial modeling and trading only
  * payment-processing - Payment gateway integration only
  * game-development - Unity and Minecraft only
  * accessibility-compliance - WCAG auditing only
- Split business-operations into 3 focused plugins:
  * business-analytics - Metrics and reporting only
  * hr-legal-compliance - HR and legal docs only
  * customer-sales-automation - Support and sales workflows only
- Fix infrastructure-devops scope:
  * Remove database concerns (db-migrate, database-admin)
  * Remove observability concerns (observability-engineer)
  * Move slo-implement to incident-response
  * Focus purely on container orchestration (K8s, Docker, Terraform)
- Fix customer-sales-automation scope:
  * Remove content-marketer (unrelated to customer/sales workflows)

Marketplace Statistics:
- Total plugins: 27 (was 22)
- Tool coverage: 100% (42/42 tools referenced)
- Fat plugins removed: 3 (language-specialists, specialized-domains, business-operations)
- All plugins now have clear, focused tasks

Model Migration:
- Migrate all 42 tools from claude-sonnet-4-0/opus-4-1 to model: sonnet
- Migrate all 15 workflows from claude-opus-4-1 to model: sonnet
- Use short model syntax consistent with agent files

Documentation Updates:
- Update README.md with refined plugin structure
- Update plugin descriptions to be task-focused
- Remove anthropomorphic and marketing language
- Improve category organization (now 16 distinct categories)

Ready for October 9, 2025 @ 9am PST launch
2025-10-08 20:54:29 -04:00

2.7 KiB

model
model
sonnet

Optimize application stack using specialized optimization agents:

[Extended thinking: This tool coordinates database, performance, and frontend optimization agents to improve application performance holistically. Each agent focuses on their domain while ensuring optimizations work together.]

Optimization Strategy

1. Database Optimization

Use Task tool with subagent_type="database-optimizer" to:

  • Analyze query performance and execution plans
  • Optimize indexes and table structures
  • Implement caching strategies
  • Review connection pooling and configurations
  • Suggest schema improvements

Prompt: "Optimize database layer for: $ARGUMENTS. Analyze and improve:

  1. Slow query identification and optimization
  2. Index analysis and recommendations
  3. Schema optimization for performance
  4. Connection pool tuning
  5. Caching strategy implementation"

2. Application Performance

Use Task tool with subagent_type="performance-engineer" to:

  • Profile application code
  • Identify CPU and memory bottlenecks
  • Optimize algorithms and data structures
  • Implement caching at application level
  • Improve async/concurrent operations

Prompt: "Optimize application performance for: $ARGUMENTS. Focus on:

  1. Code profiling and bottleneck identification
  2. Algorithm optimization
  3. Memory usage optimization
  4. Concurrency improvements
  5. Application-level caching"

3. Frontend Optimization

Use Task tool with subagent_type="frontend-developer" to:

  • Reduce bundle sizes
  • Implement lazy loading
  • Optimize rendering performance
  • Improve Core Web Vitals
  • Implement efficient state management

Prompt: "Optimize frontend performance for: $ARGUMENTS. Improve:

  1. Bundle size reduction strategies
  2. Lazy loading implementation
  3. Rendering optimization
  4. Core Web Vitals (LCP, FID, CLS)
  5. Network request optimization"

Consolidated Optimization Plan

Performance Baseline

  • Current performance metrics
  • Identified bottlenecks
  • User experience impact

Optimization Roadmap

  1. Quick Wins (< 1 day)

    • Simple query optimizations
    • Basic caching implementation
    • Bundle splitting
  2. Medium Improvements (1-3 days)

    • Index optimization
    • Algorithm improvements
    • Lazy loading implementation
  3. Major Optimizations (3+ days)

    • Schema redesign
    • Architecture changes
    • Full caching layer

Expected Improvements

  • Database query time reduction: X%
  • API response time improvement: X%
  • Frontend load time reduction: X%
  • Overall user experience impact

Implementation Priority

  • Ordered list of optimizations by impact/effort ratio
  • Dependencies between optimizations
  • Risk assessment for each change

Target for optimization: $ARGUMENTS