一键导入
go-best-practices
Go development practices and style guidelines covering concurrency safety, package layout (avoiding pkg/), and PR review checklists.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Go development practices and style guidelines covering concurrency safety, package layout (avoiding pkg/), and PR review checklists.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
A comprehensive developer guide containing the entire a2ui.org documentation suite. Contains full specs for A2UI v0.9.1, JSON schemas, Agent (Python/ADK) & Renderer (React/Angular/Flutter) SDK guides, concept definitions, quickstarts, and open-source examples. Use this for ANY question or coding task related to Agent-Driven User Interfaces.
Analyze Tenkai agent experiments to find success factors, failure modes, and run patterns.
Find and inspect GitHub code examples for specific dependencies and languages. Use this to see how a library or framework is used in projects.
Standardized setup for new Go (Golang) projects and services. Activate to ensure clean, idiomatic project structures (Standard Layout) and implement production-ready patterns (graceful shutdown, package separation) from day one.
Official style guide and compliance rules for the Google Developers Blog. Activate to draft, edit, and validate technical articles to ensure they meet legal standards, the correct professional tone, and readability targets (Gunning Fog Index).
Definitive guide for authoring high-quality Google Codelabs. Activate to enforce the .lab.md format specifications, metadata requirements (duration, authors), and provide validation tools for structural correctness.
| name | go-best-practices |
| description | Go development practices and style guidelines covering concurrency safety, package layout (avoiding pkg/), and PR review checklists. |
Guides layout design, package structures, and code reviews.
pkg/ directory. Keep package structures flat unless complexity requires nested packages. Put private logic in internal/ and entrypoints in cmd/.references/style_cheatsheet.md before editing. Use references/senior_review_checklist.md for reviews. Prefer Go generics ([T any]) to interface{}.errgroup for parallel operations.pkg/ if present.style_cheatsheet.md.go build ./..., go test ./..., and golangci-lint run to verify changes.senior_review_checklist.md.references/http_services.md.references/advanced_testing.md.references/ebitengine_docs.md.references/go_proverbs.md.references/linting.md.references/style_cheatsheet.md: Critical style rules.references/senior_review_checklist.md: Quality criteria for reviews.references/project_layout.md: Standard module layout guide.references/architectural_decisions.md: Template for ADRs.references/http_services.md: HTTP service structure.references/advanced_testing.md: Fuzzing and benchmarking.references/ebitengine_docs.md: Game engine layout.references/go_proverbs.md: Idiomatic Go proverbs.references/linting.md: Linter rules and tools.