/ Diretório / Playground / claude-code-skill-factory
● Comunidade alirezarezvani ⚡ Instantâneo

claude-code-skill-factory

por alirezarezvani · alirezarezvani/claude-code-skill-factory

Meta-skill toolkit: interactive builders that generate production-ready Claude Skills, agents, slash commands, and hooks for you.

Skill Factory is a collection of guided builders — Factory Guide, Skills Guide, Prompts Guide, Agents Guide, Hooks Guide — plus slash commands like /build, /validate-output, /install-skill. You describe what you want, it scaffolds SKILL.md, examples, references, and a ZIP ready to drop into ~/.claude/skills/. Ships with 9 production skills covering AWS, M365, content research, and CLAUDE.md enhancement.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

claude-code-skill-factory-skill.replay ▶ pronto
0/0

Instalação

Repositório do autor · Documentação oficial de Skills do Claude

Casos de uso

Usos do mundo real: claude-code-skill-factory

How to build and package a new Claude Skill in 10 minutes

👤 Developers who want to ship a skill without hand-writing SKILL.md boilerplate ⏱ ~15 min beginner

Quando usar: You have a repeatable workflow in your head and want Claude to package it as an installable skill.

Fluxo
  1. Invoke /build
    /build — I want a skill that audits a Next.js app for Core Web Vitals issues and outputs a Lighthouse-style report.✓ Copiado
    → Factory asks clarifying questions: triggers, tool categories, output format
  2. Answer the scaffolding questions
    Trigger on 'audit CWV' or Next.js project detected. Output markdown report with screenshots.✓ Copiado
    → Draft SKILL.md with frontmatter, example usages, reference files
  3. Validate and package
    /validate-output✓ Copiado
    → Green checks on frontmatter, directory structure, example completeness; ZIP produced

Resultado: A working, installed skill ready to trigger on the next matching prompt.

Armadilhas
  • 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
Combine com: skills-skill-2

Wire a pre-commit hook via the Hooks Guide

👤 Teams that want to automate Claude Code behavior on specific events ⏱ ~10 min intermediate

Quando usar: You want something to run automatically on prompt submit, tool use, or session stop — not a skill Claude has to choose to load.

Fluxo
  1. Start Hooks Guide
    /build hook — run gitleaks on every Write tool call before Claude saves secrets✓ Copiado
    → Guide asks which event: PreToolUse/PostToolUse/Stop
  2. Define matcher and command
    Match Write tool calls, pipe file content through gitleaks detect, block on finding.✓ Copiado
    → Draft settings.json hook block with matcher + command
  3. Install into user settings
    /install-hook — user scope✓ Copiado
    → ~/.claude/settings.json updated; next tool call is gated

Resultado: A hook that blocks secret-leaking writes before they happen.

Armadilhas
  • Hook runs too slow and stalls every tool call — Move to PostToolUse if the check doesn't need to block

Author a reusable prompt pack using research-backed frameworks

👤 Prompt engineers building consistent house prompts for a team ⏱ ~15 min beginner

Quando usar: You want every teammate to get CO-STAR / RISEN-structured prompts without memorizing the frameworks.

Fluxo
  1. Invoke Prompts Guide
    /build prompts — 5 presets for customer-support replies, CO-STAR structured✓ Copiado
    → Guide lists available frameworks and asks which tone/role bias

Resultado: Team-shared prompt pack installable via one git clone.

Combinações

Combine com outros MCPs para 10× de alavancagem

claude-code-skill-factory-skill + prompt-architect-skill

Prompt Architect tunes individual prompts; Skill Factory packages sets of them into a shareable skill

Have prompt-architect tighten these 5 prompts, then /build prompts and export as a skill pack.✓ Copiado
claude-code-skill-factory-skill + skills-skill-2

Use Posit's skill collection as reference templates when building your own

Show me the structure of the Posit R-analysis skill, then /build a parallel Python-analysis skill modeled on it.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
/build target: 'skill'|'agent'|'prompt'|'hook', description: str Top-level entry to create any new extension interactive Claude session
/validate-output path: str Before distributing a skill 0
/install-skill zip_or_path: str, scope?: 'user'|'project' After validate passes 0
/install-hook hook_definition After Hooks Guide produces a draft 0
/sync-agents-md skill_path: str Distributing across Cursor/Codex 0
/factory-status - Troubleshooting missing builders 0

Custo e limites

O que custa rodar

Cota de API
None — runs entirely inside Claude Code
Tokens por chamada
5k-20k tokens for a full build session
Monetário
Free. Consumes your Claude subscription.
Dica
Keep builder sessions focused — answer decisively to avoid expanding the conversation into rework.

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: No credentials. Skill Factory writes to ~/.claude/skills and ~/.claude/settings.json only.
Saída de dados: No outbound calls beyond Claude Code itself.

Solução de problemas

Erros comuns e correções

Generated ZIP fails /install-skill

Usually a frontmatter typo in SKILL.md. Run /validate-output first; it surfaces the exact missing field.

Hook produces no output after install

Matcher is too narrow. /factory-status shows which events are firing; widen the matcher in settings.json.

Verificar: cat ~/.claude/settings.json | jq .hooks

Alternativas

claude-code-skill-factory vs. outros

AlternativaQuando usarTroca
skills-skill-2 (Posit skills)You just want ready-made skills, not a factory to build your ownNo scaffolding, no hook builder
Hand-writing SKILL.mdYou've already built several skills and know the shapeMore control, slower, no validation

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills