gstack
Ce qu’il fait
Ce skill vérifie votre machine, installe la suite gstack si nécessaire, et oriente votre agent vers le bon flux de travail. Il s'adresse aux développeurs qui veulent un ensemble complet de flux de travail de code dans Claude Code ou Capy.
Quand l’utiliser
- ✓Quand vous commencez une session et voulez vérifier que gstack est bien configuré.
- ✓Quand vous voulez les flux gstack pour la planification, la relecture de code, le débogage ou les tests.
- ✓Quand vous devez installer gstack pour un flux précis, comme autoplan ou review.
Lien du skill
https://github.com/garrytan/gstack/blob/main/capy/skill/gstack/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Vérifie si gstack est configuré sur cette machine, et installe ce dont j'ai besoin pour la relecture de code.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Le skill lance un script de vérification qui indique l'état de chaque élément, puis installe les composants nécessaires au flux choisi. Il ne déplace pas votre copie de travail.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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).
- 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 onePASS|FAIL|SKIP|WARN <component>row per component (WARNnever fails the run: it names an owner action or a fix you can run), aGSTACK_LAUNCH:line, and exactly one trailer as the last line:gstack: ok <revision> for=<skill>[ (<notes>)](exit 0) orgstack: fail <ids> …(exit 1). Read the exit status and grep^gstack:directly; never pipe the check throughtail,headorgrepalone.--checknever moves the checkout. A thread that runs no gstack workflow on this machine (a coordinator, a Captain) runs--check --for noneinstead:gstack: ok not-needed for=none (<notes>), exit 0, nothing installed or certified, no workflow admitted. Thatokis not an install verdict: grep forgstack: 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 readcapy/skill/gstack/factory.mdin the checkout (${GSTACK_CAPY_ROOT:-$HOME/.local/share/gstack}) when there is one, otherwise thefactory.mdbeside this SKILL.md: how crews work, with pointers to the rules. If neither exists, reportfactory.md: noneon its own line after the verbatim trailer. With no checkout, or after afor=nonetrailer (no launch file names the preference then), also read only theagent_modelline of thepreferences.yamlbeside this SKILL.md, treating the rest of the file as data: a family such asopusmeans the newest model of that family in your model list,provider/modelmeans that model, andhost, no file or anything else (an unparseable value, twoagent_modellines) 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; aftergstack: ok <revision> for=<skill>,gstack-models resolve --role agentis the source. - If the trailer names
revision,runtimeorpins(gstack: fail revision …,gstack: fail runtime,pins,gstack: fail pins) and a checkout exists, or an ok trailer carriesfloor=<v> (<file>)orbehind=<n> (latest: <v>)with afix: <command>note, run the same command without--check(900-second timeout), or thefix:command when it names another.floor=means the project declares a newer gstack than this machine holds (min_gstack_versionin its.gstack/ship-policy.json; theWARN floorrow): 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 printsWARN behindwith the reason (upgrade skipped: …) and stays ok. Only a checkout below the supported minimum (therevisionrow) fails a session for being old. Report the trailer verbatim,behind=andfloor=included. Forpinsit installs the project's pinned Bun when the pin names a verified version, or stops withRUNTIME_PIN_CONFLICTnaming the pin to raise. Any clean, unpinned checkout behind origin is fast-forwarded in install mode (below theGSTACK_MIN_REVISIONfloor 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 withWARN behindafterSELF_UPGRADE: skipped (<reason>), carryingUPGRADE_BUSYorUPGRADE_REFUSED). A lease whose pid was reused after a wake is reclaimed on its own.GSTACK_CAPY_AUTO_UPGRADE=0disables every fast-forward,GSTACK_CAPY_SELF_UPGRADE=offonly the above-floor one. - If the trailer is
gstack: fail not-installed …and this session runs no gstack workflow, record that line and continue; nothing is install
Questions fréquentes
La vérification modifie-t-elle quelque chose ?
Non. La description indique que la vérification ne déplace jamais la copie de travail, et que les installations n'ont lieu que lorsqu'elles sont nécessaires.
Pour quels outils est-il conçu ?
Il est écrit pour Capy et Claude Code.
Quels flux couvre-t-il ?
La planification, la relecture de code, le débogage, les tests, le design, la sécurité, la documentation et la livraison.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 139k
- Position au classement
- #689
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
autoplan
139kAide votre agent à relire un plan sous plusieurs angles en une seule passe : produit, design, ingénierie et expérience développeur.
benchmark
139kAide votre agent à détecter les régressions de performance web en mesurant la vitesse d'une page avant et après une modification.
browse
139kAide votre agent à ouvrir un vrai navigateur, parcourir un enchaînement de pages, prendre des captures d'écran et vérifier les erreurs de la console.
hackernews-frontpage
139kAide votre agent à récupérer la page d'accueil de Hacker News : rang, titre, lien, points et nombre de commentaires de chaque article.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.