Skip to content
Finance
Skill

/create

Quick wizard to create a new Pine Script from a description. Just describe what you want and get working code.

BOOST
From plugin
pinescript
21412 skills3 agents3 commands2 hooks
+1
Install
$ npx -y skills add traderspost/pinescript-agents --skill create --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/create

Context preview

The summary Claude sees to decide when to auto-load this skill.

Quick wizard to create a new Pine Script from a description. Just describe what you want and get working code.

SKILL.md

create.SKILL.md
name: create
description: Quick wizard to create a new Pine Script from a description. Just describe what you want and get working code.
disable-model-invocation: true
argument-hint: [description]

Quick Pine Script Creation

Creating new Pine Script from your description: $ARGUMENTS

Implementation Steps

1. **Analyze the request** to determine:

  • Type: Indicator or Strategy?
  • Complexity: Simple, Medium, or Complex?
  • Key components needed

2. **Check for relevant templates** in:

  • `templates/indicators/` - For indicator patterns
  • `templates/strategies/` - For strategy patterns
  • `templates/utilities/` - For helper functions

3. **Create the file** at `projects/[descriptive-name].pine`

4. **Implement with best practices**:

  • `//@version=6` declaration
  • `//@strategy_alert_message` for strategies (after the `strategy()` call)
  • Proper input groups and tooltips
  • NA value handling
  • No repainting issues

5. **Add basic debugging** if helpful

Quick Implementation Patterns

**For Indicators**:

//@version=6
indicator("Title", overlay=true)
// Implementation

**For Strategies**:

//@version=6
strategy("Title", overlay=true)
//@strategy_alert_message {{strategy.order.alert_message}}
// Implementation

Quality Checklist

Before delivering:

  • [ ] Compiles without errors
  • [ ] Handles NA values
  • [ ] Uses cached loop boundaries
  • [ ] Ternary operators on single lines
  • [ ] Inputs have tooltips
Read more
Ships withpinescript

A comprehensive Pine Script development environment powered by Claude Code's Skills system. This tool helps you create professional TradingView indicators and strategies with AI assistance. Just type start to begin!

Get the whole plugin

Other skills on pinescript.