How to build and package a new Claude Skill in 10 minutes
Wann einsetzen: You have a repeatable workflow in your head and want Claude to package it as an installable skill.
Voraussetzungen
- Skill Factory installed — git clone https://github.com/alirezarezvani/claude-code-skill-factory ~/.claude/skills/claude-code-skill-factory
Ablauf
-
Invoke /build/build — I want a skill that audits a Next.js app for Core Web Vitals issues and outputs a Lighthouse-style report.✓ Kopiert→ Factory asks clarifying questions: triggers, tool categories, output format
-
Answer the scaffolding questionsTrigger on 'audit CWV' or Next.js project detected. Output markdown report with screenshots.✓ Kopiert→ Draft SKILL.md with frontmatter, example usages, reference files
-
Validate and package/validate-output✓ Kopiert→ Green checks on frontmatter, directory structure, example completeness; ZIP produced
-
Install locally/install-skill ./out/cwv-audit.zip✓ Kopiert→ Skill appears in ~/.claude/skills and is discovered by Claude Code
Ergebnis: A working, installed skill ready to trigger on the next matching prompt.
Fallstricke
- Skill triggers too aggressively on unrelated prompts — Tighten the 'description' in frontmatter — Claude uses it to decide when to load the skill
- Example in SKILL.md drifts from actual behavior — /validate-output re-runs the example and flags mismatches