Communitygithub.com

tradermonty/skill-designer

從結構化的點子規格設計新的 Claude 技能。當技能自動生成流水線需要產生一個 Claude CLI 提示,以按照儲存庫慣例建立完整的技能目錄(SKILL.md、參考文件、腳本、測試)時使用。

skill-designer 是什麼?

這個 Skill Designer 技能提供了一個自動化流水線,將結構化的技能點子規格轉換為完整的 Claude CLI 設計提示。開發者只需提供一個 JSON 檔案(包含標題、描述和分類)以及一個標準化的技能名稱,腳本就會自動讀取三個參考檔案(結構指南、品質檢查表和範本),列出最多 20 個現有技能以避免重複,然後輸出一個完整的提示。該提示可以直接透過管道傳遞給 `claude -p`,讓 Claude 按照儲存庫慣例建立完整的技能目錄,包括 SKILL.md(含 YAML 前置資料)、參考文件、輔助腳本和測試框架。此技能在技能自動生成流水線、從 JSON 點子規格引導新技能開發,以及需要了解評分標準的品質審查情境中特別有用。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tradermonty/claude-trading-skills/tree/main/skills/skill-designer

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Skill Designer

概述

從結構化的技能點子規格產生一個完整的 Claude CLI 提示。該提示會指示 Claude 按照儲存庫慣例建立一個完整的技能目錄:包含 YAML 前置資料的 SKILL.md、參考文件、輔助腳本和測試框架。

使用時機

  • 技能自動生成流水線從待辦事項中選取一個點子,需要一個設計提示給 claude -p
  • 開發者想要從 JSON 點子規格啟動一個新技能
  • 對產生的技能進行品質審查時,需要了解評分標準

前置需求

  • Python 3.9+
  • 不需要外部 API 金鑰
  • 參考檔案必須存在於 references/ 目錄下

工作流程

步驟 1:準備點子規格

接受一個包含以下內容的 JSON 檔案(--idea-json):

  • title:人類可讀的技能名稱
  • description:技能的功能描述
  • category:技能分類(例如:交易分析、開發者工具)

接受一個標準化的技能名稱(--skill-name),它將作為目錄名稱和 YAML 前置資料中的 name: 欄位。

步驟 2:建構設計提示

執行提示建構器:

python3 skills/skill-designer/scripts/build_design_prompt.py \
  --idea-json /tmp/idea.json \
  --skill-name "my-new-skill" \
  --project-root .

該腳本會:

  1. 載入點子 JSON
  2. 讀取所有三個參考檔案(結構指南、品質檢查表、範本)
  3. 列出最多 20 個現有技能以避免重複
  4. 將完整的提示輸出到標準輸出

步驟 3:將提示傳遞給 Claude CLI

呼叫流水線將提示透過管道傳遞給 claude -p:

python3 skills/skill-designer/scripts/build_design_prompt.py \
  --idea-json /tmp/idea.json \
  --skill-name "my-new-skill" \
  --project-root . \
| claude -p --allowedTools Read,Edit,Write,Glob,Grep

步驟 4:驗證輸出

在 Claude 建立技能後,驗證:

  • skills/<skill-name>/SKILL.md 存在且包含正確的前置資料
  • 目錄結構遵循慣例
  • 使用 dual-axis-skill-reviewer 評分達到門檻

輸出格式

腳本輸出純文字提示到標準輸出。成功時退出代碼為 0,如果必要的參考檔案遺失則退出代碼為 1。

資源

  • references/skill-structure-guide.md -- 目錄結構、SKILL.md 格式、命名慣例
  • references/quality-checklist.md -- 雙向審查者 5 類別檢查表(100 分)
  • references/skill-template.md -- 包含 YAML 前置資料和標準區段的 SKILL.md 範本
  • scripts/build_design_prompt.py -- 提示建構器腳本(CLI 介面)

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

tradermonty/backtest-expert

Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.

tradermonty/market-environment-analysis

Comprehensive market environment analysis and reporting tool. Analyzes global markets including US, European, Asian markets, forex, commodities, and economic indicators. Provides risk-on/risk-off assessment, sector analysis, and technical indicator interpretation. Triggers on keywords like market analysis, market environment, global markets, trading environment, market conditions, investment climate, market sentiment, forex analysis, stock market analysis, 相場環境, 市場分析, マーケット状況, 投資環境.

tradermonty/market-news-analyst

