# gstack — Claude Code Skill Pack (23 roles) > Install gstack in Claude Code to unlock 23 role-based slash commands for planning, review, QA, and shipping. Clone + run ./setup; team mode supported. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use 1. Install the verified entrypoint: ```bash git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup ``` 2. Run a first local check: ```bash In Claude Code: /office-hours ``` 3. Add a repeatable verification step: ```bash In Claude Code: /review ``` --- ## Intro gstack is a verified GitHub-backed asset sourced from `garrytan/gstack` with 93,628 stars and a MIT license snapshot. Best for: founders and small teams who want a repeatable Claude Code playbook instead of improvising prompts. Works with: Claude Code, Git, a shell environment; optional Bun/Node for setup helper scripts. Setup time: 7 minutes. ### Quantitative notes - 23 roles/skills - Setup time ~7 minutes --- ## Deep Dive ### What it solves Use this when you need a **repeatable, team-shareable workflow** instead of one-off agent prompts. The goal is to make installation, first-run validation, and rollback **predictable**. ### Minimal mental model - Treat the GitHub repo as the source of truth: install instructions, configs, and upgrade paths live there. - Keep your first run small: one command, one verification, one rollback plan. - Capture a baseline: setup time, first successful run, and one real task completed end-to-end. ### Safe rollout checklist 1. **Verify source**: confirm repo URL, stars, and license match what you expect. 2. **Install** using the Quick Use commands above. 3. **Prove it works** with the verification command; save the output in a note or issue. 4. **Operationalize**: document owner, upgrade command, and rollback command. ### Troubleshooting (common) - **Install succeeds but nothing shows up** - Likely cause: the tool needs a restart/reload (CLI/IDE) or a config file in the right path. - Fix: restart the client, then re-run the verification step. - **Works on one machine, fails on another** - Likely cause: Node/Python/Docker versions differ or missing system dependencies. - Fix: pin versions (Node/Python), and copy a minimal known-good config. - **Token cost or latency is worse than expected** - Likely cause: tool schemas or verbose outputs get injected into context. - Fix: prefer smaller steps, cache results, and keep tool responses concise when possible. --- ### FAQ **Q: Is this only for Claude Code?** A: The repo includes setup guidance for multiple agents, but the fastest path is Claude Code + the slash commands shipped by gstack. **Q: What is the safest way to adopt it in a team?** A: Start in a sandbox repo, then use the repo's team mode so teammates get consistent skills without manual copy/paste drift. **Q: How do I measure if it helped?** A: Track setup time, number of review cycles saved, and whether /review + /qa reduces regressions over 1–2 weeks. --- ## Source & Thanks > GitHub: https://github.com/garrytan/gstack > Owner avatar: https://avatars.githubusercontent.com/u/19957?v=4 > License (SPDX): MIT > Stars (verified via `api.github.com/repos/garrytan/gstack`): 93,628 --- # gstack——Claude Code 23 角色技能包 > 在 Claude Code 安装 gstack,一次获得 23 个角色化技能命令:从需求澄清、方案评审到 QA/发布。git clone 后运行 ./setup,并可用 team mode 让团队自动同步。 ## 快速使用 1. 安装(以仓库为准): ```bash git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup ``` 2. 首次运行/检查: ```bash In Claude Code: /office-hours ``` 3. 可重复验证: ```bash In Claude Code: /review ``` --- ## 简介 gstack 已核验来源于 `garrytan/gstack`(93,628 stars,许可证 MIT)。适合:希望把 Claude Code 变成“可复用团队流程”的创始人/小团队,而不是每次临时写提示词。兼容:Claude Code、Git、Shell 环境;可选 Bun/Node 用于安装脚本。装机时间:7 分钟。 ### 量化信息 - 23 个角色/技能 - 装机约 7 分钟 --- ## 深度说明 ### 解决什么问题 把“找到项目 → 安装 → 首次验证 → 回滚/升级”变成可复用流程,避免只靠一次性提示词或截图操作。 ### 最小心智模型 - GitHub 仓库是事实来源:安装、配置、升级、已知问题都以它为准。 - 第一次只做最小闭环:一个命令安装、一个命令验证、一个可回滚方案。 - 记录基线:装机耗时、首次成功输出、完成 1 个真实任务的证据。 ### 安全推广清单 1. **核验来源**:确认仓库 URL / stars / license 与预期一致。 2. 按“快速使用”完成安装与首次检查。 3. 跑通“验证命令”,把输出留档。 4. 标注 owner,并写清升级/回滚步骤。 ### 常见排障 - **装了但看不到效果** - 常见原因:需要重启 CLI/IDE 或配置文件路径不对。 - 处理:重启后再跑一遍“验证命令”。 - **一台机器能跑,另一台不行** - 常见原因:Node/Python/Docker 版本差异或缺少系统依赖。 - 处理:固定版本,并拷贝最小可用配置。 - **token 成本/延迟超预期** - 常见原因:工具 schema 或输出过长被塞进上下文。 - 处理:拆小步骤、缓存结果、尽量让工具输出更短。 --- ### FAQ **Q: 只能给 Claude Code 用吗?** A: 仓库提供了多代理的安装指引,但最顺滑的路径仍是 Claude Code + gstack 的斜杠命令集。 **Q: 团队接入怎么最安全?** A: 先在 sandbox 仓库试跑,再启用 team mode,让团队成员自动获得一致的技能版本,避免手动复制造成漂移。 **Q: 怎么判断有没有提升?** A: 记录装机时间、review 循环次数是否减少,以及 /review + /qa 是否在 1–2 周内降低回归率。 --- ## 来源与感谢 > GitHub:https://github.com/garrytan/gstack > Owner avatar:https://avatars.githubusercontent.com/u/19957?v=4 > 许可证(SPDX):MIT > GitHub stars(已通过 `api.github.com/repos/garrytan/gstack` 核验):93,628 --- Source: https://tokrepo.com/en/workflows/gstack-claude-code-skill-pack-23-roles Author: Skill Factory