feat: agregar comando create-skill y template de skills
Nuevo comando /project:create-skill que crea skills en .claude/skills/ siguiendo
la estructura oficial de Claude Code. Incluye:
- Flujo completo: validación, creación de carpeta/SKILL.md, confirmación, git push
- Soporte para 3 tipos de invocación: ambos, solo_usuario, solo_claude
- Referencia completa de campos del frontmatter (name, description, allowed-tools, etc)
- Referencia de variables dinámicas ($ARGUMENTS, $0, ${CLAUDE_SKILL_DIR}, etc)
- Template base en .claude/templates/skill.md
- Troubleshooting incluido
Los skills son la forma moderna de extender Claude Code, evolucionando desde
el sistema de commands.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
---
|
||||
name: {{NOMBRE}}
|
||||
description: {{DESCRIPCION}}
|
||||
argument-hint: {{ARGUMENT_HINT}}
|
||||
disable-model-invocation: {{DISABLE_MODEL_INVOCATION}}
|
||||
user-invocable: {{USER_INVOCABLE}}
|
||||
allowed-tools: {{ALLOWED_TOOLS}}
|
||||
---
|
||||
|
||||
# {{NOMBRE}}
|
||||
|
||||
{{DESCRIPCION_EXTENDIDA}}
|
||||
|
||||
## Instrucciones
|
||||
|
||||
{{INSTRUCCIONES}}
|
||||
|
||||
## Ejemplos de uso
|
||||
|
||||
**Ejemplo 1:**
|
||||
```bash
|
||||
/{{NOMBRE}} {{EJEMPLO_ARGS_1}}
|
||||
```
|
||||
{{DESCRIPCION_EJEMPLO_1}}
|
||||
|
||||
**Ejemplo 2:**
|
||||
```bash
|
||||
/{{NOMBRE}} {{EJEMPLO_ARGS_2}}
|
||||
```
|
||||
{{DESCRIPCION_EJEMPLO_2}}
|
||||
|
||||
## Notas
|
||||
|
||||
{{NOTAS_ADICIONALES}}
|
||||
Reference in New Issue
Block a user