Go-first full-stack development plugin with typed SDK generation for SvelteKit and Next.js
npx claudepluginhub bishwas-py/gopilotGo-first full-stack development plugin. Scaffolds Go backends (Huma/Chi), generates typed frontend SDKs, and guides backend-to-frontend flow for SvelteKit and Next.js.
Official prompts.chat marketplace - AI prompts, skills, and tools for Claude Code
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations
Claude Code plugins for the Slidev presentation framework
Go-first full-stack Claude Code plugin. Scaffolds Go backends, generates typed frontend SDKs, and guides backend-to-frontend development for SvelteKit and Next.js.
| Skill | Command | Description |
|---|---|---|
| Init | /gopilot:init [name] [svelte|react] | Scaffold a full Go + frontend project |
| Domain | /gopilot:domain [name] | Add a business domain (types, repo, service) |
| API | /gopilot:api [domain] [operation] | Add REST endpoints with Huma |
| SDK | /gopilot:sdk | Generate typed frontend SDK from OpenAPI |
| Schema | /gopilot:schema [action] [details] | Manage PostgreSQL schema |
| WebSocket | /gopilot:ws [feature] | Add WebSocket support |
| Check | /gopilot:check [backend|frontend|sdk|all] | Audit code against gopilot conventions |
Go Structs (Huma tags) → OpenAPI Spec → Typed SDK → Frontend
SvelteKit gets query()/command() with Valibot schemas in .remote.ts files.
Next.js gets 'use server' functions with Zod schemas in .server.ts files.
Add the marketplace, then install:
/plugin marketplace add Bishwas-py/gopilot
/plugin install gopilot
Or load locally without installing:
claude --plugin-dir /path/to/gopilot
Add to your project's .claude/settings.json so team members get prompted automatically:
{
"extraKnownMarketplaces": {
"gopilot": {
"source": {
"source": "github",
"repo": "Bishwas-py/gopilot"
}
}
},
"enabledPlugins": {
"gopilot@gopilot": true
}
}
# Scaffold a new project
/gopilot:init my-app svelte
# Add a domain
/gopilot:domain item
# Add endpoints
/gopilot:api item list
/gopilot:api item create
/gopilot:api item get
# Generate the frontend SDK
/gopilot:sdk
| Layer | Technology |
|---|---|
| Backend | Go + Huma/v2 + Chi/v5 + pgx/v5 |
| Database | PostgreSQL 16 (declarative schema) |
| Frontend (Svelte) | SvelteKit + Valibot + remote functions |
| Frontend (React) | Next.js + Zod + server functions |
| SDK Generation | TypeScript MCP server |
gopilot uses a hybrid approach:
The Go backend is always the source of truth. No type duplication. Change the struct, regenerate the SDK.
MIT