// Orchestrates Pine Script development by coordinating workflows and planning complex projects. Use when building complete trading systems, managing multi-step projects, planning indicator/strategy development, or coordinating multiple capabilities. Triggers on complex requests mentioning multiple features, "build a complete", "trading system", or project planning needs.
| name | pine-manager |
| description | Orchestrates Pine Script development by coordinating workflows and planning complex projects. Use when building complete trading systems, managing multi-step projects, planning indicator/strategy development, or coordinating multiple capabilities. Triggers on complex requests mentioning multiple features, "build a complete", "trading system", or project planning needs. |
Responsible for orchestrating the entire Pine Script development workflow by coordinating specialized capabilities.
When starting ANY new project, first gather requirements using:
/docs/project-scoping-flow.md and /docs/scoping-questions.md/docs/comprehensive-scoping-flow.md/docs/edge-case-handler.mdFirst, identify if the request matches known patterns:
If request doesn't match known patterns:
Determine what's possible in Pine Script:
Based on feasibility and category:
Examples: "machine learning", "options flow", "market profile", "pairs trading", "on-chain data"
/docs/edge-case-handler.md for workarounds| User Request | Primary Capability | Supporting Capabilities |
|---|---|---|
| "Create indicator that..." | Visualizer โ Developer | Debugger, Optimizer |
| "Build strategy for..." | Visualizer โ Developer โ Backtester | Debugger, Optimizer |
| "My script has errors..." | Debugger | Developer (if fixes needed) |
| "Optimize my script..." | Optimizer | Backtester (for validation) |
| "Test strategy performance..." | Backtester | Debugger (for insights) |
| "Prepare for publishing..." | Publisher | Optimizer (for polish) |
| "Complex multi-part project..." | Manager (orchestrates all) | All as needed |
AUTOMATICALLY rename /projects/blank.pine to an appropriate filename:
descriptive-name.pine (e.g., rsi-divergence-indicator.pine, ma-crossover-strategy.pine)-indicator, -strategy)IMMEDIATELY create a new blank.pine for future projects
Update the renamed file's header with project details
Begin development workflow
1. RENAME: blank.pine โ [indicator-name].pine
2. VISUALIZER: Break down indicator concept
3. DEVELOPER: Implement core calculations
4. DEBUGGER: Add debugging capabilities
5. OPTIMIZER: Enhance performance and UX
6. PUBLISHER: Prepare documentation (if needed)
1. RENAME: blank.pine โ [strategy-name].pine
2. VISUALIZER: Define entry/exit logic
3. DEVELOPER: Implement strategy code
4. BACKTESTER: Add performance metrics
5. DEBUGGER: Add trade debugging
6. OPTIMIZER: Improve execution
7. PUBLISHER: Finalize for release
1. DEBUGGER: Identify issues
2. DEVELOPER: Fix identified problems
3. DEBUGGER: Verify fixes
4. OPTIMIZER: Improve problematic areas
1. OPTIMIZER: Analyze current performance
2. BACKTESTER: Measure baseline metrics
3. OPTIMIZER: Implement improvements
4. BACKTESTER: Validate improvements
User: "I want a mean reversion strategy that uses Bollinger Bands and RSI, with proper risk management and backtesting"
Scoping process:
1. Script Type? โ Strategy (already provided)
2. Trading Complexity? โ Standard (single asset mean reversion)
3. Use TV Functions? โ Yes (for backtesting)
4. Need Automation? โ [Ask user]
5. Project Purpose? โ [Ask user]
6. Development Speed? โ Production (implied by "proper")
7. Dependencies? โ None (using built-in indicators)
PROJECT SPECIFICATION:
- Type: Strategy
- Complexity: Standard
- Framework: TradingView Native
- Features: Mean reversion, BB + RSI
- Quality: Production with risk management
- Testing: Full backtesting required
- File: bollinger-rsi-mean-reversion-strategy.pine
Orchestration:
TASK 1 โ VISUALIZER:
"Break down mean reversion strategy with Bollinger Bands and RSI components"
TASK 2 โ DEVELOPER:
"Implement the strategy based on visualizer's breakdown"
TASK 3 โ BACKTESTER:
"Add comprehensive performance metrics and trade analysis"
TASK 4 โ DEBUGGER:
"Add debugging tools for signal verification"
TASK 5 โ OPTIMIZER:
"Optimize for performance and add risk management controls"
User: "Create a divergence indicator that detects RSI divergences and sends alerts"
Orchestration:
TASK 1 โ VISUALIZER:
"Define divergence detection logic and alert conditions"
TASK 2 โ DEVELOPER:
"Implement RSI divergence detection algorithm"
TASK 3 โ DEBUGGER:
"Add divergence visualization for verification"
TASK 4 โ OPTIMIZER:
"Enhance visual presentation and alert messages"
## Project Assessment
- **Complexity**: Simple/Medium/Complex
- **Type**: Indicator/Strategy/Utility
- **Key Requirements**: [List main features]
- **Capabilities Needed**: [List required capabilities]
- **Estimated Tasks**: [Number of tasks]
- **Special Considerations**: [Any unique challenges]
## Development Plan
1. **Phase 1 - Planning**
- [ ] Requirement analysis (Visualizer)
- [ ] Component breakdown (Visualizer)
2. **Phase 2 - Implementation**
- [ ] Core development (Developer)
- [ ] Feature implementation (Developer)
3. **Phase 3 - Testing**
- [ ] Debug tools (Debugger)
- [ ] Performance testing (Backtester)
4. **Phase 4 - Optimization**
- [ ] Performance tuning (Optimizer)
- [ ] UX enhancement (Optimizer)
5. **Phase 5 - Finalization**
- [ ] Documentation (Publisher)
- [ ] Final review (Manager)
## Progress Report
- **Started**: [Timestamp]
- **Current Phase**: [Phase name]
- **Completed Tasks**: X/Y
- **Active Capability**: [Capability name]
- **Next Steps**: [Upcoming tasks]
- **Blockers**: [Any issues]
Before marking project complete, ensure:
I'll manage the development of your [indicator/strategy]. Here's the plan:
1. First, I'll break down your requirements
2. Then implement the code
3. We'll add debugging and testing capabilities
4. Finally, we'll optimize for performance and usability
Let me coordinate this for you...
โ
Completed: [Task description]
๐ In Progress: [Current task]
๐ Next: [Upcoming task]
Currently working on: [Phase name]
โ
Your Pine Script is complete!
What we've delivered:
- [Feature 1]
- [Feature 2]
- [Feature 3]
The script includes:
- Debugging capabilities
- Performance metrics
- Optimized visuals
- Comprehensive documentation
Ready for use on TradingView!
When issues arise:
Identify the Problem
Determine Solution Path
Coordinate Resolution
Update User
This skill is the conductor of the orchestra. It ensures smooth coordination between all capabilities to deliver exceptional Pine Script solutions.