[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M785G3EFKSP6AFFXAW2CE6GG":3,"skill-same:01M785G3EFKSP6AFFXAW2CE6GG":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":58},"01M785G3EFKSP6AFFXAW2CE6GG","golang-error-handling",null,"Idiomatic Golang error handling — creation, wrapping with %w, errors.Is\u002FAs, errors.Join, custom error types, sentinel errors, panic\u002Frecover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber\u002Foops for production errors. Built to make logs usable at scale with log aggregation 3rd-party tools. Apply when creating, wrapping, inspecting, or logging errors in Go code. For samber\u002Foops specifics → See `samber\u002Fcc-skills-golang@golang-samber-oops` skill; for slog handler ecosystem → See `samber\u002Fcc-skills-golang@golang-samber-slog` skill.","gn00678465\u002Fapm-go","gn00678465","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F37042723?v=4","01M785CK18TS9AF7G28E00EYXZ","MADAO","01M785CK28RVWVYNVMJNJ48CQ7",0,"MIT","https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-error-handling\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: golang-error-handling\ndescription: \"Idiomatic Golang error handling — creation, wrapping with %w, errors.Is\u002FAs, errors.Join, custom error types, sentinel errors, panic\u002Frecover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber\u002Foops for production errors. Built to make logs usable at scale with log aggregation 3rd-party tools. Apply when creating, wrapping, inspecting, or logging errors in Go code. For samber\u002Foops specifics → See `samber\u002Fcc-skills-golang@golang-samber-oops` skill; for slog handler ecosystem → See `samber\u002Fcc-skills-golang@golang-samber-slog` skill.\"\nuser-invocable: true\nlicense: MIT\ncompatibility: Designed for Claude Code, Codex or similar harness, and for projects using Golang.\nmetadata:\n  author: samber\n  version: \"1.3.1\"\n  openclaw:\n    emoji: \"⚠\"\n    homepage: https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang\n    requires:\n      bins:\n        - go\n    install: []\nallowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent\npaths:\n  - \"**\u002F*.go\"\n---\n\n**Persona:** You are a Go reliability engineer. You treat every error as an event that must either be handled or propagated with context — silent failures and duplicate logs are equally unacceptable.\n\n**Orchestration mode:** Fan out the five category sub-agents described in the \"Parallelizing Error Handling Audits\" section (creation, wrapping, single-handling rule, panic\u002Frecover, structured logging) for auditing error handling across a large codebase, and consolidate their findings. On Claude Code, use `ultracode` to opt into multi-agent orchestration explicitly.\n\n**Modes:**\n\n- **Coding mode** — writing new error handling code. Follow the best practices sequentially; optionally launch a background sub-agent to grep for violations in adjacent code (swallowed errors, log-and-return pairs) without blocking the main implementation.\n- **Review mode** — reviewing a PR's error handling changes. Focus on the diff: check for swallowed errors, missing wrapping context, log-and-return pairs, and panic misuse. Sequential.\n- **Audit mode** — auditing existing error handling across a codebase. Use up to 5 parallel sub-agents, each targeting an independent category (creation, wrapping, single-handling rule, panic\u002Frecover, structured logging).\n\n> **Community default.** A company skill that explicitly supersedes `samber\u002Fcc-skills-golang@golang-error-handling` skill takes precedence.\n\n# Go Error Handling Best Practices\n\nThis skill guides the creation of robust, idiomatic error handling in Go applications. Follow these principles to write maintainable, debuggable, and production-ready error code.\n\n## Best Practices Summary\n\n1. **Returned errors MUST always be checked** — NEVER discard with `_`\n2. **Errors MUST be wrapped with context** using `fmt.Errorf(\"{context}: %w\", err)`\n3. **Error strings MUST be lowercase**, without trailing punctuation\n4. **Use `%w` internally, `%v` at system boundaries** to control error chain exposure\n5. **MUST use `errors.Is` for sentinel matching and `errors.As`\u002F`errors.AsType` for typed chain inspection** instead of direct comparison or bare type assertions. For Go 1.26+, prefer `errors.AsType[T](err)` when `T` implements `error`; use `errors.As(err, &target)` for Go \u003C1.26 or for non-error interface targets.\n6. **SHOULD use `errors.Join`** (Go 1.20+) to combine independent errors\n7. **Errors MUST be either logged OR returned**, NEVER both (single handling rule)\n8. **Use sentinel errors** for expected conditions, custom types for carrying data\n9. **NEVER use `panic` for expected error conditions** — reserve for truly unrecoverable states\n10. **SHOULD use `slog`** (Go 1.21+) for structured error logging — not `fmt.Println` or `log.Printf`\n11. **Use `samber\u002Foops`** for production errors needing stack traces, user\u002Ftenant context, or structured attributes\n12. **Log HTTP requests** with structured middleware capturing method, path, status, and duration\n13. **Use log levels** to indicate error severity\n14. **Never expose technical errors to users** — translate internal errors to user-friendly messages, log technical details separately\n15. **Keep log grouping low-cardinality** — at logging\u002FAPM boundaries, keep message templates stable and attach IDs, paths, line numbers, and counts as structured attributes. Error values may include useful operational context, but avoid putting high-cardinality data into the stable log message used for grouping.\n\n## Detailed Reference\n\n- **[Error Creation](.\u002Freferences\u002Ferror-creation.md)** — How to create errors that tell the story: error messages should be lowercase, no punctuation, and describe what happened without prescribing action. Covers sentinel errors (one-time preallocation for performance), custom error types (for carrying rich context), and the decision table for which to use when.\n\n- **[Error Wrapping and Inspection](.\u002Freferences\u002Ferror-wrapping.md)** — Why `fmt.Errorf(\"{context}: %w\", err)` beats `fmt.Errorf(\"{context}: %v\", err)` (chains vs concatenation). How to inspect chains with `errors.Is`, `errors.As`, and Go 1.26+ `errors.AsType` for type-safe error handling, and `errors.Join` for combining independent errors.\n\n- **[Error Handling Patterns and Logging](.\u002Freferences\u002Ferror-handling.md)** — The single handling rule: errors are either logged OR returned, NEVER both (prevents duplicate logs cluttering aggregators). Panic\u002Frecover design, `samber\u002Foops` for production errors, and `slog` structured logging integration for APM tools.\n\n## Parallelizing Error Handling Audits\n\nWhen auditing error handling across a large codebase, use up to 5 parallel sub-agents — each targets an independent error category:\n\n- Sub-agent 1: Error creation — validate `errors.New`\u002F`fmt.Errorf` usage, low-cardinality messages, custom types\n- Sub-agent 2: Error wrapping — audit `%w` vs `%v`, verify `errors.Is`\u002F`errors.As` patterns\n- Sub-agent 3: Single handling rule — find log-and-return violations, swallowed errors, discarded errors (`_`)\n- Sub-agent 4: Panic\u002Frecover — audit `panic` usage, verify recovery at goroutine boundaries\n- Sub-agent 5: Structured logging — verify `slog` usage at error sites, check for PII in error messages\n\n## Cross-References\n\n- → See `samber\u002Fcc-skills-golang@golang-samber-oops` for full samber\u002Foops API, builder patterns, and logger integration\n- → See `samber\u002Fcc-skills-golang@golang-observability` for structured logging setup, log levels, and request logging middleware\n- → See `samber\u002Fcc-skills-golang@golang-safety` for nil interface trap and nil error comparison pitfalls\n- → See `samber\u002Fcc-skills-golang@golang-naming` for error naming conventions (ErrNotFound, PathError)\n- → See `samber\u002Fcc-skills-golang@golang-continuous-integration` skill for automated AI-driven code review in CI using these guidelines\n\n## References\n\n- [lmittmann\u002Ftint](https:\u002F\u002Fgithub.com\u002Flmittmann\u002Ftint)\n- [samber\u002Foops](https:\u002F\u002Fgithub.com\u002Fsamber\u002Foops)\n- [samber\u002Fslog-multi](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-multi)\n- [samber\u002Fslog-sampling](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-sampling)\n- [samber\u002Fslog-formatter](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-formatter)\n- [samber\u002Fslog-http](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-http)\n- [samber\u002Fslog-sentry](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-sentry)\n- [log\u002Fslog package](https:\u002F\u002Fpkg.go.dev\u002Flog\u002Fslog)\n","**Persona:** You are a Go reliability engineer. You treat every error as an event that must either be handled or propagated with context — silent failures and duplicate logs are equally unacceptable.\n\n**Orchestration mode:** Fan out the five category sub-agents described in the \"Parallelizing Error Handling Audits\" section (creation, wrapping, single-handling rule, panic\u002Frecover, structured logging) for auditing error handling across a large codebase, and consolidate their findings. On Claude Code, use `ultracode` to opt into multi-agent orchestration explicitly.\n\n**Modes:**\n\n- **Coding mode** — writing new error handling code. Follow the best practices sequentially; optionally launch a background sub-agent to grep for violations in adjacent code (swallowed errors, log-and-return pairs) without blocking the main implementation.\n- **Review mode** — reviewing a PR's error handling changes. Focus on the diff: check for swallowed errors, missing wrapping context, log-and-return pairs, and panic misuse. Sequential.\n- **Audit mode** — auditing existing error handling across a codebase. Use up to 5 parallel sub-agents, each targeting an independent category (creation, wrapping, single-handling rule, panic\u002Frecover, structured logging).\n\n> **Community default.** A company skill that explicitly supersedes `samber\u002Fcc-skills-golang@golang-error-handling` skill takes precedence.\n\n# Go Error Handling Best Practices\n\nThis skill guides the creation of robust, idiomatic error handling in Go applications. Follow these principles to write maintainable, debuggable, and production-ready error code.\n\n## Best Practices Summary\n\n1. **Returned errors MUST always be checked** — NEVER discard with `_`\n2. **Errors MUST be wrapped with context** using `fmt.Errorf(\"{context}: %w\", err)`\n3. **Error strings MUST be lowercase**, without trailing punctuation\n4. **Use `%w` internally, `%v` at system boundaries** to control error chain exposure\n5. **MUST use `errors.Is` for sentinel matching and `errors.As`\u002F`errors.AsType` for typed chain inspection** instead of direct comparison or bare type assertions. For Go 1.26+, prefer `errors.AsType[T](err)` when `T` implements `error`; use `errors.As(err, &target)` for Go \u003C1.26 or for non-error interface targets.\n6. **SHOULD use `errors.Join`** (Go 1.20+) to combine independent errors\n7. **Errors MUST be either logged OR returned**, NEVER both (single handling rule)\n8. **Use sentinel errors** for expected conditions, custom types for carrying data\n9. **NEVER use `panic` for expected error conditions** — reserve for truly unrecoverable states\n10. **SHOULD use `slog`** (Go 1.21+) for structured error logging — not `fmt.Println` or `log.Printf`\n11. **Use `samber\u002Foops`** for production errors needing stack traces, user\u002Ftenant context, or structured attributes\n12. **Log HTTP requests** with structured middleware capturing method, path, status, and duration\n13. **Use log levels** to indicate error severity\n14. **Never expose technical errors to users** — translate internal errors to user-friendly messages, log technical details separately\n15. **Keep log grouping low-cardinality** — at logging\u002FAPM boundaries, keep message templates stable and attach IDs, paths, line numbers, and counts as structured attributes. Error values may include useful operational context, but avoid putting high-cardinality data into the stable log message used for grouping.\n\n## Detailed Reference\n\n- **[Error Creation](.\u002Freferences\u002Ferror-creation.md)** — How to create errors that tell the story: error messages should be lowercase, no punctuation, and describe what happened without prescribing action. Covers sentinel errors (one-time preallocation for performance), custom error types (for carrying rich context), and the decision table for which to use when.\n\n- **[Error Wrapping and Inspection](.\u002Freferences\u002Ferror-wrapping.md)** — Why `fmt.Errorf(\"{context}: %w\", err)` beats `fmt.Errorf(\"{context}: %v\", err)` (chains vs concatenation). How to inspect chains with `errors.Is`, `errors.As`, and Go 1.26+ `errors.AsType` for type-safe error handling, and `errors.Join` for combining independent errors.\n\n- **[Error Handling Patterns and Logging](.\u002Freferences\u002Ferror-handling.md)** — The single handling rule: errors are either logged OR returned, NEVER both (prevents duplicate logs cluttering aggregators). Panic\u002Frecover design, `samber\u002Foops` for production errors, and `slog` structured logging integration for APM tools.\n\n## Parallelizing Error Handling Audits\n\nWhen auditing error handling across a large codebase, use up to 5 parallel sub-agents — each targets an independent error category:\n\n- Sub-agent 1: Error creation — validate `errors.New`\u002F`fmt.Errorf` usage, low-cardinality messages, custom types\n- Sub-agent 2: Error wrapping — audit `%w` vs `%v`, verify `errors.Is`\u002F`errors.As` patterns\n- Sub-agent 3: Single handling rule — find log-and-return violations, swallowed errors, discarded errors (`_`)\n- Sub-agent 4: Panic\u002Frecover — audit `panic` usage, verify recovery at goroutine boundaries\n- Sub-agent 5: Structured logging — verify `slog` usage at error sites, check for PII in error messages\n\n## Cross-References\n\n- → See `samber\u002Fcc-skills-golang@golang-samber-oops` for full samber\u002Foops API, builder patterns, and logger integration\n- → See `samber\u002Fcc-skills-golang@golang-observability` for structured logging setup, log levels, and request logging middleware\n- → See `samber\u002Fcc-skills-golang@golang-safety` for nil interface trap and nil error comparison pitfalls\n- → See `samber\u002Fcc-skills-golang@golang-naming` for error naming conventions (ErrNotFound, PathError)\n- → See `samber\u002Fcc-skills-golang@golang-continuous-integration` skill for automated AI-driven code review in CI using these guidelines\n\n## References\n\n- [lmittmann\u002Ftint](https:\u002F\u002Fgithub.com\u002Flmittmann\u002Ftint)\n- [samber\u002Foops](https:\u002F\u002Fgithub.com\u002Fsamber\u002Foops)\n- [samber\u002Fslog-multi](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-multi)\n- [samber\u002Fslog-sampling](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-sampling)\n- [samber\u002Fslog-formatter](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-formatter)\n- [samber\u002Fslog-http](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-http)\n- [samber\u002Fslog-sentry](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fslog-sentry)\n- [log\u002Fslog package](https:\u002F\u002Fpkg.go.dev\u002Flog\u002Fslog)\n",{"name":5,"paths":24,"license":15,"metadata":26,"description":7,"allowed-tools":36,"compatibility":37,"user-invocable":38},[25],"**\u002F*.go",{"author":27,"version":28,"openclaw":29},"samber","1.3.1",{"emoji":30,"install":31,"homepage":32,"requires":33},"⚠",[],"https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang",{"bins":34},[35],"go","Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent","Designed for Claude Code, Codex or similar harness, and for projects using Golang.",true,"main","03de2fd4cce66781f4eba68a6d0613fc2001c30f",".claude\u002Fskills\u002Fgolang-error-handling","https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go","https:\u002F\u002Fgithub.com\u002Fgn00678465","まるでだめなおさん","2026-10-30 11:48:16",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":38},[48,51,54],{"tool":49,"command":50},"npx","npx skills add gn00678465\u002Fapm-go --skill golang-error-handling",{"tool":52,"command":53},"bunx","bunx skills add gn00678465\u002Fapm-go --skill golang-error-handling",{"tool":55,"command":56},"pnpm","pnpm dlx skills add gn00678465\u002Fapm-go --skill golang-error-handling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-error-handling\u002FSKILL.md",[59,65,69,73],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"evals\u002Fevals.json","REFERENCE","参考文档",15744,"https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-error-handling\u002Fevals\u002Fevals.json",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Ferror-creation.md",5781,"https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-error-handling\u002Freferences\u002Ferror-creation.md",{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Ferror-handling.md",4591,"https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-error-handling\u002Freferences\u002Ferror-handling.md",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Ferror-wrapping.md",3860,"https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-error-handling\u002Freferences\u002Ferror-wrapping.md",[78,85,92,99,106,113],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M785HBB3TCKJBY61ESV12P93","golang-troubleshooting","Troubleshoot Golang programs systematically - find and fix the root cause. Use when encountering bugs, crashes, deadlocks, races, or unexpected behavior in Go code. Covers debugging methodology, common Go pitfalls, test-driven debugging, pprof setup and capture, Delve, race detection, GODEBUG tracing, and production debugging. Start here for any 'something is wrong' situation. Not for interpreting profiles or benchmarking (→ See `samber\u002Fcc-skills-golang@golang-benchmark` skill), applying optimization patterns (→ See `samber\u002Fcc-skills-golang@golang-performance` skill), or designing new code (→ See `samber\u002Fcc-skills-golang@golang-safety` skill for defensive coding, `samber\u002Fcc-skills-golang@golang-concurrency` skill for concurrency design).","https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-troubleshooting\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M785H2B0N08S730C7NG5JK9W","golang-testing","Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI, or debugging flaky\u002Fslow tests. For testify-specific APIs see `samber\u002Fcc-skills-golang@golang-stretchr-testify`; for measurement methodology see `samber\u002Fcc-skills-golang@golang-benchmark`.","https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-testing\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M785GSK4XRCCMQ4SKAAHE1PN","golang-spf13-cobra","Golang CLI command tree library using spf13\u002Fcobra — cobra.Command, RunE vs Run, PersistentPreRunE hook chain, Args validators (NoArgs, ExactArgs, MatchAll, custom), persistent vs local flags, command groups, ValidArgsFunction, RegisterFlagCompletionFunc, ShellCompDirective, usage\u002Fhelp template customization, man-page and markdown doc generation, and testing with SetArgs\u002FSetOut\u002FSetErr. Apply when using or adopting spf13\u002Fcobra, or when the codebase imports `github.com\u002Fspf13\u002Fcobra`. For configuration layering alongside cobra, see the `samber\u002Fcc-skills-golang@golang-spf13-viper` skill. For general CLI architecture (project layout, exit codes, signal handling, I\u002FO patterns), see `samber\u002Fcc-skills-golang@golang-cli`.","https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-spf13-cobra\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M785GGB7M6KKVBGMHDHEABQK","golang-safety","Defensive Golang coding against accidental bugs — nil panics, typed-nil interfaces, `append` backing-array aliasing, silent int64-to-int32 truncation, float `==` comparison, `defer` inside loops, defensive copies of slices and maps, and usable zero values. Use when a Go program panics on a nil map write or nil pointer dereference, when reviewing code for nil-safety, numeric conversion overflow, or resource lifecycle, or when designing a type whose zero value must be safe. Not for designing concurrent access with goroutines, channels, or sync primitives (→ See `samber\u002Fcc-skills-golang@golang-concurrency` skill), not for exploitable vulnerabilities such as injection, weak crypto, or leaked secrets (→ See `samber\u002Fcc-skills-golang@golang-security` skill), and not for debugging an already-failing program (→ See `samber\u002Fcc-skills-golang@golang-troubleshooting` skill).","https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-safety\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M785G9Z9BP2FFJFVTSCRC2TP","golang-lint","Linting best practices and golangci-lint configuration for Golang projects — running linters, configuring .golangci.yml, suppressing warnings with nolint directives, interpreting lint output, and selecting linters. Use when configuring golangci-lint, asking about lint warnings or nolint suppressions, setting up code quality tooling, or choosing linters. Also use when the user mentions golangci-lint, go vet, staticcheck, or revive. Not for wiring a lint step into a GitHub Actions pipeline (→ See `samber\u002Fcc-skills-golang@golang-continuous-integration` skill).","https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-lint\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M785FVP5KNN9J0CZNRKSN00W","golang-concurrency","Golang concurrency design — goroutine lifecycle and leak prevention, channels and `select`, channel ownership and direction, `sync.Mutex`\u002F`RWMutex`\u002F`sync.Map`\u002F`sync.Once`\u002Fatomics, `errgroup`, `singleflight`, worker pools, and fan-out\u002Ffan-in pipelines. Use when writing or reviewing concurrent Go code, when choosing between channels and mutexes, when protecting a shared map or counter, or when a goroutine has no clear exit. Not for defensive coding unrelated to concurrency such as nil panics, slice aliasing, or numeric overflow (→ See `samber\u002Fcc-skills-golang@golang-safety` skill), and not for debugging a specific hung, crashing, or racing program after the fact (→ See `samber\u002Fcc-skills-golang@golang-troubleshooting` skill).","https:\u002F\u002Fgithub.com\u002Fgn00678465\u002Fapm-go\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgolang-concurrency\u002FSKILL.md",[],[]]