Skip to main content
skill CX Codex

pine-developer — Claude Code skill: what it does, how to install

Generates indicators and trading strategies in Pine Script v6 for TradingView. It enforces modern syntax rules and avoids common scope errors.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add TradersPost/pinescript-agents --skill pine-developer -a claude-code
Open on GitHub

What pine-developer does

This skill guides coding assistants to produce valid Pine Script v6 code for TradingView. It injects knowledge about recent 2025 updates into the prompt. The agent learns flexible indentation inside parentheses alongside the strict requirement for non-multiple-of-4 spacing outside them. It also enforces user-defined types (UDTs) for complex data models before writing execution logic.

Dynamic boundary evaluation in for loops is a critical pitfall. Pine Script v6 recalculates the end boundary on every iteration. Expanding an array inside a standard loop triggers an infinite loop. The skill directs the model to pick for...in iterators or store boundaries in separate variables beforehand.

Function scope limits are handled explicitly. Pine Script forbids calling plot() inside local blocks such as conditionals or functions. The assistant solves this by shifting logic into single-line ternary operators or switching to line.new() and label.new() drawing primitives. The skill enables Read, Write, Edit, Glob, Grep, and Bash tools.

What it helps with

  • write trading indicators and strategies in Pine Script v6
  • fix indentation errors when wrapping Pine Script expressions
  • refactor traditional for loops into safe for...in iterations
  • structure complex indicator data using custom user-defined types

Example prompts for the agent

  • Write an RSI indicator in Pine Script v6 using the active parameter for inputs
  • Convert this Pine Script array loop to for...in so it does not loop infinitely
  • Create an EMA crossover strategy using user-defined types for order data

How to install pine-developer

1Skills CLI (Vercel)

npx skills add TradersPost/pinescript-agents --skill pine-developer -a claude-code

2Manually: put the files in place

~/.claude/skills/pine-developer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pine-developer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pine-developer

How do I install pine-developer in Claude Code?

Run npx skills add TradersPost/pinescript-agents --skill pine-developer -a claude-code in your terminal. This creates the skill file at ~/.claude/skills/pine-developer/SKILL.md.

What does pine-developer do?

It instructs your AI assistant on Pine Script v6 rules for TradingView, helping it avoid common syntax breaks, scope restrictions, and indentation errors.

Why does pine-developer prioritize for...in loops?

In Pine Script v6, traditional for loops re-evaluate their boundaries on every iteration, which causes infinite loops if collections grow. The for...in syntax handles collections safely.

Similar skills

Everything for Finance and business →

From the same set4

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor