npx skills add ...
npx skills add tradermonty/claude-trading-skills --skill skill-designer
Design new Claude skills from structured idea specifications. Use when the skill auto-generation pipeline needs to produce a Claude CLI prompt that creates a complete skill directory (SKILL.md, references, scripts, tests) following repository conventions.
npx skills add tradermonty/claude-trading-skills --skill skill-designer
Generate a comprehensive Claude CLI prompt from a structured skill idea specification. The prompt instructs Claude to create a complete skill directory following repository conventions: SKILL.md with YAML frontmatter, reference documents, helper scripts, and test scaffolding.
claude -preferences/Accept a JSON file (--idea-json) containing:
title: Human-readable idea namedescription: What the skill doescategory: Skill category (e.g., trading-analysis, developer-tooling)Accept a normalized skill name (--skill-name) that will be used as the
directory name and YAML frontmatter name: field.
Run the prompt builder:
The script:
The calling pipeline pipes the prompt into claude -p:
After Claude creates the skill, verify:
skills/<skill-name>/SKILL.md exists with correct frontmatterThe script outputs a plain-text prompt to stdout. Exit code 0 on success, 1 if required reference files are missing.
references/skill-structure-guide.md -- Directory structure, SKILL.md format, naming conventionsreferences/quality-checklist.md -- Dual-axis reviewer 5-category checklist (100 points)references/skill-template.md -- SKILL.md template with YAML frontmatter and standard sectionsscripts/build_design_prompt.py -- Prompt builder script (CLI interface)