[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BQDGF098NGY39G15HSPTRR":3,"skill-same:01M7BQDGF098NGY39G15HSPTRR":59},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BQDGF098NGY39G15HSPTRR","go-logging",null,"Use when choosing a logging approach, configuring slog, writing structured log statements, or deciding log levels in Go. Also use when making a Go service observable — request-scoped context, trace correlation, metric shape and label cardinality, dashboards and alerts as done-criteria — or when setting up production logging 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).","h0rn3t\u002Fgolang-skills","h0rn3t","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1213719?v=4","01M7BQBDJ8D4P5W7EQHBD464BX","Eugene Shershen","01M7BQBDJXMTCKNCEDKVEYDRGA",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-logging\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: go-logging\ndescription: Use when choosing a logging approach, configuring slog, writing structured log statements, or deciding log levels in Go. Also use when making a Go service observable — request-scoped context, trace correlation, metric shape and label cardinality, dashboards and alerts as done-criteria — or when setting up production logging 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).\n---\n\n# Go Logging\n\n> Compatibility: Baseline Go 1.27 (see [COMPATIBILITY.md](..\u002Fgo-style-core\u002Freferences\u002FCOMPATIBILITY.md)).\n> `slog.NewMultiHandler` requires Go 1.26+; `slog.GroupAttrs` Go 1.25+;\n> `slog.DiscardHandler` Go 1.24+; `log\u002Fslog` itself Go 1.21+.\n\n## Resource Routing\n\n- `references\u002FLEVELS-AND-CONTEXT.md` - Read when choosing log levels, deciding logger-in-context versus explicit parameters, or excluding sensitive fields.\n- `references\u002FLOGGING-PATTERNS.md` - Read when configuring slog handlers, logging HTTP requests, testing handlers, or migrating from `log.Printf`.\n- `references\u002FOBSERVABILITY.md` - Read when adding metrics, histograms, or a route label, correlating logs with OpenTelemetry traces, wiring propagation or sampling, or exposing profiles in a production service.\n\n## Choosing a Logger\n\n> **Normative**: Use `log\u002Fslog` for new Go code in a package with no logger\n> yet. A package already on zap, zerolog, or logrus keeps it\n> ([House Style Wins](..\u002Fgo-style-core\u002FSKILL.md#house-style-wins)); replacing\n> it is a migration [go-packages](..\u002Fgo-packages\u002FSKILL.md) owns.\n\nDo not introduce a third-party logging library unless profiling shows `slog`\nis a bottleneck in your hot path.\n\n---\n\n## Structured Logging\n\n> **Normative**: Always use key-value pairs. Never interpolate values into the message string.\n\nThe message is a **static description** of what happened. Dynamic data goes in\nkey-value attributes:\n\n```go\n\u002F\u002F Good: static message, structured fields\nslog.Info(\"order placed\", \"order_id\", orderID, \"total\", total)\n\n\u002F\u002F Bad: dynamic data baked into the message string\nslog.Info(fmt.Sprintf(\"order %d placed for $%.2f\", orderID, total))\n```\n\n### Key Naming\n\n> **Advisory**: Use `snake_case` for log attribute keys.\n\n### Typed Attributes\n\nFor performance-critical paths, use typed constructors to avoid allocations.\nGroup related attributes with `slog.GroupAttrs` (Go 1.25+) — it takes `...Attr`\nrather than `slog.Group`'s `...any`, so the compiler checks the arguments:\n\n```go\nslog.LogAttrs(ctx, slog.LevelInfo, \"request handled\",\n    slog.String(\"method\", r.Method),\n    slog.Int(\"status\", code),\n    slog.Duration(\"elapsed\", elapsed),\n    slog.GroupAttrs(\"client\", slog.String(\"ua\", ua), slog.String(\"region\", region)),\n)\n```\n\n### Fanning out to several sinks\n\n`slog.NewMultiHandler` (Go 1.26+) replaces hand-written fan-out handlers — e.g.\nJSON to stdout for the log pipeline plus text to stderr for a human:\n\n```go\nlogger := slog.New(slog.NewMultiHandler(\n    slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo}),\n    slog.NewTextHandler(os.Stderr, &slog.HandlerOptions{Level: slog.LevelError}),\n))\n```\n\nEach handler keeps its own level and format; `Enabled` is true if any child is.\nA test or caller that ignores logs passes `slog.New(slog.DiscardHandler)`\n(Go 1.24+), never a hand-written no-op handler.\n\n---\n\n## Log Levels\n\n**Rules of thumb**:\n- If nobody should act on it, it's not Error — use Warn or Info\n- If it's only useful with a debugger attached, it's Debug\n- `slog.Error` carries the error that caused it as an `\"err\"` attribute\n\nOn a hot path, guard attribute construction that allocates with\n`logger.Enabled(ctx, slog.LevelDebug)` so a disabled level costs one check.\n\n---\n\n## Request-Scoped Logging\n\n> **Advisory**: Derive loggers from context to carry request-scoped fields.\n\nUse middleware to enrich a logger with request ID, user ID, or trace ID, then\npass the enriched logger downstream — in the context for handler and\nmiddleware chains, as an explicit parameter for libraries and background\nworkers ([the decision table](references\u002FLEVELS-AND-CONTEXT.md#when-to-use-each)).\n\nLog through the `*Context` variants (`slog.InfoContext`, `slog.ErrorContext`)\nso the context reaches `Handler.Handle`. That call alone adds nothing:\n`TextHandler` and `JSONHandler` ignore the context. A trace or request ID\nreaches the record only from a logger already enriched with it, or from a\nhandler that reads it out of the context; that handler re-wraps `WithAttrs`\nand `WithGroup`, or every logger built with `With` drops the field. Both forms\nare in [LOGGING-PATTERNS.md](references\u002FLOGGING-PATTERNS.md#context-attributes).\n\n---\n\n## Log or Return, Not Both\n\nThe handle-once rule and its one exception — a handler at the top of the\nchain logs the detail and answers with a status — belong to\n[go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md#error-flow). The logging\nside of that exception is one `*Context` call carrying the fields the record\nneeds:\n\n```go\nslog.ErrorContext(r.Context(), \"checkout failed\", \"err\", err, \"user_id\", uid)\nhttp.Error(w, \"internal error\", http.StatusInternalServerError)\n```\n\n---\n\n## Production Observability\n\nA feature in a service is not done until an operator can see it fail: a\nmetric for its operations and errors, logs and traces joined by the trace ID,\nand each metric wired into a dashboard or alert rule. Label values stay\nbounded (method, route pattern, status); never user IDs, full URLs, or\nrequest bodies. Metric shapes, the route label, OpenTelemetry log and trace\nwiring, and profiles: [OBSERVABILITY.md](references\u002FOBSERVABILITY.md).\n\n---\n\n## What NOT to Log\n\n> **Normative**: Never log secrets, credentials, PII, or high-cardinality unbounded data.\n\nA secret gets its own type, and every way a value is printed returns\n`[REDACTED]`: `slog` calls `LogValue` only on an attribute's own value, while a\nstruct, slice, or map that holds the secret goes through `fmt` (`TextHandler`,\n`%v`, `%#v`, an error built with `%s`) or `encoding\u002Fjson` (`JSONHandler`,\n`json.Marshal`):\n\n```go\n\u002F\u002F Token is a credential; no log record, format verb, or JSON encoding shows it.\ntype Token string\n\nfunc (Token) LogValue() slog.Value         { return slog.StringValue(\"[REDACTED]\") }\nfunc (Token) String() string               { return \"[REDACTED]\" }\nfunc (Token) GoString() string             { return \"[REDACTED]\" }\nfunc (Token) MarshalText() ([]byte, error) { return []byte(\"[REDACTED]\"), nil }\n\n\u002F\u002F client holds its token in an unexported field, where fmt cannot call\n\u002F\u002F Token's methods, so client prints itself without it.\ntype client struct {\n\tbaseURL string\n\ttoken   Token\n}\n\nfunc (c client) String() string       { return \"client{\" + c.baseURL + \"}\" }\nfunc (c client) GoString() string     { return c.String() }\nfunc (c client) LogValue() slog.Value { return slog.StringValue(c.String()) }\n```\n\nA struct with an exported secret field gets its redaction from the field's\ntype, so a `Config` holding a `Token` logs whole. An unexported field does\nnot: `fmt` cannot call `String` or `GoString` on it, so `TextHandler`, `%v`,\n`%+v`, and `%#v` print the raw secret. A struct that keeps a secret in an\nunexported field prints itself without it, as `client` does. The one site\nthat must send the secret converts with `string(tok)`.\n\nA request value goes into an `slog` attribute, which both handlers quote or\nescape; `log.Printf` or `fmt` with `%s` writes its CR\u002FLF verbatim and lets the\nclient forge log lines. An error tracker or analytics SDK (Sentry, Segment) is\na log sink too: it gets the user ID, never the email, phone, or request\nheaders, scrubbed in the SDK's before-send hook.\n\n---\n\n## Related Skills\n\n- [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md): log or return, the handle-once pattern.\n- [go-context](..\u002Fgo-context\u002FSKILL.md): which request-scoped values a context may carry.\n- [go-performance](..\u002Fgo-performance\u002FSKILL.md): hot-path logging and allocations in log calls.\n- [go-code-review](..\u002Fgo-code-review\u002FSKILL.md): reviewing logging in a PR.\n","# Go Logging\n\n> Compatibility: Baseline Go 1.27 (see [COMPATIBILITY.md](..\u002Fgo-style-core\u002Freferences\u002FCOMPATIBILITY.md)).\n> `slog.NewMultiHandler` requires Go 1.26+; `slog.GroupAttrs` Go 1.25+;\n> `slog.DiscardHandler` Go 1.24+; `log\u002Fslog` itself Go 1.21+.\n\n## Resource Routing\n\n- `references\u002FLEVELS-AND-CONTEXT.md` - Read when choosing log levels, deciding logger-in-context versus explicit parameters, or excluding sensitive fields.\n- `references\u002FLOGGING-PATTERNS.md` - Read when configuring slog handlers, logging HTTP requests, testing handlers, or migrating from `log.Printf`.\n- `references\u002FOBSERVABILITY.md` - Read when adding metrics, histograms, or a route label, correlating logs with OpenTelemetry traces, wiring propagation or sampling, or exposing profiles in a production service.\n\n## Choosing a Logger\n\n> **Normative**: Use `log\u002Fslog` for new Go code in a package with no logger\n> yet. A package already on zap, zerolog, or logrus keeps it\n> ([House Style Wins](..\u002Fgo-style-core\u002FSKILL.md#house-style-wins)); replacing\n> it is a migration [go-packages](..\u002Fgo-packages\u002FSKILL.md) owns.\n\nDo not introduce a third-party logging library unless profiling shows `slog`\nis a bottleneck in your hot path.\n\n---\n\n## Structured Logging\n\n> **Normative**: Always use key-value pairs. Never interpolate values into the message string.\n\nThe message is a **static description** of what happened. Dynamic data goes in\nkey-value attributes:\n\n```go\n\u002F\u002F Good: static message, structured fields\nslog.Info(\"order placed\", \"order_id\", orderID, \"total\", total)\n\n\u002F\u002F Bad: dynamic data baked into the message string\nslog.Info(fmt.Sprintf(\"order %d placed for $%.2f\", orderID, total))\n```\n\n### Key Naming\n\n> **Advisory**: Use `snake_case` for log attribute keys.\n\n### Typed Attributes\n\nFor performance-critical paths, use typed constructors to avoid allocations.\nGroup related attributes with `slog.GroupAttrs` (Go 1.25+) — it takes `...Attr`\nrather than `slog.Group`'s `...any`, so the compiler checks the arguments:\n\n```go\nslog.LogAttrs(ctx, slog.LevelInfo, \"request handled\",\n    slog.String(\"method\", r.Method),\n    slog.Int(\"status\", code),\n    slog.Duration(\"elapsed\", elapsed),\n    slog.GroupAttrs(\"client\", slog.String(\"ua\", ua), slog.String(\"region\", region)),\n)\n```\n\n### Fanning out to several sinks\n\n`slog.NewMultiHandler` (Go 1.26+) replaces hand-written fan-out handlers — e.g.\nJSON to stdout for the log pipeline plus text to stderr for a human:\n\n```go\nlogger := slog.New(slog.NewMultiHandler(\n    slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo}),\n    slog.NewTextHandler(os.Stderr, &slog.HandlerOptions{Level: slog.LevelError}),\n))\n```\n\nEach handler keeps its own level and format; `Enabled` is true if any child is.\nA test or caller that ignores logs passes `slog.New(slog.DiscardHandler)`\n(Go 1.24+), never a hand-written no-op handler.\n\n---\n\n## Log Levels\n\n**Rules of thumb**:\n- If nobody should act on it, it's not Error — use Warn or Info\n- If it's only useful with a debugger attached, it's Debug\n- `slog.Error` carries the error that caused it as an `\"err\"` attribute\n\nOn a hot path, guard attribute construction that allocates with\n`logger.Enabled(ctx, slog.LevelDebug)` so a disabled level costs one check.\n\n---\n\n## Request-Scoped Logging\n\n> **Advisory**: Derive loggers from context to carry request-scoped fields.\n\nUse middleware to enrich a logger with request ID, user ID, or trace ID, then\npass the enriched logger downstream — in the context for handler and\nmiddleware chains, as an explicit parameter for libraries and background\nworkers ([the decision table](references\u002FLEVELS-AND-CONTEXT.md#when-to-use-each)).\n\nLog through the `*Context` variants (`slog.InfoContext`, `slog.ErrorContext`)\nso the context reaches `Handler.Handle`. That call alone adds nothing:\n`TextHandler` and `JSONHandler` ignore the context. A trace or request ID\nreaches the record only from a logger already enriched with it, or from a\nhandler that reads it out of the context; that handler re-wraps `WithAttrs`\nand `WithGroup`, or every logger built with `With` drops the field. Both forms\nare in [LOGGING-PATTERNS.md](references\u002FLOGGING-PATTERNS.md#context-attributes).\n\n---\n\n## Log or Return, Not Both\n\nThe handle-once rule and its one exception — a handler at the top of the\nchain logs the detail and answers with a status — belong to\n[go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md#error-flow). The logging\nside of that exception is one `*Context` call carrying the fields the record\nneeds:\n\n```go\nslog.ErrorContext(r.Context(), \"checkout failed\", \"err\", err, \"user_id\", uid)\nhttp.Error(w, \"internal error\", http.StatusInternalServerError)\n```\n\n---\n\n## Production Observability\n\nA feature in a service is not done until an operator can see it fail: a\nmetric for its operations and errors, logs and traces joined by the trace ID,\nand each metric wired into a dashboard or alert rule. Label values stay\nbounded (method, route pattern, status); never user IDs, full URLs, or\nrequest bodies. Metric shapes, the route label, OpenTelemetry log and trace\nwiring, and profiles: [OBSERVABILITY.md](references\u002FOBSERVABILITY.md).\n\n---\n\n## What NOT to Log\n\n> **Normative**: Never log secrets, credentials, PII, or high-cardinality unbounded data.\n\nA secret gets its own type, and every way a value is printed returns\n`[REDACTED]`: `slog` calls `LogValue` only on an attribute's own value, while a\nstruct, slice, or map that holds the secret goes through `fmt` (`TextHandler`,\n`%v`, `%#v`, an error built with `%s`) or `encoding\u002Fjson` (`JSONHandler`,\n`json.Marshal`):\n\n```go\n\u002F\u002F Token is a credential; no log record, format verb, or JSON encoding shows it.\ntype Token string\n\nfunc (Token) LogValue() slog.Value         { return slog.StringValue(\"[REDACTED]\") }\nfunc (Token) String() string               { return \"[REDACTED]\" }\nfunc (Token) GoString() string             { return \"[REDACTED]\" }\nfunc (Token) MarshalText() ([]byte, error) { return []byte(\"[REDACTED]\"), nil }\n\n\u002F\u002F client holds its token in an unexported field, where fmt cannot call\n\u002F\u002F Token's methods, so client prints itself without it.\ntype client struct {\n\tbaseURL string\n\ttoken   Token\n}\n\nfunc (c client) String() string       { return \"client{\" + c.baseURL + \"}\" }\nfunc (c client) GoString() string     { return c.String() }\nfunc (c client) LogValue() slog.Value { return slog.StringValue(c.String()) }\n```\n\nA struct with an exported secret field gets its redaction from the field's\ntype, so a `Config` holding a `Token` logs whole. An unexported field does\nnot: `fmt` cannot call `String` or `GoString` on it, so `TextHandler`, `%v`,\n`%+v`, and `%#v` print the raw secret. A struct that keeps a secret in an\nunexported field prints itself without it, as `client` does. The one site\nthat must send the secret converts with `string(tok)`.\n\nA request value goes into an `slog` attribute, which both handlers quote or\nescape; `log.Printf` or `fmt` with `%s` writes its CR\u002FLF verbatim and lets the\nclient forge log lines. An error tracker or analytics SDK (Sentry, Segment) is\na log sink too: it gets the user ID, never the email, phone, or request\nheaders, scrubbed in the SDK's before-send hook.\n\n---\n\n## Related Skills\n\n- [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md): log or return, the handle-once pattern.\n- [go-context](..\u002Fgo-context\u002FSKILL.md): which request-scoped values a context may carry.\n- [go-performance](..\u002Fgo-performance\u002FSKILL.md): hot-path logging and allocations in log calls.\n- [go-code-review](..\u002Fgo-code-review\u002FSKILL.md): reviewing logging in a PR.\n",{"name":5,"description":7},"main","59ac8ac7a0dd394878aaa0a7a7ecbc227356739f","skills\u002Fgo-logging",2,"https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills","https:\u002F\u002Fgithub.com\u002Fh0rn3t","2026-11-14 04:23:12",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add h0rn3t\u002Fgolang-skills --skill go-logging",{"tool":37,"command":38},"bunx","bunx skills add h0rn3t\u002Fgolang-skills --skill go-logging",{"tool":40,"command":41},"pnpm","pnpm dlx skills add h0rn3t\u002Fgolang-skills --skill go-logging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-logging\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002FLEVELS-AND-CONTEXT.md","REFERENCE","参考文档",3941,"https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-logging\u002Freferences\u002FLEVELS-AND-CONTEXT.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002FLOGGING-PATTERNS.md",6139,"https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-logging\u002Freferences\u002FLOGGING-PATTERNS.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002FOBSERVABILITY.md",3744,"https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-logging\u002Freferences\u002FOBSERVABILITY.md",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7BQEMJBPJWY6CCGVKW27SH0","go-troubleshooting","Use when investigating a bug or ticket in a Go service whose cause is unknown — wrong or missing results, tenant-specific behavior, a regression, stage\u002Fprod\u002FCI differences, a panic, hang, deadlock, leak, unexplained CPU\u002FRSS growth, or a flaky test. Also use for pasted stack traces, profiles, logs, or requests to find a Go issue's root cause, even without the word debug. Does not cover rewriting ticket text, implementing an already-diagnosed fix alone (use its topic skill), or optimizing a known bottleneck (see go-performance).","https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-troubleshooting\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7BQEFVSRHNDND750SB69WD8","go-testing","Use when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff. Also use when a user asks to write a test for a Go function, even if they don't mention specific patterns like table-driven tests or subtests. Does not cover benchmark performance testing (see go-performance).","https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-testing\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7BQEA2DRH6H6WFYNJYJJRQQ","go-style-core","Use when resolving Go style or language mechanics such as formatting, nesting, declarations, initialization, scope, shadowing, loops, switches, or enum zero values. API design, naming, errors, and tests have specialized skills.","https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-style-core\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7BQE3D1H45ANCXAWCS55CDK","go-security","Use when writing or reviewing Go code that touches untrusted input, secrets, or credentials — SQL, shell, or template injection, path traversal, SSRF, cookies and security headers, password hashing, TLS settings, token comparison, or what may appear in a log line. Also use when a handler accepts a file name, URL, or command argument from a client, or when asked to find \"vulnerabilities\", even if the user never says \"security\". Does not cover the os.Root and crypto\u002Frand mechanics (see go-defensive) or the dependency CVE scan in the gate (see go-linting).","https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-security\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7BQDZYHG2YRJA3J26HFPKR7","go-resilience","Use when handling Go dependency failures or overload with retries, backoff\u002Fjitter, budgets, idempotency, duplicate delivery, circuit breakers, bulkheads, rate limits, backpressure, or degradation. Unknown root causes belong to go-troubleshooting.","https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-resilience\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7BQDVG7DH2G9Z97Y8H3P3E9","go-performance","Use when optimizing slow or performance-critical Go code, allocations, string concatenation in loops, or benchmarks. Also use when writing or reviewing a cache, including implementing one from a stub — its key, its expiry, and how a miss loads. Concurrent code patterns belong to go-concurrency.","https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-performance\u002FSKILL.md",[],[]]