AGENT SKILL

golang-backend-development

Complete guide for Go backend development including concurrency patterns, web servers, database integration, microservices, and production deployment

使用场景后端与接口
License 许可
MIT
最近更新
2026-11-12
Stars
★ 1
Forks
0

01 前言 Front Matter

name
golang-backend-development
metadata
{ "tags": "golang, go, concurrency, web-servers, microservices, backend, goroutines, channels, grpc, rest-api", "tier": "tier-1", "skill-graph-id": "plugin/10x-swe/golang-backend-development", "skill-graph-uses": "", "skill-graph-used-by": "" }
description
Complete guide for Go backend development including concurrency patterns, web servers, database integration, microservices, and production deployment

02 资源文件 8

03 SKILL.md 正文

Go Backend Development

Build or change Go HTTP/gRPC services, concurrent workers, database access, and production lifecycle behavior. Match the project's Go version and existing boundaries before selecting a pattern.

Workflow

  1. Identify the handler or worker, its inputs, dependencies, cancellation path, and completion condition.
  2. Reuse the current service structure. Prefer the standard library unless the project already uses a suitable dependency.
  3. Bound work and resource use: goroutines, queues, request bodies, connection pools, and timeouts. Give every goroutine an exit path and an owner that waits for completion.
  4. Propagate request contexts into network and database operations. Cancel derived contexts; close resources and check iteration errors.
  5. Protect shared state, parameterize SQL, and keep transaction boundaries explicit. Return contextual errors without exposing sensitive details to clients.
  6. Verify changed behavior with focused tests. Use the race detector for concurrency changes and benchmarks/profiles for performance claims. Confirm graceful shutdown when lifecycle behavior changes.

Load only the relevant examples

  • Pattern reference: concurrency primitives, HTTP handlers, pipelines, worker pools, SQL, errors, testing, shutdown, logging, and microservice examples. Read the matching section only.
  • Extended examples: use its contents to select an implementation example when the pattern reference is insufficient.

These are retained illustrative examples, not verified production implementations. Adapt them to the installed Go version and current code; do not copy arbitrary pool sizes, coverage targets, layouts, or deployment architecture. Some examples use older APIs or simplified cancellation/error handling. Confirm those details in the official references before use.

Authoritative references

Go documentation, net/http, database/sql, context, sync, and Go pipelines.

04 同仓库更多 Skills

cercova-studios
cercova-studios/10x-swe

turnstile-spin

Set up Cloudflare Turnstile end-to-end in a project. Scan the codebase, create the widget via the Cloudflare API, embed it where user requests need bot verification (form submissions, SPA actions, API endpoints, download links, comment or vote submissions, etc.), wire canonical server-side siteverify in the customer's existing backend, validate, and persist the skill. Load this when a user asks to add Turnstile, set up CAPTCHA, protect a form or endpoint from bots, or fix a Turnstile integration. Uses Cloudflare's documented Turnstile contract.

后端与接口
★ 1
cercova-studios
cercova-studios/10x-swe

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

设计师前端开发视觉设计
★ 1
cercova-studios
cercova-studios/10x-swe

source-insights

Prepare inspected source evidence, preserve exact citations, and publish reviewed insights into an explicit local library.

★ 1
cercova-studios
cercova-studios/10x-swe

skill-graph

Discover skills and workflows through independent lexical search, relationship paths and a terminal graph.

Skill与智能体开发
★ 1
cercova-studios
cercova-studios/10x-swe

session-search

Recall public session turns with exact provenance, bounded excerpts and independent piped exports.

★ 1
cercova-studios
cercova-studios/10x-swe

newsletter

Produce a private local AI newsletter from bounded public research, with cited deep dives, HTML/Markdown output, Dagu scheduling and seven-day retention.

邮件与沟通资料检索与研究
★ 1