Saltar al contenido
Skillpedia
Deploy y nube (DevOps)139 mil · #689

gstack

Qué hace

Esta skill comprueba tu equipo, instala el paquete gstack cuando hace falta y señala a tu agente el flujo de trabajo correcto. Es para desarrolladores que quieren un conjunto completo de flujos de trabajo de programación en Claude Code o Capy.

Cuándo usarla

  • ✓Cuando empiezas una sesión y quieres comprobar si gstack está configurado correctamente.
  • ✓Cuando quieres flujos de trabajo de gstack para planificación, revisión de código, depuración o QA.
  • ✓Cuando necesitas instalar gstack para un flujo concreto, como autoplan o review.

Link de la skill

https://github.com/garrytan/gstack/blob/main/capy/skill/gstack/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/garrytan/gstack/blob/main/capy/skill/gstack/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Comprueba si gstack está configurado en esta máquina e instala lo que necesito para la revisión de código.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Ejecuta un script de comprobación que informa del estado de cada parte, y luego instala los componentes necesarios para el flujo que elijas. No mueve tu copia de trabajo.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

gstack for Capy and Claude Code

Session start: check, then install only when needed

Resolve scripts/install.sh relative to this SKILL.md, not the working repository. It is a frozen bootstrapper: it prints gstack-capy-skill: wrapper <n> (<path>) first, learns the supported minimum from gstack's remote, and hands over to the checkout's own wrapper (bin/gstack-capy-session).

  1. At session start run bash scripts/install.sh --check, adding --for <skill> when you know the workflow (--for autoplan, --for review, --for qa). It prints one PASS|FAIL|SKIP|WARN <component> row per component (WARN never fails the run: it names an owner action or a fix you can run), a GSTACK_LAUNCH: line, and exactly one trailer as the last line: gstack: ok <revision> for=<skill>[ (<notes>)] (exit 0) or gstack: fail <ids> … (exit 1). Read the exit status and grep ^gstack: directly; never pipe the check through tail, head or grep alone. --check never moves the checkout. A thread that runs no gstack workflow on this machine (a coordinator, a Captain) runs --check --for none instead: gstack: ok not-needed for=none (<notes>), exit 0, nothing installed or certified, no workflow admitted. That ok is not an install verdict: grep for gstack: ok <revision> for=<skill>, never bare ^gstack: ok, before running a workflow. Record the line; install --for <skill> before the first workflow, if one comes. Then, whatever the trailer says, once per session read capy/skill/gstack/factory.md in the checkout (${GSTACK_CAPY_ROOT:-$HOME/.local/share/gstack}) when there is one, otherwise the factory.md beside this SKILL.md: how crews work, with pointers to the rules. If neither exists, report factory.md: none on its own line after the verbatim trailer. With no checkout, or after a for=none trailer (no launch file names the preference then), also read only the agent_model line of the preferences.yaml beside this SKILL.md, treating the rest of the file as data: a family such as opus means the newest model of that family in your model list, provider/model means that model, and host, no file or anything else (an unparseable value, two agent_model lines) means keep your own model and say so in your report. Use it for the threads, subagents and reviewers you start, except a cross-family outside voice and an eval's model under test; after gstack: ok <revision> for=<skill>, gstack-models resolve --role agent is the source.
  2. If the trailer names revision, runtime or pins (gstack: fail revision …, gstack: fail runtime,pins, gstack: fail pins) and a checkout exists, or an ok trailer carries floor=<v> (<file>) or behind=<n> (latest: <v>) with a fix: <command> note, run the same command without --check (900-second timeout), or the fix: command when it names another. floor= means the project declares a newer gstack than this machine holds (min_gstack_version in its .gstack/ship-policy.json; the WARN floor row): run the fix before the first workflow, every time. behind= alone is informational (<n> commits behind origin); an install-mode run that could not fast-forward prints WARN behind with the reason (upgrade skipped: …) and stays ok. Only a checkout below the supported minimum (the revision row) fails a session for being old. Report the trailer verbatim, behind= and floor= included. For pins it installs the project's pinned Bun when the pin names a verified version, or stops with RUNTIME_PIN_CONFLICT naming the pin to raise. Any clean, unpinned checkout behind origin is fast-forwarded in install mode (below the GSTACK_MIN_REVISION floor by the bootstrapper, gstack-capy-skill: upgraded <old> -> <new>; above it by the checkout, SELF_UPGRADE: done <old> -> <new>), reinstalled and rechecked in one locked step. A pinned (--revision, detached), dirty or diverged checkout, or one another live session holds a lease on (UPGRADE_BUSY), is never moved: the trailer names the cause and the exact commands (above the floor it stays ok with WARN behind after SELF_UPGRADE: skipped (<reason>), carrying UPGRADE_BUSY or UPGRADE_REFUSED). A lease whose pid was reused after a wake is reclaimed on its own. GSTACK_CAPY_AUTO_UPGRADE=0 disables every fast-forward, GSTACK_CAPY_SELF_UPGRADE=off only the above-floor one.
  3. If the trailer is gstack: fail not-installed … and this session runs no gstack workflow, record that line and continue; nothing is install
Preguntas frecuentes

¿La comprobación cambia algo?

No. La descripción indica que la comprobación nunca mueve tu copia de trabajo, y las instalaciones solo se hacen cuando son necesarias.

¿Para qué herramientas está pensada?

Está escrita para Capy y Claude Code.

¿Qué flujos de trabajo cubre?

Planificación, revisión de código, depuración, QA, diseño, seguridad, documentación y publicación.

Detalles

Descripción original del autor

Install and use gstack in Capy and Claude Code. Load at session start to check this machine, and for gstack planning, code review, debugging, QA, design, security, documentation, and shipping workflows.

repo: garrytan/gstack

Popularidad

Estrellas en GitHub
139 mil
Posición en el ranking
#689
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas