gstack
Skill này làm gì
Skill này kiểm tra máy của bạn, cài bộ gstack khi cần và chỉ agent đến đúng quy trình làm việc. Skill dành cho lập trình viên muốn một bộ quy trình lập trình đầy đủ trong Claude Code hoặc Capy.
Khi nào nên dùng
- ✓Khi bạn bắt đầu một phiên và muốn kiểm tra gstack đã được thiết lập đúng chưa.
- ✓Khi bạn muốn các quy trình gstack cho lập kế hoạch, rà soát code, gỡ lỗi hoặc QA.
- ✓Khi bạn cần cài gstack cho một quy trình cụ thể, như autoplan hoặc review.
Liên kết skill
https://github.com/garrytan/gstack/blob/main/capy/skill/gstack/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra xem gstack đã được thiết lập trên máy này chưa, và cài những gì tôi cần để rà soát code.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chạy một script kiểm tra báo cáo trạng thái từng phần, rồi cài các thành phần cần cho quy trình bạn chọn. Skill không di chuyển bản checkout đang làm việc của bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Việc kiểm tra có thay đổi gì không?
Không. Mô tả cho biết việc kiểm tra không bao giờ di chuyển bản checkout, và việc cài đặt chỉ diễn ra khi cần.
Nó dành cho những công cụ nào?
Nó được viết cho Capy và Claude Code.
Nó bao gồm những quy trình nào?
Lập kế hoạch, rà soát code, gỡ lỗi, QA, thiết kế, bảo mật, tài liệu và phát hành.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 139k
- Vị trí xếp hạng
- #689
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
autoplan
139kGiúp agent của bạn rà soát một kế hoạch từ nhiều góc độ trong một lượt chạy, gồm sản phẩm, thiết kế, kỹ thuật và trải nghiệm lập trình viên.
benchmark
139kGiúp agent của bạn phát hiện suy giảm hiệu năng web bằng cách đo tốc độ trang trước và sau một thay đổi.
browse
139kGiúp agent của bạn mở một trình duyệt web thật, nhấp qua một luồng trang, chụp ảnh màn hình và kiểm tra lỗi trong console.
hackernews-frontpage
139kGiúp agent của bạn thu thập trang chủ Hacker News hiện tại, với thứ hạng, tiêu đề, liên kết, điểm và số bình luận của từng bài.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.