How to build and package a new Claude Skill in 10 minutes
언제 쓸까: You have a repeatable workflow in your head and want Claude to package it as an installable skill.
사전 조건
- Skill Factory installed — git clone https://github.com/alirezarezvani/claude-code-skill-factory ~/.claude/skills/claude-code-skill-factory
흐름
-
Invoke /build/build — I want a skill that audits a Next.js app for Core Web Vitals issues and outputs a Lighthouse-style report.✓ 복사됨→ 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.✓ 복사됨→ Draft SKILL.md with frontmatter, example usages, reference files
-
Validate and package/validate-output✓ 복사됨→ Green checks on frontmatter, directory structure, example completeness; ZIP produced
-
Install locally/install-skill ./out/cwv-audit.zip✓ 복사됨→ Skill appears in ~/.claude/skills and is discovered by Claude Code
결과: A working, installed skill ready to trigger on the next matching prompt.
함정
- 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