Golid mascot, a Go gopher holding a SolidJS logo

Golid: An AI-native software factory

Build cloud-hosted apps with Go + SolidJS

Plans, module specs, and agent ops — not prompt memory.

45 Cursor rules, audit gates, drift CI, and a real integration test harness. Runnable starter app and GCP deploy scripts included.

Live example: this site. Clone the repo for the factory and template app.

What's included

45 Cursor Rules995 TestsAudit GatesDrift CI70+ ComponentsOne-Command Deploy
Reopen in Container
Go 1.26
SolidJS 1.9
SolidStart 1.3
Tailwind 4.3
PostgreSQL 16
GCP (Cloud Run)

How the factory works

Agents and humans share the same production contract. Not prompt memory. Not ad-hoc CI.

Classify & plan

workflow-routing picks risk tier. Slices live in docs/plans/ with acceptance criteria per slice.

Execute slices

slice-and-ship per slice: implement, test, spec/OpenAPI sync, audit-bugs gate, commit.

Spec as contract

docs/modules/*/spec.md tracks current behavior. check_spec_drift.sh gates every PR.

Ship & rebrand

deploy.sh to Cloud Run. make rename rebrands 20+ file categories across the whole factory.

Up and running in minutes

DevContainer recommended. Migrations and seed data run automatically.

terminal
# DevContainer (recommended)
git clone https://github.com/golid-ai/golid.git my-project
cd my-project  # Open in VS Code/Cursor → Reopen in Container

# Or Docker Compose locally
make setup && docker compose up
# Frontend: localhost:3000  |  Backend: localhost:8080

# Scaffold a CRUD module
make new-module name=notes

# Rebrand the entire factory
make rename name=myapp module=github.com/you/myapp/backend

Harness + starter app

Everything the factory extends: auth, components, SSE, feature flags, and opt-in infra.

45 Cursor Rules

Sibling pairs auto-activate by file type (solidjs-pages + solidjs-data-fetching, go-service + go-service-errors). audit-bugs gate before commit. Agents and humans share the same contract.

995 Tests

353 Go unit + 622 Vitest + 20 E2E. Real PostgreSQL integration harness with per-package schemas. Codecov 80% gate.

70+ Components

Production UI library with charts, grids, date pickers, modals, and 3D canvas. Dark mode, accessibility, and axe-core CI.

Auth Built-In

JWT refresh rotation, selector/verifier tokens, email verification, role-based access. Two-layer auth on every endpoint.

SSR + Real-Time

SolidStart SSR with middleware auth redirects. SSE hub with ticket auth, backpressure, and reconnect.

One-Command Deploy

Cloud Run, Cloud SQL, VPC, secrets, and IAM via ./scripts/deploy.sh. Also Fly.io, Railway, Render, or bare metal.

vs blank repo + AI

OpenAPI, module specs, and drift CI. Not prompt memory.

GolidBlank repo + AI
ContractOpenAPI + specs + drift CIPrompt memory
Integration safetyTEST_DATABASE_URL, isolated schemasEasy to wipe dev DB
Agent ops45 rules, audit → commitAd-hoc
Production CIPath-filtered, E2E, Codecov 80%Often none
Fork factorymake rename (20+ categories)Manual find-and-replace

vs other stacks

GolidNext.js + APIGo starters
Full-stack type safetyGo + TS via OpenAPI typestRPC/ZodGo only
Production UI70+ componentsBYONone
SSR + real-timeSolidStart + SSEPartialNone
DeployOne-command GCPVercel-centricBYO
Memory~30MB binary~200MB+~30MB

Scaffold a full CRUD module in seconds

make new-module generates migration, service, handler, tests, and frontend route. All following established patterns.

Migration (up + down)
Service layer
HTTP handler
Handler tests
Frontend route
API client types

Opt-in modules

docker compose up works with zero Redis, Mailgun, or OTEL. Set one env var when you need it.

ModuleTriggerZero-configProduction
EmailMAILGUN_API_KEYLogs to stdoutMailgun delivery
Job QueueREDIS_URLGoroutine + retryasynq + Redis
Rate LimitingREDIS_URLIn-memoryRedis fixed-window
TracingOTEL_ENDPOINTNo tracingOTLP export
MetricsMETRICS_ENABLEDNo /metricsPrometheus
Feature FlagsAlways onPostgreSQL + cacheSame

Production-grade patterns everywhere

Backend

  • apperror typed responses. No leaked internals.
  • Parameterized queries, rows.Err(), transactions for multi-write
  • TOCTOU-safe refresh, selector/verifier tokens
  • Graceful shutdown: drain HTTP, close SSE, release DB pool
  • Integration tests with real PostgreSQL, race detector

Frontend

  • onMount + signals + alive guard + batch(). No createResource.
  • Switch/Match for content states, no nested Show
  • SSR middleware auth redirects, reactive 401 logout
  • Accessibility: ARIA, keyboard nav, focus trapping, axe-core CI
  • Vitest 4 + Playwright E2E, Codecov 80% gate
Golid mascot

Clone the factory

Runnable starter app, 45 Cursor rules, audit gates, drift CI, and one-command deploy. MIT licensed, open source, no vendor lock-in.