c36aa18c67
Nuevas skills para crear TUIs, inicializar frontends React y módulos Go. Incluye binario parallel-executor y utilidades de soporte. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
name, description, disable-model-invocation, user-invocable, allowed-tools
| name | description | disable-model-invocation | user-invocable | allowed-tools |
|---|---|---|---|---|
| init-go-module | Inicializa un módulo Go funcional con bindings Python (CGO c-shared + ctypes) | true | true | Bash, Read, Write, Edit |
init-go-module
Inicializa un módulo Go con arquitectura funcional (pure core / impure shell) y bindings Python automáticos via CGO c-shared + ctypes. Coherente con DevFactory y el stack del backend-lib agent.
Sintaxis
/init-go-module [nombre] [--path /ruta/destino]
nombre: nombre del módulo (kebab-case). Si no se da, se pregunta.--path: directorio destino. Default: directorio actual.
Flujo
1. Ejecutar script de setup
bash "${CLAUDE_SKILL_DIR}/setup-go-module.sh" [nombre] [path]
2. Si el script reporta STATUS: CONFIGURED
Informar al usuario que el módulo ya está configurado.
3. Si el script reporta STATUS: READY
Mostrar resumen:
- Estructura creada
- Cómo compilar:
make build - Cómo generar bindings Python:
make python - Cómo testear:
make test - Cómo usar desde Python:
from bindings.modulo import *
4. Si el script reporta STATUS: ERROR
Mostrar el error y sugerir corrección.
Convenciones
- Usa DevFactory como dependencia via
go.work(igual que build-wails) - Patrón pure core / impure shell de DevFactory
Result[T]yOption[T]del core de DevFactory- Funciones exportadas a Python son thin wrappers en
export/ - El wrapper Python se auto-genera desde los
//exportcomments