Communitygithub.com

tradermonty/skill-designer

Concevez de nouvelles compétences Claude à partir de spécifications structurées d'idées. Utilisez-le lorsque le pipeline de génération automatique de compétences doit produire une invite Claude CLI qui crée un répertoire de compétences complet (SKILL.md, références, scripts, tests) conformément aux conventions du dépôt.

Qu'est-ce que skill-designer ?

Skill Designer est un outil essentiel pour le pipeline de génération automatique de compétences de l'écosystème Claude. Il prend une spécification d'idée structurée au format JSON (contenant titre, description et catégorie) ainsi qu'un nom de compétence normalisé, puis génère une invite textuelle complète. Cette invite, destinée à être transmise à la commande `claude -p`, demande à Claude de créer un répertoire de compétences complet : SKILL.md avec son en-tête YAML, les documents de référence, les scripts d'assistance et la structure de tests. L'outil permet d'éviter les doublons en listant les compétences existantes (jusqu'à 20). Il inclut un script Python (`build_design_prompt.py`) avec une interface CLI simple, et s'appuie sur trois fichiers de référence essentiels : un guide de structure, une checklist de qualité (100 points selon le système d'évaluation double-axe) et un modèle SKILL.md. Skill Designer est conçu pour les développeurs et les pipelines d'automatisation qui souhaitent industrialiser la création de compétences Claude, garantissant la qualité et la cohérence avec les conventions du dépôt.

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

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Skill Designer

Aperçu

Générer une invite complète pour Claude CLI à partir d'une spécification structurée d'idée de compétence. L'invite demande à Claude de créer un répertoire de compétences complet conformément aux conventions du dépôt : SKILL.md avec en-tête YAML, documents de référence, scripts d'assistance et structure de tests.

Quand l'utiliser

  • Le pipeline de génération automatique de compétences sélectionne une idée dans le backlog et a besoin d'une invite de conception pour claude -p
  • Un développeur souhaite amorcer une nouvelle compétence à partir d'une spécification d'idée au format JSON
  • La révision de la qualité des compétences générées nécessite une connaissance de la grille d'évaluation

Prérequis

  • Python 3.9+
  • Aucune clé API externe requise
  • Les fichiers de référence doivent exister sous references/

Flux de travail

Étape 1 : Préparer la spécification de l'idée

Accepter un fichier JSON (--idea-json) contenant :

  • title : Nom lisible de l'idée
  • description : Ce que fait la compétence
  • category : Catégorie de la compétence (ex. : trading-analysis, developer-tooling)

Accepter un nom de compétence normalisé (--skill-name) qui sera utilisé comme nom de répertoire et champ name: dans l'en-tête YAML.

Étape 2 : Construire l'invite de conception

Exécuter le constructeur d'invite :

python3 skills/skill-designer/scripts/build_design_prompt.py \
  --idea-json /tmp/idea.json \
  --skill-name "ma-nouvelle-competence" \
  --project-root .

Le script :

  1. Charge le JSON de l'idée
  2. Lit les trois fichiers de référence (guide de structure, checklist de qualité, modèle)
  3. Liste les compétences existantes (jusqu'à 20) pour éviter les doublons
  4. Génère une invite complète sur stdout

Étape 3 : Transmettre l'invite à Claude CLI

Le pipeline appelant canalise l'invite vers claude -p :

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

Étape 4 : Valider la sortie

Après que Claude a créé la compétence, vérifier :

  • skills/<nom-competence>/SKILL.md existe avec le bon en-tête
  • La structure du répertoire respecte les conventions
  • Le score attribué par le réviseur double-axe (dual-axis-skill-reviewer) atteint le seuil requis

Format de sortie

Le script génère une invite textuelle simple sur stdout. Code de sortie 0 en cas de succès, 1 si les fichiers de référence requis sont manquants.

Ressources

  • references/skill-structure-guide.md -- Structure du répertoire, format SKILL.md, conventions de nommage
  • references/quality-checklist.md -- Checklist à 5 catégories du réviseur double-axe (100 points)
  • references/skill-template.md -- Modèle SKILL.md avec en-tête YAML et sections standard
  • scripts/build_design_prompt.py -- Script constructeur d'invite (interface 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).

Skills associés