go-patterns — Go 模式技能 go-patterns, agentcockpit, community, Go 模式技能, ide skills, AI 代理技能, Go 架构决策, 设计模式, 并发模式, 框架选择, Claude Code

v1.0.0

关于此技能

适合专注于Go的AI代理,寻求有关框架选择、并发性和设计模式的结构化指导。 Go 模式技能是一种提供 Go 架构决策和设计模式参考的 AI 代理技能

功能特性

Go 架构决策参考
设计模式支持
并发模式支持
框架选择和比较

# 核心主题

Rixmerz Rixmerz
[5]
[0]
更新于: 3/23/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
23
Canonical Locale
en
Detected Body Locale
en

适合专注于Go的AI代理,寻求有关框架选择、并发性和设计模式的结构化指导。 Go 模式技能是一种提供 Go 架构决策和设计模式参考的 AI 代理技能

核心价值

通过提供有关框架、并发模式(如goroutines和channels)和设计模式(如函数选项和错误处理)的综合参考,赋予代理在Go架构方面做出明智的决定的能力,利用Markdown文件,如frameworks.md和design-patterns.md。

适用 Agent 类型

适合专注于Go的AI代理,寻求有关框架选择、并发性和设计模式的结构化指导。

赋予的主要能力 · go-patterns

选择项目开发的最佳Go框架
使用goroutines和channels实现高效的并发模式
应用最佳实践的设计模式以实现强大的错误处理和组合

! 使用限制与门槛

  • 需要熟悉Go编程语言
  • 特定于Go架构和设计模式

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

go-patterns 是什么?

适合专注于Go的AI代理,寻求有关框架选择、并发性和设计模式的结构化指导。 Go 模式技能是一种提供 Go 架构决策和设计模式参考的 AI 代理技能

如何安装 go-patterns?

运行命令:npx killer-skills add Rixmerz/agentcockpit/go-patterns。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

go-patterns 适用于哪些场景?

典型场景包括:选择项目开发的最佳Go框架、使用goroutines和channels实现高效的并发模式、应用最佳实践的设计模式以实现强大的错误处理和组合。

go-patterns 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

go-patterns 有哪些限制?

需要熟悉Go编程语言;特定于Go架构和设计模式。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add Rixmerz/agentcockpit/go-patterns。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    go-patterns 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

go-patterns

使用 Go 模式技能提升您的代码质量,了解 Go 架构决策和设计模式

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Go Architecture Reference (2024-2025)

Comprehensive reference for Go architectural decisions. Use $ARGUMENTS to focus on a specific area, or browse all sections.

Quick Navigation

  • For framework selection and comparisons, see frameworks.md
  • For concurrency patterns (goroutines, channels, pipelines, worker pools), see concurrency.md
  • For design patterns (functional options, error handling, composition), see design-patterns.md
  • For architecture patterns (Clean, Hexagonal, Vertical Slice, DDD), see architecture.md
  • For best practices (error handling, testing, project layout, linting), see best-practices.md

Decision Framework

When asked to choose between options, evaluate:

  1. Stdlib first: Can net/http + slog + testing solve it? Start there
  2. Complexity: Low -> stdlib/Chi. Medium -> Gin/Echo. High -> Huma
  3. Database: PostgreSQL -> pgx + sqlc. Multi-DB -> sqlx. Rapid proto -> GORM
  4. Messaging: Simple -> NATS. Enterprise Kafka -> franz-go. Broker-agnostic -> Watermill
  5. DI: Small -> manual. Medium -> Wire. Enterprise lifecycle -> Fx
  6. Caching: Local -> Ristretto. Distributed -> go-redis

Modern Idiomatic Stack (2025)

Replacing: GORM + logrus + gorilla/mux With: sqlc + pgx + slog + chi

Go Evolution

VersionKey Features
1.22 (Feb 2024)HTTP method patterns in ServeMux, range over int, loop var scoping fix
1.23 (Aug 2024)Range-over-func (iterators), unique package, Timer/Ticker fixes
1.24 (Feb 2025)Generic type aliases, Swiss Tables maps (80% faster), weak.Pointer[T], testing.B.Loop
1.25 (Aug 2025)Container-aware GOMAXPROCS, Green Tea GC, Flight Recorder, encoding/json/v2 experimental

Go in Production

CompanyScale
Uber~2100 services, ~90M lines
GoogleInternal infra, GKE, Cloud Run
Cloudflare12% of all automated API requests
ByteDance/TikTok70% of microservices
Docker/KubernetesEntire container ecosystem
HashiCorpTerraform, Vault, Consul, Nomad

相关技能

寻找 go-patterns 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具