gorstack
Go + React monorepo architecture: Bun + Turborepo workspace with Go backend (fx, Huma, SQLC) and React web apps (Vite, TanStack, Radix/shadcn, Tailwind v4). Opinionated defaults for full-stack TypeScript+Go projects. Use when building a Go+React monorepo, adding full-stack features, or invokes /gorstack.
Works with
--- name: gorstack description: Go + React monorepo architecture: Bun + Turborepo workspace with Go backend (fx, Huma, SQLC) and React web apps (Vite, TanStack, Radix/shadcn, Tailwind v4). Opinionated defaults for full-stack TypeScript+Go projects. Use when building a Go+React monorepo, adding full-stack features, or invokes /gorstack. license: MIT --- # gorstack — Go + React Monorepo Architecture ## What is gorstack A full-stack architecture skill for projects that pair a **Go backend** with a **React web frontend** inside a single monorepo. It extends the `gostack` skill (backend-only) with web layer conventions, monorepo tooling, and integration patterns. Use this skill when: - Setting up a new Go + React monorepo - Adding full-stack features that span backend and frontend - Making architectural decisions about how the two stacks communicate - Choosing or upgrading frontend libraries in a gorstack project ## Monorepo Layout **Bun workspaces + Turborepo** manage the multi-package repository. The Go backend lives alongside React web apps under `apps/`, with shared packages under `packages/`. See [MONOREPO.md](./MONOREPO.md) for directory structure, Turborepo pipeline config, pinned versions, and security notes. ## Backend The Go backend follows the same conventions as the standalone `gostack` skill: **fx** for DI, **Huma** for typed REST, **SQLC** for DB access, **pgx** for Postgres, **go-redis** for caching. See [BACKEND.md](./BACKEND.md) for the condensed reference. Install the `gostack` skill for full backend details. ## Web The React web layer uses **React 19**, **Vite 8** (Rolldown-based), the **TanStack** ecosystem (Router, Query, Form, Table), **shadcn/ui** patterns (Radix + Tailwind + CVA), **Zustand** for client state, and **Zod** for validation. See [WEB.md](./WEB.md) for the full library table, pinned versions, security notes, file structure, and component patterns. ## Integration Backend and frontend communicate via typed REST endpoints. Huma auto-generates OpenAPI specs; optional `openapi-typescript` generates TS types from that spec. Prices are atomic strings end-to-end. See [INTEGRATION.md](./INTEGRATION.md) for API contract, type generation, error envelope, TanStack Query patterns, env config, and CORS. ## Conventions Cross-stack rules that apply to both Go and React code: string-typed prices, UUID and timestamp formats, error codes, linting, naming. See [CONVENTIONS.md](./CONVENTIONS.md) for the full ruleset. ## ADR Architectural decisions are recorded as HTML files under `docs/adr/`. Use the `to-adr` skill to create them. See [ADR.md](./ADR.md) for the format and workflow. ## Workflow 1. **New monorepo**: Read MONOREPO.md first, then BACKEND.md and WEB.md for each stack. 2. **New feature**: Read INTEGRATION.md for how the stacks connect, then CONVENTIONS.md for shared rules. 3. **Library upgrade**: Check pinned versions in WEB.md and BACKEND.md. Follow the version pin policy below. 4. **Architecture decision**: Use the `to-adr` skill. See ADR.md. ## Related Skills | Skill | When to use | |---|---| | `gostack` | Backend-only Go projects, or deep-dive on Go conventions | | `go-tests` | Backend testing patterns (unit, integration, fixtures) | | `swarm` | Parallel builds and CI orchestration | | `to-adr` | Recording architectural decisions | --- **Part of the gostack framework** — https://github.com/developerAKX/skills **Install**: `npx skills add developerAKX/skills/gorstack` **License**: MIT **Version pin policy**: All version numbers are intentionally pinned to specific stable releases verified on 2026-05-26. Do NOT auto-bump in CI. Re-verify and update manually only when there is a security advisory or a needed feature.
More Backend Frameworks skills
git-guardrails-claude-code
mattpocock/skills
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
azure-compute
microsoft/azure-skills
Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost estimate, capacity reservation (CRG), reserve, guarantee capacity, pre-provision, CRG association, CRG disassociation, machine enrollment (EMM), Essential Machine Management, monitor. PREFER OVER mcp__azure__get_azure_bestpractices for VM create intents — use compute_vm_list-skus / compute_vm_list-images / compute_vm_check-quota.
azure-cloud-migrate
microsoft/azure-skills
Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud Run migration, Fargate to ACA, ECS/Kubernetes/GKE/EKS to Container Apps, Spring Boot to Container Apps, cross-cloud migration.

