Use samber/mo in Go to represent missing values, failures, and alternative value types explicitly. Learn to choose Option, Result, or Either and combine processing steps, including pipelines where each step changes the value's type.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Representing optional JSON and database fields
- Combining operations that may fail
- Choosing types for valid alternatives
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Design how Go requests carry cancellation signals, time limits, and request metadata through application layers. Helps investigate work that continues after cancellation, choose suitable context types, and separate background tasks from the request lifecycle.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Reviewing context propagation from HTTP handlers to database calls
- Investigating missing cancellation and lingering timers
- Keeping background work running after a request ends
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Create and review Go API documentation with swaggo/swag. Adds comments describing inputs, responses, and authentication, generates machine-readable API specifications, and connects Swagger UI so API users can inspect the documented endpoints.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Adding Swagger documentation to a Go API
- Documenting request fields and response examples
- Describing authentication requirements for endpoints
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Helps implement structured error handling in Go with samber/oops. Add diagnostic attributes, stack traces showing the call path, and error codes, while keeping user-facing messages separate from technical details and integrating errors with logging.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Add diagnostic context to database errors
- Separate user messages from technical error details
- Convert panics into structured errors
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Build Go pipelines with samber/ro for events that arrive over time. Choose how consumers share data, combine multiple sources, and handle retries, timeouts, errors, and cancellation while managing the resources used by ongoing streams.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Process ongoing WebSocket events
- Combine data from multiple asynchronous sources
- Share one event source across multiple consumers
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Implement layered configuration in Go with spf13/viper, combining command flags, environment variables, and configuration files under a fixed priority order. Covers mapping values into structs, reloading changed files, and keeping configuration state separate across tests.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Combining configuration files, environment variables, and command flags
- Mapping nested settings into Go structs
- Reloading configuration after file changes
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Write and review documentation for Go libraries and applications, from code comments and README files to installation guides and changelogs. Add runnable examples and structured project summaries that help readers and AI agents understand how to use the code.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Review exported function and package comments
- Write a README and installation guide
- Add executable code examples
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Implement Go collection transformations with samber/lo, including filtering, grouping, aggregation, and deduplication. Choose between standard library functions and helpers, and assess parallel processing, input mutation, or lazy evaluation when data size and measured performance justify them.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Rewrite collection loops with Map, Filter, and Reduce
- Group records and remove duplicates
- Choose between standard library functions and lo helpers
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Restructure existing Go code while preserving its behavior. Uses gopls, Go's code analysis tool, to map affected code and apply changes, with targeted tests and small pull requests for renaming, extracting functions, and moving code between packages.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Split oversized functions or types
- Rename identifiers across a Go codebase
- Move code between packages or resolve import cycles
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Organize Go projects with directory layouts, naming rules, and configuration files suited to their size and purpose. Supports command-line tools, libraries, services, and workspaces for developing several related modules together.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Starting a Go project with an appropriate directory layout
- Separating internal code from reusable packages
- Developing related modules in a shared workspace
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Choose Go libraries and frameworks for web, database, testing, logging, and messaging tasks. Compare candidates with standard library options, checking maintenance, licenses, adoption, and dependency complexity before deciding what to add to a project.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Choose a library for a Go project
- Compare libraries for the same task
- Check whether the standard library is enough
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Look up published Go packages with godig, a client for pkg.go.dev. Retrieve function signatures, documentation, examples, available versions, licenses, known vulnerabilities, and importing packages through read-only queries that require no authentication.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Check a Go function's signature and usage examples
- List published module versions
- Review licenses and known vulnerabilities
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Review Go code for accidental crashes and silent data corruption. This skill guides safer handling of nil values, shared slice storage, numeric conversions, resource cleanup, and types that work safely without explicit initialization.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Reviewing nil handling before a code change
- Checking numeric conversions and floating-point comparisons
- Preventing unintended changes through shared slices and maps
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Review older Go code and plan updates to language features, standard libraries, tests, and CI. The skill checks the project's Go version, prioritizes safety and correctness, and guides changes with linting and tests.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Planning a Go version upgrade
- Replacing deprecated APIs
- Updating test patterns and CI tools
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Build Go logging pipelines with samber/slog-* packages to control log volume, mask personal information, and route records to different destinations. It also guides HTTP request logging and shutdown handling for destinations that buffer records.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Route error logs and informational logs to different destinations
- Mask personal information before sending logs
- Reduce high-volume logs with sampling
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Build and review Go services using gRPC, a framework for calling functions across services. Covers communication definitions, clients and servers, error codes, timeouts, encrypted connections, streaming, and tests that run without a network.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Building gRPC servers and clients
- Reviewing error codes and deadlines
- Configuring TLS and service authentication
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Choose and review Go design patterns for APIs and application structure. Get guidance on constructors, explicit initialization, resource cleanup, graceful shutdown, timeouts, and retries, with patterns matched to project requirements and the developer’s preferred architecture.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Design constructor APIs and configuration options
- Review implicit initialization and global state
- Plan resource cleanup and graceful shutdown
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Organize Go application dependencies with samber/do v2, a library that supplies services to the code that needs them. Guides service registration, lifecycle management, module organization, and migration from manually wired constructors.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Adopting samber/do v2 in a Go application
- Replacing manually wired constructors with a service container
- Organizing service registration by module
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Design and review concurrent Go code with clear goroutine ownership, shutdown paths, and error handling. Choose channels, locks, or atomic operations to protect shared data, and structure worker pools with controlled concurrency and cancellation.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Design goroutine shutdown and cancellation
- Choose channels or mutexes for concurrent code
- Protect shared maps and counters
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Build and extend Go command-line tools with spf13/cobra. Organizes commands and options, validates arguments, adds shell completion suggestions, customizes help, and tests command behavior with captured output and isolated command instances.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Building a Go CLI with subcommands
- Adding options and argument validation
- Improving shell completions and help text
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Improve Go code after profiling identifies a bottleneck. This skill guides memory allocation, CPU, caching, and garbage collection changes, with benchmark comparisons to check results. It also supports performance reviews of functions, packages, and services.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Reduce memory allocations in Go code
- Optimize a function identified as slow
- Review a service for performance issues
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Helps choose and review names in Go code, covering packages, functions, types, constants, errors, and tests. Provides conventions and examples for capitalization, acronyms, constructors, and repeated wording to make naming decisions consistent.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Choose names for new Go packages and functions
- Review capitalization and acronym spelling
- Align error and test naming conventions
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Write, review, and debug Go database access code with guidance on parameterized queries, transactions, connection pools, and tests. Covers database/sql, sqlx, and pgx, while leaving schema creation and migration SQL outside its scope.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Implement database queries and updates in Go
- Review SQL injection risks and connection leaks
- Review transaction boundaries and locking
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트
Build Go application initialization with google/wire, which generates constructor calls from declared dependencies. Covers reusable provider groups, interface bindings, cleanup functions, and keeping generated code synchronized so missing dependencies surface during generation.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
- Introduce google/wire for application initialization
- Connect interfaces to concrete implementations
- Manage resource cleanup during initialization
samber/cc-skills-golang☆ 3.6천2026년 10월 1일 업데이트