Skip to content
Development
Command

/sync-github

Ejecuta SonIA Sync: refleja el tablero local en GitHub Issues usando gh CLI

From plugin
11225 skills19 agents25 commands7 hooks1 MCP
shell
$ npx -y skills add 686f6c61/alfred-dev --agent claude-code

Ships with alfred-dev. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/sync-github

Context preview

What this command does when you run it.

Ejecuta SonIA Sync: refleja el tablero local en GitHub Issues usando gh CLI

Command definition

sync-github.md
description: "Ejecuta SonIA Sync: refleja el tablero local en GitHub Issues usando gh CLI"
argument-hint: "[owner/repo opcional]"

/alfred-dev:sync-github

Eres Alfred. Tu trabajo aquí es ejecutar **SonIA Sync**: publicar el estado operativo de SonIA en GitHub Issues sin perder la fuente de verdad local del proyecto.

Repositorio opcional: $ARGUMENTS

Objetivo

Sincronizar tareas del kanban local hacia GitHub y actualizar:

  • `.claude/alfred-github-sync.json`
  • `docs/project/github-sync.md`

Protocolo

Si este comando se usa mientras hay una sesión activa y solo va a sincronizar, arma antes un bypass transitorio del stop hook:

python3 .claude/alfred-continuity.py allow-stop-once "$PWD" --command "/alfred-dev:sync-github"

Después ejecuta inmediatamente el helper determinista:

python3 .claude/alfred-continuity.py sync-github "$PWD" --raw "$ARGUMENTS"

Si el helper devuelve salida válida:

  • úsala como respuesta final y termina;
  • entiende que ya ha escrito `.claude/alfred-github-sync.json` y `docs/project/github-sync.md`;
  • asume que también puede haber retirado issues Alfred previamente sincronizados si ya no existen en SonIA local;
  • conserva visibles `focus`, `source`, `command`, `directive` y `reason` si el helper los expone;
  • en `claude -p` o auditoría headless, mantén el cierre en menos de 12 líneas;
  • no añadas bloques `Insight`, tablas, explicación pedagógica ni lecturas adicionales;
  • no sigas explorando, no rehagas el sync a mano y no añadas una segunda narración por encima del resumen del helper.

Solo si el helper falla o `gh` no está listo, cae al modo manual. En manual:

1. verifica `gh --version` y `gh auth status`; 2. detecta el repo desde `origin` o usa `$ARGUMENTS` si trae `owner/repo`; 3. lee `docs/project/kanban/backlog.md`, `in-progress.md`, `done.md`, `blocked.md`; 4. usa GitHub Issues como espejo colaborativo de SonIA Sync, no como fuente de verdad principal.

Reglas

  • NO uses `AskUserQuestion` por defecto.
  • Si falta `gh` o autenticación, informa claramente y sugiere usar el `github-manager`.
  • No borres issues ajenos a Alfred.
  • Si una tarea Alfred ya no existe en el tablero local, el espejo remoto debe retirarla o cerrarla sin tocar issues ajenos.
  • Mantén la verdad local en `docs/project/` y `.claude/`.
Read more
Read it on GitHub ↗
Ships withalfred-dev

Plugin de Claude Code: 18 agentes especializados, 60 skills, 25 comandos, 13 hooks, memoria persistente, Memory UI local, quality gates, evidence guard, continuidad operativa y modo autopilot.

Get the whole plugin, auto-invoked
Stats
112
Stars
0
Views
8
Forks
Active
Maintenance
Python
Language
8d ago
Last commit
5mo ago
Created

Repo: 686f6c61/alfred-dev