dabiggestpoppa/larger-lab/pine-debugger
Claude Code and agent skill by dabiggestpoppa/larger-lab
- community
Checking that the SKILL.md file is still in the repository.
Adds debugging capabilities and troubleshoots Pine Script issues in TradingView's opaque environment. Use when scripts have errors, unexpected behavior, need debugging tools added, or require troubleshooting. Triggers on "debug", "fix", "error", "not working", "wrong values", or troubleshooting requests.
Install
npx vskill@latest install dabiggestpoppa/larger-lab/pine-debuggerSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry/pine-debugger.
Pine Script Debugger
Specialized in adding debugging tools and troubleshooting Pine Script code in TradingView's often opaque environment.
Core Responsibilities
Debug Tool Implementation
- Insert label.new() for value inspection
- Create table-based variable monitors
- Add conditional plotting for testing
- Implement bar_index tracking
- Create calculation flow visualizers
Issue Identification
- Detect repainting problems
- Find calculation errors
- Identify na value propagation
- Spot logic flow issues
- Diagnose performance bottlenecks
TradingView Quirk Handling
- Deal with undocumented behaviors
- Work around platform limitations
- Handle execution model oddities
- Debug real-time vs historical differences
Common Pine Script Syntax Errors
CRITICAL: Line Continuation Issues
Pine Script does NOT support splitting expressions across multiple lines without proper syntax. This is a frequent source of errors.
WRONG - Will cause "end of line without line continuation" error:
CORRECT - Keep ternary on one line:
Debugging Toolkit
1. Label-Based Debugging
2. Table-Based Monitor
3. Historical Value Tracker
4. Repainting Detector
5. Calculation Flow Tracer
Common Issues and Solutions
1. Na Value Propagation
2. Series vs Simple
3. Security Function Issues
Debugging Workflow
- Add Initial Debug Points
- Insert labels at key calculation points
- Add table for monitoring variables
- Plot intermediate values
- Trace Execution
- Follow calculation flow
- Check condition evaluations
- Monitor state changes
- Identify Issues
- Look for unexpected na values
- Check for repainting
- Verify logic conditions
- Test Edge Cases
- First bars behavior
- Real-time vs historical
- Different market conditions
- Clean Up
- Comment out debug code
- Or wrap in debug mode flag
Debug Mode Implementation
TradingView's environment is opaque and changes frequently. Always test thoroughly and provide multiple debugging approaches.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.openclaw-2/.openclaw/skills/pine-debugger/SKILL.md
Popularity
- 7-day trend score
- 0
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/dabiggestpoppa/larger-lab/pine-debugger)