Type what you want. Get a working Claude Code skill. The skill factory for Claude Code โ natural language to production-ready SKILL.md.
Writing a good Claude Code skill is hard. You need:
- The right frontmatter format (
name,description,triggers) - Specific, unambiguous trigger phrases
- A "When NOT to use" section
- Clear failure modes
- Concrete examples
This tool does all of that automatically. You describe what you want in plain English (or Arabic, French, Spanish). It generates a lint-passing, idiomatic, ready-to-install skill.
npm i -g claude-code-skills-factory$ claude-skill new "I want a skill that audits my Tailwind classes and removes duplicates"
โจ Generating skill...
โ Name: tailwind-deduper
โ Triggers: 5 phrases generated
โ Failure modes: documented
โ Examples: 3 included
โ Saved to ~/.claude/skills/tailwind-deduper/SKILL.md
โ Lint passes. Ready to use.The next time you ask Claude "find duplicate Tailwind classes," your new skill activates.
- Intent extraction โ parses your description into structured fields
- Trigger generation โ produces 5โ8 unambiguous phrases that should activate it
- Template instantiation โ fills the SKILL.md scaffold
- Self-lint โ runs the skill through
claude-code-skills-factory lintbefore saving - Optional preview โ opens the generated SKILL.md in your editor for review
claude-skill new "<description>" # Generate a new skill
claude-skill list # List your installed skills
claude-skill edit <name> # Re-generate with edits
claude-skill lint <path> # Validate any SKILL.md
claude-skill publish <name> # Push to claude-skills-mega registry
claude-skill import <url> # Import from a URL or git repoDrop custom templates in ~/.claude-skill-factory/templates/:
templates/
โโโ default.md # standard skill
โโโ code-review.md # specialized review skill
โโโ ci-action.md # GitHub Action helper
โโโ data-transform.md # ETL-style skill
claude-skill new "Slack message formatter" --template ci-actionInput:
claude-skill new "Convert ASCII diagrams in code comments into Mermaid"Output (~/.claude/skills/ascii-to-mermaid/SKILL.md):
---
name: ascii-to-mermaid
description: Convert ASCII diagrams found in code comments into equivalent Mermaid syntax, preserving structure and labels.
triggers:
- "convert ASCII diagram to Mermaid"
- "turn this ASCII chart into Mermaid"
- "rewrite the diagram in mermaid"
- "ascii to mermaid"
- "make this a mermaid graph"
license: MIT
author: generated by claude-code-skills-factory
---
# ASCII to Mermaid
You are converting an ASCII diagram embedded in a code comment into Mermaid syntax.
## Step 1 โ Identify the diagram type
... (full content) ...
## When NOT to use
- Diagrams already in Mermaid (use a syntax fixer instead)
- ...
## Failure modes
- โ ๏ธ Complex 3D ASCII art cannot be losslessly converted ...The output passes claude-skill lint without warnings.
Describe in any language โ the skill instructions are always in English (Claude works best in English internally), but you can pass --locale=ar to make the user-facing docs Arabic.
claude-skill new "ุฃุฏุงุฉ ุชูุชุจ ุงุฎุชุจุงุฑุงุช pytest ู
ู docstrings" --locale arEvery generated skill must pass:
- โ Required frontmatter fields present
- โ At least 5 specific triggers (no generic ones like "do X")
- โ "When NOT to use" section
- โ "Failure modes" section
- โ At least one concrete example
- โ No reference to non-existent tools/APIs
If generation can't meet the bar, it asks you for clarification instead of producing low-quality output.
MIT. See LICENSE.
Star โญ if you're tired of writing SKILL.md boilerplate.