baggat236/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 https://github.com/BaggaT236/AI-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.
a design prompt for claude -p
references/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:
python3 skills/skill-designer/scripts/build_design_prompt.py \
--idea-json /tmp/idea.json \
--skill-name "my-new-skill" \
--project-root .
The script:
The calling pipeline pipes the prompt into 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
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)Take baggat236/skill-designer from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.