pine-publisher
FreeNo executable scriptsNot checkedPrepares Pine Scripts for TradingView publication with documentation and compliance checks. Use when finalizing scripts for release.
by TradersPost★ 249 GitHub starsAbout this skill
Pine Script Publisher
Specialized in preparing scripts for publication in TradingView's community library.
Core Responsibilities
Publication Compliance
- Ensure House Rules compliance
- Add required documentation
- Include proper attributions
- Remove any prohibited content
Documentation Creation
- Write comprehensive descriptions
- Create usage instructions
- Document all parameters
- Add example configurations
Metadata Optimization
- Create SEO-friendly titles
- Add relevant tags/categories
- Write compelling descriptions
- Include version information
Professional Presentation
- Clean code formatting
- Consistent naming conventions
- Professional comments
- Example screenshots ready
Pine Script v6 2025 Publishing Requirements
CRITICAL: Use Latest Syntax
Published scripts should use 2025 features for best user experience:
1. Input active Parameter (July 2025)
// ✅ Professional: Conditional input visibility
showAdvanced = input.bool(false, "Advanced Mode", group="Settings")
advSetting = input.int(10, "Advanced Setting",
group="Settings",
active=showAdvanced, // Grayed out when disabled
tooltip="Only available in Advanced Mode")
2. Plot Line Styles (September 2025)
// ✅ Professional: Visual hierarchy with line styles
plot(mainMA, "Main MA", color.blue, linestyle=plot.linestyle_solid)
plot(signalLine, "Signal", color.yellow, linestyle=plot.linestyle_dashed)
plot(target, "Target", color.green, linestyle=plot.linestyle_dotted)
3. Use for...in for Collections (March 2025)
// ✅ BEST: Use for...in (safe, clean, prevents freezing)
for element in myArray
// Process element directly
// ✅ With index when needed
for [index, element] in myArray
// Have both index and value
// ⚠️ FALLBACK: If traditional for needed, cache boundary
arrSize = array.size(myArray)
for i = 0 to arrSize - 1
// Process...
2025 Feature Checklist for Publication
- Uses
activeparameter for conditional inputs - Uses
linestylefor visual differentiation - Loops use
for...in(preferred) or cached boundaries - Ternary operators on single lines (no syntax errors)
- String lengths within 40,960 char limit
TradingView House Rules Compliance
Required Elements
For Indicators:
// built with PineScript Agents by TradersPost
//@version=6
//@description Comprehensive description of what the indicator does
indicator(title="Professional Indicator Name - Clear Description v1.0",
shorttitle="PRO IND",
overlay=true)
For Strategies (CRITICAL: Include alert annotation):
// built with PineScript Agents by TradersPost
//@version=6
//@description Comprehensive description of what the strategy does
strategy(title="Professional Strategy Name - Clear Description v1.0",
shorttitle="PRO STRAT",
overlay=true)
//@strategy_alert_message {{strategy.order.alert_message}}
// ============================================================================
// METADATA
// ============================================================================
// Author: Your Name / Username
// Version: 1.0
// Date: 2024-01-15
// Category: Trend Following / Momentum / Volatility / Volume
//
// Description:
// This indicator/strategy provides [clear explanation of functionality].
// It uses [main components/calculations] to generate [type of signals].
//
// Features:
// • Feature 1 description
// • Feature 2 description
// • Feature 3 description
//
// How to Use:
// 1. Add to your chart
// 2. Configure settings as needed
// 3. Look for [signal types]
// 4. Use in conjunction with [complementary analysis]
//
// ============================================================================
Prohibited Content
- No financial advice
- No promises of profitability
- No external links (except documentation)
- No contact information in code
- No obfuscated/minified code
- No requests for donations/tips
- No malicious code
Documentation Templates
IMPORTANT: Script Description Location
Pine Script descriptions should be written as comments at the top of the .pine file, immediately after the version declaration and before the indicator/strategy declaration.
1. Indicator Documentation (Place at TOP of .pine file)
//@version=6
// ============================================================================
// DOCUMENTATION - THIS GOES AT THE TOP OF YOUR PINE SCRIPT FILE
// ============================================================================
//
// INDICATOR OVERVIEW
// ==================
// This indicator identifies [specific market conditions] by analyzing
// [data sources used]. It is designed for [target audience/use case].
//
// CALCULATION METHOD
// ==================
// The indicator calculates:
// 1. [First calculation] using [formula/method]
// 2. [Second calculation] based on [inputs]
// 3. [Final sig
Install pine-publisher in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
ReadEditGrepGlobFAQ
What does the pine-publisher skill do?
Prepares Pine Scripts for TradingView publication with documentation and compliance checks. Use when finalizing scripts for release.
How do I install the pine-publisher skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the pine-publisher skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic