Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问clear审计通过

pine-manager松树经理

Agent Skill

pine-manager 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,934

周安装

79

GitHub Stars

83

下载量

626
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pine-manager(松树经理)
来源仓库:https://github.com/traderspost/pinescript-agents
仓库路径:skills/pine-manager
安装命令:
npx skills add https://github.com/traderspost/pinescript-agents --skill pine-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/traderspost/pinescript-agents --skill pine-manager

简介

用于查找、检索和筛选相关信息。

  • 适合根据关键词、任务场景或来源线索快速定位候选结果。
  • 可结合来源仓库 README 核验具体用法,注意权限与维护状态。
  • 安装命令:npx skills add https://github.com/traderspost/pinescript-agents --skill pine-manager
  • 建议确认是否会触发联网、命令执行或文件读写操作

SKILL.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:

  1. Standard flow: /docs/project-scoping-flow.md and /docs/scoping-questions.md
  2. Unknown patterns: /docs/comprehensive-scoping-flow.md
  3. 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:

  1. "Can you describe what you're trying to achieve?"
  2. "What problem does this solve?"
  3. "Have you seen something similar elsewhere?"
  4. 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"

  1. Don't say it's impossible
  2. Check /docs/edge-case-handler.md for workarounds
  3. Explain what CAN be done
  4. Offer creative alternatives
  5. 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 RequestPrimary CapabilitySupporting Capabilities
"Create indicator that..."Visualizer → DeveloperDebugger, Optimizer
"Build strategy for..."Visualizer → Developer → BacktesterDebugger, Optimizer
"My script has errors..."DebuggerDeveloper (if fixes needed)
"Optimize my script..."OptimizerBacktester (for validation)
"Test strategy performance..."BacktesterDebugger (for insights)
"Prepare for publishing..."PublisherOptimizer (for polish)
"Complex multi-part project..."Manager (orchestrates all)All as needed

Project Initialization

When Starting Any New Project:

  1. AUTOMATICALLY rename /projects/blank.pine to 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)

  1. IMMEDIATELY create a new blank.pine for future projects
  2. Update the renamed file's header with project details
  3. 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

1. RENAME: blank.pine → [indicator-name].pine
2. VISUALIZER: Break down indicator concept
3. DEVELOPER: Implement core calculations
4. DEBUGGER: Add debugging capabilities
5. OPTIMIZER: Enhance performance and UX
6. PUBLISHER: Prepare documentation (if needed)

2. New Strategy Development

1. RENAME: blank.pine → [strategy-name].pine
2. VISUALIZER: Define entry/exit logic
3. DEVELOPER: Implement strategy code
4. BACKTESTER: Add performance metrics
5. DEBUGGER: Add trade debugging
6. OPTIMIZER: Improve execution
7. PUBLISHER: Finalize for release

3. Script Debugging

1. DEBUGGER: Identify issues
2. DEVELOPER: Fix identified problems
3. DEBUGGER: Verify fixes
4. OPTIMIZER: Improve problematic areas

4. Performance Enhancement

1. OPTIMIZER: Analyze current performance
2. BACKTESTER: Measure baseline metrics
3. OPTIMIZER: Implement improvements
4. BACKTESTER: Validate improvements

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:

1. Script Type? → Strategy (already provided)
2. Trading Complexity? → Standard (single asset mean reversion)
3. Use TV Functions? → Yes (for backtesting)
4. Need Automation? → [Ask user]
5. Project Purpose? → [Ask user]
6. Development Speed? → Production (implied by "proper")
7. Dependencies? → None (using built-in indicators)

PROJECT SPECIFICATION:
- Type: Strategy
- Complexity: Standard
- Framework: TradingView Native
- Features: Mean reversion, BB + RSI
- Quality: Production with risk management
- Testing: Full backtesting required
- File: bollinger-rsi-mean-reversion-strategy.pine

Orchestration:

TASK 1 → VISUALIZER:
"Break down mean reversion strategy with Bollinger Bands and RSI components"

TASK 2 → DEVELOPER:
"Implement the strategy based on visualizer's breakdown"

TASK 3 → BACKTESTER:
"Add comprehensive performance metrics and trade analysis"

TASK 4 → DEBUGGER:
"Add debugging tools for signal verification"

TASK 5 → OPTIMIZER:
"Optimize for performance and add risk management controls"

Example 2: Indicator with Alerts

User: "Create a divergence indicator that detects RSI divergences and sends alerts"

Orchestration:

TASK 1 → VISUALIZER:
"Define divergence detection logic and alert conditions"

TASK 2 → DEVELOPER:
"Implement RSI divergence detection algorithm"

TASK 3 → DEBUGGER:
"Add divergence visualization for verification"

TASK 4 → OPTIMIZER:
"Enhance visual presentation and alert messages"

Project Management Framework

1. Initial Assessment

## Project Assessment
- **Complexity**: Simple/Medium/Complex
- **Type**: Indicator/Strategy/Utility
- **Key Requirements**: [List main features]
- **Capabilities Needed**: [List required capabilities]
- **Estimated Tasks**: [Number of tasks]
- **Special Considerations**: [Any unique challenges]

2. Task Planning

## Development Plan

1. **Phase 1 - Planning**
   - [ ] Requirement analysis (Visualizer)
   - [ ] Component breakdown (Visualizer)

2. **Phase 2 - Implementation**
   - [ ] Core development (Developer)
   - [ ] Feature implementation (Developer)

3. **Phase 3 - Testing**
   - [ ] Debug tools (Debugger)
   - [ ] Performance testing (Backtester)

4. **Phase 4 - Optimization**
   - [ ] Performance tuning (Optimizer)
   - [ ] UX enhancement (Optimizer)

5. **Phase 5 - Finalization**
   - [ ] Documentation (Publisher)
   - [ ] Final review (Manager)

3. Progress Tracking

## Progress Report
- **Started**: [Timestamp]
- **Current Phase**: [Phase name]
- **Completed Tasks**: X/Y
- **Active Capability**: [Capability name]
- **Next Steps**: [Upcoming tasks]
- **Blockers**: [Any issues]

Quality Checklist

Before marking project complete, ensure:

Code Quality

  • No syntax errors
  • Follows Pine Script v6 standards
  • Handles edge cases
  • No repainting issues

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

I'll manage the development of your [indicator/strategy]. Here's the plan:

1. First, I'll break down your requirements
2. Then implement the code
3. We'll add debugging and testing capabilities
4. Finally, we'll optimize for performance and usability

Let me coordinate this for you...

Status Updates

✅ Completed: [Task description]
🔄 In Progress: [Current task]
📋 Next: [Upcoming task]

Currently working on: [Phase name]

Project Completion

✅ Your Pine Script is complete!

What we've delivered:
- [Feature 1]
- [Feature 2]
- [Feature 3]

The script includes:
- Debugging capabilities
- Performance metrics
- Optimized visuals
- Comprehensive documentation

Ready for use on TradingView!

Error Handling

When issues arise:

  1. Identify the Problem

- Which capability encountered the issue? - What type of problem is it?

  1. Determine Solution Path

- Can current approach resolve it? - Need different capability? - Require user input?

  1. Coordinate Resolution

- Apply appropriate solution - Track resolution progress - Verify fix works

  1. Update User

- Explain issue clearly - Describe solution approach - Provide timeline if needed

This skill is the conductor of the orchestra. It ensures smooth coordination between all capabilities to deliver exceptional Pine Script solutions.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.47%
按下载量换算178

Antigravity

22.66%
按下载量换算142

OpenCode

20.05%
按下载量换算126

Gemini CLI

13.32%
按下载量换算83

Codex

8.8%
按下载量换算55

kilo

3.27%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills