cxuu · Agent Skills
6 skills with substantive source documentation and an official publisher or observed installation demand. Read each skill’s original documentation through its card.
cxuugo-context
Use when working with context.Context in Go — placement in signatures, propagating cancellation and deadlines, and storing values in context vs parameters. Also use when cancelling long-running operations, setting timeouts, or passing request-scoped data, even if they don't mention context.Context directly. Does not cover goroutine lifecycle or sync primitives (see go-concurrency).
- 安装量
- 2
- GitHub Stars
- 165
- 最近更新
- 6月20日
cxuugo-defensive
Use when hardening Go code at API boundaries — copying slices/maps, verifying interface compliance, using defer for cleanup, time.Time/time.Duration, or avoiding mutable globals. Also use when reviewing for robustness concerns like missing cleanup or unsafe crypto usage, even if the user doesn't mention "defensive programming." Does not cover error handling strategy (see go-error-handling).
- 安装量
- 2
- GitHub Stars
- 165
- 最近更新
- 6月20日
cxuugo-functions
Use when organizing functions within a Go file, formatting function signatures, designing return values, or following Printf-style naming conventions. Also use when a user is adding or refactoring any Go function, even if they don't mention function design or signature formatting. Does not cover functional options constructors (see go-functional-options).
- 安装量
- 2
- GitHub Stars
- 165
- 最近更新
- 6月20日
cxuugo-logging
Use when choosing a logging approach, configuring slog, writing structured log statements, or deciding log levels in Go. Also use when setting up production logging, adding request-scoped context to logs, or migrating from log to slog, even if the user doesn't explicitly mention logging. Does not cover error handling strategy (see go-error-handling).
- 安装量
- 2
- GitHub Stars
- 165
- 最近更新
- 6月20日
cxuugo-naming
Use when naming any Go identifier — packages, types, functions, methods, variables, constants, or receivers — to ensure idiomatic, clear names. Also use when a user is creating new types, packages, or exported APIs, even if they don't explicitly ask about naming conventions. Does not cover package organization (see go-packages).
- 安装量
- 2
- GitHub Stars
- 165
- 最近更新
- 6月20日
cxuugo-style-core
Use when working with Go formatting, line length, nesting, naked returns, semicolons, or core style principles. Also use when a style question isn't covered by a more specific skill, even if the user doesn't reference a specific style rule. Does not cover domain-specific patterns like error handling, naming, or testing (see specialized skills). Acts as fallback when no more specific style skill applies.
- 安装量
- 2
- GitHub Stars
- 165
- 最近更新
- 6月20日