This skill should be used when analyzing recent market-moving news events and their impact on equity markets and commodities. Use this skill when the user requests analysis of major financial news from the past 10 days, wants to understand market reactions to monetary policy decisions (FOMC, ECB, BOJ), needs assessment of geopolitical events' impact on commodities, or requires comprehensive review of earnings announcements from mega-cap stocks. The skill automatically collects news using WebSearch/WebFetch tools and produces impact-ranked analysis reports. All analysis thinking and output are conducted in English.

tradermonty/options-strategy-advisor

Options trading strategy analysis and simulation tool. Provides theoretical pricing using Black-Scholes model, Greeks calculation, strategy P/L simulation, and risk management guidance. Use when user requests options strategy analysis, covered calls, protective puts, spreads, iron condors, earnings plays, or options risk management. Includes volatility analysis, position sizing, and earnings-based strategy recommendations. Educational focus with practical trade simulation.

tradermonty/portfolio-manager

Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing recommendations. Use when user requests portfolio review, position analysis, risk assessment, performance evaluation, or rebalancing suggestions for their brokerage account.

tradermonty/scenario-analyzer

Skill that analyzes 18-month scenarios from a news headline. Runs the primary analysis with the scenario-analyst agent and obtains a second opinion with the strategy-reviewer agent. Generates a comprehensive English report covering 1st/2nd/3rd-order impacts, recommended stocks, and a critical review. Example: /scenario-analyzer "Fed raises rates by 50bp" Triggers: news analysis, scenario analysis, 18-month outlook, medium-to-long-term investment strategy

tradermonty/sector-analyst

This skill should be used when analyzing sector rotation patterns and market cycle positioning. It fetches sector uptrend data from CSV (no API key required) and optionally accepts chart images for supplementary analysis. Use this skill when the user requests sector rotation analysis, cyclical vs defensive assessment, overbought/oversold identification, or market cycle phase estimation. All analysis and output are conducted in English.

tradermonty/signal-postmortem

Record and analyze post-trade outcomes for signals generated by edge pipeline and other skills. Track false positives, missed opportunities, and regime mismatches. Feed results back to edge-signal-aggregator weights and skill improvement backlog.

tradermonty/skill-idea-miner

Mine Claude Code session logs for skill idea candidates. Use when running the weekly skill generation pipeline to extract, score, and backlog new skill ideas from recent coding sessions.

tradermonty/theme-detector

Detect and analyze trending market themes across sectors. Use when user asks about current market themes, trending sectors, sector rotation, thematic investing, what themes are hot or cold, or wants to identify bullish and bearish market narratives with lifecycle analysis.

tradermonty/uptrend-analyzer

Analyzes market breadth using Monty's Uptrend Ratio Dashboard data to diagnose the current market environment. Generates a 0-100 composite score from 5 components (breadth, sector participation, rotation, momentum, historical context). Use when asking about market breadth, uptrend ratios, or whether the market environment supports equity exposure. No API key required.

tradermonty/us-stock-analysis

Comprehensive US stock analysis including fundamental analysis (financial metrics, business quality, valuation), technical analysis (indicators, chart patterns, support/resistance), stock comparisons, and investment report generation. Use when user requests analysis of US stock tickers (e.g., "analyze AAPL", "compare TSLA vs NVDA", "give me a report on Microsoft"), evaluation of financial metrics, technical chart analysis, or investment recommendations for American stocks.

tradermonty/value-dividend-screener

Screen US stocks for high-quality dividend opportunities combining value characteristics (P/E ratio under 20, P/B ratio under 2), attractive yields (3% or higher), and consistent growth (dividend/revenue/EPS trending up over 3 years). Supports two-stage screening using FINVIZ Elite API for efficient pre-filtering followed by FMP API for detailed analysis. Use when user requests dividend stock screening, income portfolio ideas, or quality value stocks with strong fundamentals.

tradermonty/vcp-screener

Screen S&P 500 stocks for Mark Minervini's Volatility Contraction Pattern (VCP) and detect historical VCPs in a single ticker's price path. Identifies Stage 2 uptrend stocks forming tight bases with contracting volatility near breakout pivot points; in historical single-ticker mode walks a multi-year history and emits every VCP that formed with forward-outcome stats (breakout / stop-hit / timeout). Use when user requests VCP screening, Minervini-style setups, tight base patterns, volatility contraction breakout candidates, Stage 2 momentum stock scanning, or historical VCP pattern study on a specific ticker (e.g. FIX, TSLA).

相關技能