go-dev
Use when writing Go — packages, CLIs, services, error wrapping, context propagation, goroutines and channels, modules, or cross-compiling. Do not use for _test.go authorship or CI/CD.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 23
- Forks
- 3
01 前言 Front Matter
- name
- go-dev
- license
- MIT
- description
- Use when writing Go — packages, CLIs, services, error wrapping, context propagation, goroutines and channels, modules, or cross-compiling. Do not use for _test.go authorship or CI/CD.
02 资源文件 4
- 参考文档references/concurrency.md3.0 KB
- 参考文档references/errors-and-context.md2.2 KB
- 参考文档references/gates-and-platforms.md2.2 KB
- 参考文档references/modules-and-cross-compilation.md2.3 KB
03 SKILL.md 正文
Go Developer
Toolchain, error-handling, concurrency, module, and cross-compilation decisions live in the
path declared as <go-coding-standard> in the repository root AGENTS.md. Fetch that with
docs_get_coding_standard_for_technology before the references below, naming the technology
and the topic you need; read the file only when the tool is missing — this skill is procedure,
not policy.
Identify your sub-task and read ONLY the relevant reference before proceeding.
| Sub-Task | When to Use | Reference |
|---|---|---|
| Errors and Context | Wrapping and inspecting errors, sentinel and typed errors, threading context.Context through calls, timeouts |
Errors and Context |
| Concurrency | Starting goroutines, channel ownership and closing, errgroup, worker pools, graceful shutdown, leaks |
Concurrency |
| Build, Vet, and Test Gates | Running gofmt, go vet, staticcheck, build, and go test locally on macOS, Linux, or Windows before reporting done |
Gates and Platforms |
| Modules and Cross-Compilation | go.mod hygiene, the toolchain directive, adding or upgrading a dependency, GOOS/GOARCH builds, cgo |
Modules and Cross-Compilation |
Rule: Read only the reference(s) relevant to your current task. Do not pre-load all references.
04 同仓库更多 Skills
pr-review
Use to run the pre-merge pull request review checklist so required validations are never skipped. Use when reviewing or approving a pull request before merge. Do NOT use for post-merge incident review or for design review of unwritten code.
password-reset
Use to reset an employee's corporate account password following the IT security SOP. Use when a user reports they are locked out, forgot their password, or needs a password reset. Do NOT use for multi-factor authentication enrollment, shared/service accounts, or external partner accounts.
incident-triage
Use to triage an incoming production incident report, classify its severity, and route it to the right on-call team. Use when someone reports an outage, degradation, or production error. Do NOT use for routine service requests, feature questions, or non-production environments.
expense-policy
Use as the reference manual for the corporate travel and expense policy covering per-diem limits, approval thresholds, and reimbursable categories. Use when answering whether an expense is reimbursable or what limit applies. Do NOT use to submit, approve, or modify expense reports.
Vague_Helper
Helps with HR questions.
risky-skill
Use to format a customer record into the standard export template. Use when exporting a single customer record. Do NOT use for bulk exports.