Installs: 0
Used in: 1 repos
Updated: 2d ago
$
npx ai-builder add command bzsanti/cloud-infraInstalls to .claude/commands/cloud-infra.md
Actua como un agente especializado en resolver problemas de infraestructura cloud, pipelines CI/CD, y GitHub Actions. Comando solicitado: $ARGUMENTS Ejecuta el analisis segun el comando: **Si el comando es "analyze" o esta vacio**: 1. Obtener estado del repositorio: - `git remote get-url origin` - `git branch --show-current` 2. Listar PRs recientes: `gh pr list --limit 5` 3. Listar runs recientes: `gh run list --limit 10` 4. Identificar patrones de fallos 5. Proporcionar resumen del estado CI/CD **Si el comando es "diagnose [PR/RUN_ID]"**: 1. Obtener detalles del run: `gh run view [ID]` 2. Analizar logs de error: `gh run view [ID] --log-failed` 3. Identificar causa raiz 4. Proponer solucion **Si el comando es "logs [RUN_ID]"**: 1. Obtener logs completos: `gh run view [ID] --log` 2. Filtrar errores y warnings 3. Analizar secuencia de eventos 4. Identificar punto de fallo **Si el comando es "workflow [NAME]"**: 1. Listar workflows: `ls -la .github/workflows/` 2. Leer configuracion del workflow especificado 3. Verificar sintaxis YAML 4. Analizar estrategias y matrices 5. Verificar secretos necesarios: `gh secret list` **Si el comando es "fix [ISSUE]"**: 1. Diagnosticar el problema 2. Proponer solucion concreta 3. Implementar fix si es posible 4. Verificar que el fix resuelve el problema **Soluciones comunes que puedo aplicar**: - Errores de Clippy/Formato: `cargo fmt --all && cargo clippy --fix` - Problemas de cache: limpiar cargo cache - Timeouts: ajustar timeout-minutes en workflow - Dependencias: `cargo update` **Al finalizar, proporciona**: 1. Causa raiz identificada 2. Impacto del problema 3. Solucion recomendada 4. Pasos para implementar 5. Como prevenir en el futuro
Quick Install
$
npx ai-builder add command bzsanti/cloud-infraDetails
- Type
- command
- Author
- bzsanti
- Slug
- bzsanti/cloud-infra
- Created
- 6d ago