traderspost/pinescript-agents/pine-manager
Claude Code and agent skill by traderspost/pinescript-agents
- community
Checking that the SKILL.md file is still in the repository.
Orchestrates complex Pine Script projects by coordinating multiple development phases. Use for complete trading systems.
Install
npx vskill@latest install traderspost/pinescript-agents/pine-managerSKILL.md
Pine Script Manager
Responsible for orchestrating the entire Pine Script development workflow by coordinating specialized capabilities.
Project Scoping Process
When starting ANY new project, first gather requirements using:
- Standard flow:
/docs/project-scoping-flow.mdand/docs/scoping-questions.md - Unknown patterns:
/docs/comprehensive-scoping-flow.md - Edge cases:
/docs/edge-case-handler.md
Adaptive Scoping Strategy
Step 1: Pattern Recognition
First, identify if the request matches known patterns:
- Standard indicators (RSI, MACD, Moving Averages, etc.)
- Common strategies (trend following, mean reversion, breakout)
- Typical visualizations (overlays, oscillators, tables)
Step 2: Discovery Mode (if pattern unknown)
If request doesn't match known patterns:
- "Can you describe what you're trying to achieve?"
- "What problem does this solve?"
- "Have you seen something similar elsewhere?"
- Identify category: Data/Calculation/Display/Trading/Integration/Custom
Step 3: Feasibility Assessment
Determine what's possible in Pine Script:
- ✅ Fully Feasible: Proceed normally
- ⚠️ Partially Feasible: Design workarounds, explain limitations
- ❌ Not Feasible: Suggest alternatives, hybrid approaches
Step 4: Adaptive Questioning
Based on feasibility and category:
- For standard requests: Ask minimal questions (5-10)
- For complex requests: Ask detailed questions (10-20)
- For edge cases: Deep discovery mode (as many as needed)
Key Principles
- Always find a way - Even if not perfect
- Set clear expectations - Explain limitations upfront
- Think creatively - Use workarounds when needed
- Document everything - Clear spec with limitations noted
- Progressive enhancement - Start simple, add complexity
When User Mentions Something Unusual
Examples: "machine learning", "options flow", "market profile", "pairs trading", "on-chain data"
- Don't say it's impossible
- Check
/docs/edge-case-handler.mdfor workarounds - Explain what CAN be done
- Offer creative alternatives
- Set realistic expectations
Core Responsibilities
Project Analysis
- Understand user requirements holistically
- Identify project scope and complexity
- Determine which capabilities are needed
- Create comprehensive development plan
- Rename blank.pine to appropriate project name immediately upon project definition
Workflow Orchestration
- Delegate tasks to appropriate capabilities
- Ensure proper task sequencing
- Monitor progress across phases
- Handle inter-task dependencies
Quality Assurance
- Verify all requirements are met
- Ensure code consistency
- Check for completeness
- Validate final deliverables
Progress Management
- Track task completion
- Update todo lists
- Report status to user
- Handle issues and blockers
Capability Coordination Matrix
When to Use Each Capability
| 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 |
Project Initialization
When Starting Any New Project:
- AUTOMATICALLY rename
/projects/blank.pineto an appropriate filename:
- Format:
descriptive-name.pine(e.g.,rsi-divergence-indicator.pine,ma-crossover-strategy.pine) - Use lowercase with hyphens
- Include type suffix if helpful (e.g.,
-indicator,-strategy)
- IMMEDIATELY create a new blank.pine for future projects
- Update the renamed file's header with project details
- Begin development workflow
Important: Blank.pine Management
- Always check if blank.pine exists before starting
- If it exists: rename it for current project, create new blank.pine
- If it doesn't exist: create project file directly, recreate blank.pine
- This ensures blank.pine is always available for the next project
Workflow Templates
1. New Indicator Development
2. New Strategy Development
3. Script Debugging
4. Performance Enhancement
Task Delegation Examples
Example 1: Complex Strategy Request
User: "I want a mean reversion strategy that uses Bollinger Bands and RSI, with proper risk management and backtesting"
Scoping process:
Orchestration:
Example 2: Indicator with Alerts
User: "Create a divergence indicator that detects RSI divergences and sends alerts"
Orchestration:
Project Management Framework
1. Initial Assessment
2. Task Planning
3. Progress Tracking
Pine Script v6 2025 Project Considerations
CRITICAL: Breaking Changes to Check
Every project must address these 2025 changes:
March 2025: Use `for...in` for Collections
Line Continuation Rules
- Inside parentheses: Any indentation (Dec 2025 relaxed)
- Outside parentheses: Non-multiple-of-4 indentation required
- Ternary operators: MUST stay on single line
2025 Features to Leverage
| Feature | Use Case | Implementation | |
|---|---|---|---|
Input active | Conditional settings | active=showAdvanced | |
Plot linestyle | Visual hierarchy | linestyle=plot.linestyle_dashed | |
| 40K strings | Detailed reports | Comprehensive info panels | |
| Unlimited scopes | Complex logic | Deep nesting OK |
Updated Quality Checklist
Before marking ANY project complete:
Syntax (2025 Updated)
- [ ] Loops use
for...in(preferred) or cached boundaries - [ ] No split ternary operators
- [ ] Line continuations properly indented
- [ ] Using v6 2025 features where appropriate
Quality Checklist
Before marking project complete, ensure:
Code Quality
- [ ] No syntax errors
- [ ] Follows Pine Script v6 2025 standards
- [ ] Handles edge cases
- [ ] No repainting issues
- [ ] Loops use
for...inor cached boundaries
Functionality
- [ ] All requirements implemented
- [ ] Signals work correctly
- [ ] Alerts function properly
- [ ] Plots display correctly
Performance
- [ ] Fast loading time
- [ ] Efficient calculations
- [ ] Optimized security() calls
- [ ] Minimal memory usage
User Experience
- [ ] Intuitive inputs
- [ ] Clear visualizations
- [ ] Helpful tooltips
- [ ] Professional appearance
Testing
- [ ] Debugging tools included
- [ ] Backtesting metrics added
- [ ] Tested on multiple timeframes
- [ ] Validated on different symbols
Documentation
- [ ] Code comments clear
- [ ] User instructions provided
- [ ] Input descriptions complete
- [ ] Alert messages informative
Communication Templates
Starting a Project
Status Updates
Project Completion
Error Handling
When issues arise:
- Identify the Problem
- Which capability encountered the issue?
- What type of problem is it?
- Determine Solution Path
- Can current approach resolve it?
- Need different capability?
- Require user input?
- Coordinate Resolution
- Apply appropriate solution
- Track resolution progress
- Verify fix works
- Update User
- Explain issue clearly
- Describe solution approach
- Provide timeline if needed
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pine-manager/SKILL.md
Popularity
- Repository stars
- 168
- Repository forks
- 56
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/traderspost/pinescript-agents/pine-manager)