gstack

August 29, 2026 · View on GitHub

gstack is a collection of SKILL.md files that give AI agents structured roles for software development. Each skill is a specialist: CEO reviewer, eng manager, designer, QA lead, release engineer, debugger, and more.

Available skills

Skills live in .agents/skills/ (or ~/.claude/skills/gstack/ on Claude Code). Invoke them by name (e.g., /office-hours).

Plan-mode reviews

SkillWhat it does
/office-hoursStart here. Reframes your product idea before you write code.
/plan-ceo-reviewCEO-level review: find the 10-star product in the request.
/plan-eng-reviewLock architecture, data flow, edge cases, and tests.
/plan-design-reviewRate each design dimension 0-10, explain what a 10 looks like.
/plan-devex-reviewDX-mode review: TTHW, magical moments, friction points, persona traces.
/plan-tuneSelf-tune AskUserQuestion sensitivity per question.
/autoplanOne command runs CEO → design → DX → eng review (eng always last).
/design-consultationBuild a complete design system from scratch.
/specTurn vague intent into a precise, executable spec in five phases. Files a GitHub issue, optionally spawns a Claude Code agent in a fresh worktree, and lets /ship close the source issue on merge.

Implementation + review

SkillWhat it does
/reviewPre-landing PR review. Finds bugs that pass CI but break in prod.
/codexSecond opinion via OpenAI Codex. Review, challenge, or consult modes.
/investigateSystematic root-cause debugging. No fixes without investigation.
/design-reviewLive-site visual audit + fix loop with atomic commits.
/design-shotgunGenerate multiple AI design variants, comparison board, iterate.
/design-htmlGenerate production-quality Pretext-native HTML/CSS.
/devex-reviewLive developer experience audit (TTHW measured against the real flow).
/qaOpen a real browser, find bugs, fix them, re-verify.
/qa-onlySame methodology as /qa but report only — no code changes.
/scrapePull data from a web page. First call prototypes; codified call runs in ~200ms.
/skillifyCodify the most recent successful /scrape flow into a permanent browser-skill.

Release + deploy

SkillWhat it does
/shipRun tests, review, push, open PR. Workspace-aware version queue.
/land-and-deployMerge the PR, wait for CI and deploy, verify production health.
/canaryPost-deploy monitoring loop using the browse daemon.
/landing-reportRead-only dashboard for the workspace-aware ship queue.
/document-releaseUpdate all docs to match what you just shipped.
/document-generateGenerate Diataxis docs (tutorial / how-to / reference / explanation) from code.
/setup-deployOne-time deploy config detection (Fly.io, Render, Vercel, etc.).
/gstack-upgradeUpdate gstack to the latest version.

Operational + memory

SkillWhat it does
/context-saveSave working context (git state, decisions, remaining work).
/context-restoreResume from a saved context, even across Conductor workspaces.
/learnManage what gstack learned across sessions.
/retroWeekly retro with per-person breakdowns and shipping streaks.
/healthCode quality dashboard (type checker, linter, tests, dead code).
/benchmarkPerformance regression detection (page load, Core Web Vitals).
/benchmark-modelsCross-model benchmark for skills (Claude, GPT, Gemini side-by-side).
/csoOWASP Top 10 + STRIDE security audit.
/setup-gbrainSet up gbrain for cross-machine session memory sync.
/sync-gbrainKeep gbrain current with this repo's code; refresh agent search guidance in CLAUDE.md.

Browser + agent integration

SkillWhat it does
/browseHeadless browser — real Chromium, real clicks, ~100ms/command.
/open-gstack-browserLaunch the visible GStack Browser with sidebar + stealth.
/setup-browser-cookiesImport cookies from your real browser for authenticated testing.
/pair-agentPair a remote AI agent (OpenClaw, Codex, etc.) with your browser.

iOS QA — drive real iPhones over USB or Tailscale (v1.43.0.0+)

SkillWhat it does
/ios-qaLive-device iOS QA via USB CoreDevice tunnel + embedded StateServer. Optionally exposes the device over Tailscale so remote agents can drive it.
/ios-fixAutonomous iOS bug fixer with regression snapshot capture.
/ios-design-reviewDesigner's-eye QA on a real iPhone — 10-dimension Apple HIG rubric.
/ios-cleanConvenience: strip DebugBridge + #if DEBUG wiring before a Release build.
/ios-syncRegenerate the iOS debug bridge against the latest upstream templates.

Companion CLIs (run on the Mac that's plugged into the device):

CommandWhat it does
gstack-ios-qa-daemonMac-side broker. Loopback by default; --tailnet adds a Tailscale-facing listener with capability tiers and audit logging.
gstack-ios-qa-mintOwner-grant CLI for the tailnet allowlist (grant/revoke/list).
gstack-ios-qa-regenRegenerate the canonical local DebugBridge package and typed accessors (--app-source / --bridge-dir).

End-to-end walkthrough: docs/howto-ios-testing-with-gstack.md.

Safety + scoping

SkillWhat it does
/carefulWarn before destructive commands (rm -rf, DROP TABLE, force-push).
/freezeLock edits to one directory. Hard block, not just a warning.
/guardActivate both careful + freeze at once.
/unfreezeRemove directory edit restrictions.
/make-pdfTurn any markdown file into a publication-quality PDF.
/diagramEnglish in, diagram out: mermaid source + editable .excalidraw + SVG/PNG, offline.

Build commands

bun install              # install dependencies
bun run test             # run free tests via the strict shard runner (no API spend, ~90-100s)
bun run test:windows     # curated Windows-safe subset (runs on windows-latest)
bun run build            # generate docs + compile binaries
bun run gen:skill-docs   # regenerate SKILL.md files from templates
bun run skill:check      # health dashboard for all skills

Platform support

  • macOS + Linux: full test suite supported.
  • Windows: curated Windows-safe subset runs on windows-latest via the windows-free-tests CI job. Setup script (./setup) requires Git Bash or MSYS today; native PowerShell support is a future expansion. The bin/gstack-paths helper resolves state roots through CLAUDE_PLUGIN_DATA / GSTACK_HOME so plugin installs work on every platform.

Key conventions

  • SKILL.md files are generated from .tmpl templates. Edit the template, not the output.
  • Run bun run gen:skill-docs --host codex to regenerate Codex-specific output.
  • The browse binary provides headless browser access. Use $B <command> in skills.
  • Safety skills (careful, freeze, guard) use inline advisory prose — always confirm before destructive operations.
  • State paths resolve via bin/gstack-paths (sourced via eval "$(...)"). Honors GSTACK_HOME, CLAUDE_PLUGIN_DATA, CLAUDE_PLANS_DIR.
  • The claude CLI binary resolves via browse/src/claude-bin.ts (Bun.which() + GSTACK_CLAUDE_BIN override). Set GSTACK_CLAUDE_BIN=wsl plus GSTACK_CLAUDE_BIN_ARGS='["claude"]' to run Claude through WSL on Windows.