[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BQDBXRKF5E7ZKTGWTKXP3B":3,"skill-same:01M7BQDBXRKF5E7ZKTGWTKXP3B":68},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7BQDBXRKF5E7ZKTGWTKXP3B","go-linting",null,"Use when configuring Go linting, golangci-lint, static analysis, or CI checks, or choosing linters for a new project. Reviewing code belongs to go-code-review.","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-linting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: go-linting\ndescription: Use when configuring Go linting, golangci-lint, static analysis, or CI checks, or choosing linters for a new project. Reviewing code belongs to go-code-review.\nallowed-tools: Bash(bash ${CLAUDE_SKILL_DIR}\u002Fscripts\u002F*) Bash(bash ${CLAUDE_PLUGIN_ROOT}\u002Fhooks\u002Fgo-check-receipt.sh *)\n---\n\n# Go Linting\n\nThis skill owns the repository's verification gate — the commands that decide\nwhether Go work is finished.\n\n> Compatibility: Baseline Go 1.27 (see [COMPATIBILITY.md](..\u002Fgo-style-core\u002Freferences\u002FCOMPATIBILITY.md)). Analyzer and\n> linter names are checked against go1.27.2 and golangci-lint 2.15.0.\n\n## Resource Routing\n\n- `scripts\u002Fsetup-lint.sh` - Run from the target module as `bash \u003Cinstalled-skill-dir>\u002Fscripts\u002Fsetup-lint.sh [local-prefix]` when generating a `.golangci.yml`, validating the first lint pass, or producing JSON metadata.\n- `assets\u002Fgolangci.yml` - Use as the v2 golangci-lint baseline for established projects, and as the gate's lint config where the repository has none.\n- `..\u002F..\u002Fhooks\u002Fgo-check-receipt.sh` - Where the plugin hook runs, execute the matching Bash verification command it prints before crediting a receipt; absent on standalone installs.\n- `..\u002F..\u002Fhooks\u002Fhelper\u002Freceipt.go` - Internal receipt runner behind the Bash entry point; inspect only when debugging the hook or verifier.\n- `..\u002F..\u002Fhooks\u002Fgo-verification-routing.sh` - The plugin's Bash verification prerequisite after a Go edit; inspect only when diagnosing routing or opt-out behavior.\n- `references\u002FCONFIGURATION.md` - Read for any linter configuration, CI, or first-lint setup task.\n- `references\u002FRECEIPTS.md` - Read before crediting an edit-hook receipt or writing a `pass (hook)` or `pass (receipt)` label.\n\n## Verification Gate\n\n> **Normative**: Verify the requested work with observed results. Complete the\n> repository's required checks; use the defaults below when it has no gate.\n> A question or documentation-only edit does not require a Go runtime gate.\n\n```bash\ngofmt -l .            # inspect output: exit 0 alone does not mean clean; a vendor\u002F or testdata\u002F path is not a finding\ngo build .\u002F...\ngo vet .\u002F...          # includes stdversion, printf, lostcancel, waitgroup\ngo test -race .\u002F...\ngo fix -diff \u003Cchanged packages>   # preview only; exits 1 whenever it prints a hunk\ngolangci-lint run .\u002F...   # no repository config: add --config \u003Cinstalled-skill-dir>\u002Fassets\u002Fgolangci.yml\ngovulncheck .\u002F...     # dependency CVEs\n```\n\nGate rules:\n\n- Read the convention files [go-style-core](..\u002Fgo-style-core\u002FSKILL.md#house-style-wins)\n  names. Use their gate at its required scope; do not automatically union it with this one.\n  A specific request such as \"check it builds\" selects that check, not the full\n  gate. Report the selected scope; build-only success is not full-gate success.\n- Run from the target module or workspace, not the installed skill directory.\n  For a local change without a prescribed gate, start with affected packages;\n  include consumers for shared APIs and broaden for cross-package risk or release.\n  Documentation-only work needs the applicable documentation checks.\n- For modernization, identify existing packages from the task's actual diff,\n  including staged and untracked files when relevant. Pass explicit quoted\n  package arguments (for example `go fix -diff .\u002Finternal\u002Fstore`). An empty\n  package list means skip; do not fall back to the current package or `.\u002F...`.\n  Separate pre-existing findings from new ones; do not rewrite unrelated code.\n  The check is `pass` when no hunk lies in the lines the task wrote or\n  changed, whatever the exit code, and the report counts the other hunks as\n  pre-existing; a hunk in those lines is `fail`.\n- `golangci-lint config path` exits non-zero when the repository has no lint\n  config; lint with the bundled baseline then. Without it golangci-lint runs\n  five default linters: none of the `noctx`, `bodyclose`, `rowserrcheck`,\n  `sqlclosecheck`, `gosec`, or `sloglint` checks the skills name runs, and\n  `errcheck` reports the deferred `rows.Close`, `tx.Rollback`, and\n  `resp.Body.Close` the baseline excludes.\n- The default gate always runs `-race`. A repository gate without it gets one\n  `-race` run of the changed packages for a concurrency change: inspect a\n  `make test` recipe first, since a plain `go test` is not evidence of a race\n  check, and keep its setup in the race-enabled equivalent.\n- A check's result is its own exit status, not the pipeline's: `go test .\u002F... | tail`\n  exits 0 on a failure, and `| head` kills `go test` with SIGPIPE before later\n  packages run. Run gate commands unpiped or under `set -o pipefail`.\n- Run `govulncheck` before release, for dependency changes in the requested diff\n  (including staged changes), or when requested. Otherwise report it\n  `skipped (no dependency change)`.\n- Fix attributable failures in the code, not in the check\n  ([Holding the Bar](#holding-the-bar)), then rerun affected checks. Reuse passing results\n  for unchanged code and configuration, including across checklist items. Repeat\n  or broaden only for new edits, failures, unresolved concerns, or required gates.\n  A check that fails the same way after two fixes aimed at it has a cause not\n  yet found: stop patching, take [go-troubleshooting](..\u002Fgo-troubleshooting\u002FSKILL.md)'s\n  loop from the first diagnostic, and if it does not close, report the check\n  `fail` with both attempts.\n- Where the plugin edit hook runs, first run the `go-check-receipt.sh --gate`\n  command the last edit hook printed, as printed and alone in its Bash call,\n  before any direct check and again after every later Go edit: the plugin\n  blocks a direct check until then. Credit only what it reports\n  with exit 0 **and `hook_credit=true`**, at its reported scope; run every\n  other selected check directly. Hook tests use `-short` without `-race`.\n  Without a shell, a hook result is `observed (hook, reuse unverified)`, never\n  `pass`. [RECEIPTS.md](references\u002FRECEIPTS.md) holds the rest of the receipt\n  rules; read it before writing a `pass (hook)` or `pass (receipt)` label.\n- A test check passes on evidence that the tests ran, not on exit 0.\n  `ok … [no tests to run]` (a `-run` pattern that matches nothing, or a file\n  behind a `\u002F\u002Fgo:build` tag the run did not pass), `[no test files]`, and a\n  `TestMain` that returns before `m.Run`\n  ([INTEGRATION.md](..\u002Fgo-testing\u002Freferences\u002FINTEGRATION.md#returning-before-mrun)),\n  and a package whose tests all called `t.Skip` all exit 0 having run nothing; an `Example` without `\u002F\u002F Output:` is compiled\n  and never run. The evidence is `--- PASS: TestX` under `-v` or its\n  `\"Action\":\"pass\"` event under `-json`.\n- Report each selected check as `pass`, `fail`, or `unavailable (reason)`;\n  explicitly omitted checks are `skipped (reason)`. Overall `PASS` requires all\n  required checks to pass; `FAIL` means a finding; `INCOMPLETE` means required\n  evidence is unavailable with no known finding. Report both when they coexist.\n  Missing tools, unsupported toolchains, and infrastructure failures are not\n  clean results. Attribute an environment gap from evidence, not error text alone.\n  A missing tool is reported, not installed: unless the task asks, the gate\n  never runs `go install` or `go get`, edits `go.mod`, or switches the\n  toolchain to make a check runnable.\n\n---\n\n## Modernization: `go fix`\n\nSince Go 1.26 the modernizers are `go fix` analyzers.\n`go fix -diff \u003Cpackages>` previews; `go fix \u003Cpackages>` applies. Use the package\nscope established above and inspect the preview before applying changes.\n\n`go tool fix help` lists the current set; most rewrite to a form the\n[idiom card](..\u002Fgo-style-core\u002FSKILL.md#current-go-idiom-card) lists, and\n[MODERNIZATION.md](..\u002Fgo-code-refactor\u002Freferences\u002FMODERNIZATION.md#start-with-go-fix)\nnames the rest, the Go 1.27 renames, and which hunks change behavior.\n\nSelect a subset with `go fix -rangeint .\u002F...`, or exclude with\n`-NAME=false`. Review the diff: these carry fixes, not just diagnostics, and a\nfew change allocation behavior.\nFixes from two analyzers that overlap are not shown at all: `go fix -diff`\nexits 1 with only `fix: N of M fixes skipped (e.g. due to conflicts)`, and on\ngo1.27.1 a plain `go fix` then reports them applied without writing a file.\nPreview and apply one analyzer at a time (`go fix -diff -rangeint .\u002Fpkg`), and\nconfirm a write with `git diff --stat`.\nAfter applying fixes, build the affected packages and review retained comments:\nmodernizers can leave unused imports\u002Fvariables or discard comments inside a\nrewritten loop. Use the existing gate once on the final code, not a duplicate\nverification cycle.\n\n\n---\n\n## Nolint Directives\n\n```go\nreturn rand.N(d) \u002F\u002Fnolint:gosec \u002F\u002F G404: retry jitter, not a secret\n```\n\n`nolintlint` in the baseline rejects a bare `\u002F\u002Fnolint`, one without a reason,\nand one on a line with no finding for that linter; place the comment on the\nfinding's line. `_ = f()` needs no directive: `errcheck` does not report an\nexplicit discard. The line still says why: a bare `_` on an error is a\n[go-code-review](..\u002Fgo-code-review\u002FSKILL.md) finding.\n\n---\n\n## Holding the Bar\n\n> **Normative**: A failing check turns green by a change to the code, never by\n> a change to the check.\n\nThe cheap road to green, and what it looks like in a diff:\n\n| Move | In the diff |\n|---|---|\n| Silence a checker | a new `\u002F\u002Fnolint`, `\u002F\u002Flint:ignore`, or `#nosec`; a `.golangci.yml` edit that disables a linter, adds an exclusion, or raises a threshold |\n| Make a test easier | a new `t.Skip` or `testing.Short()` guard; a test file or test function deleted; an assertion, `\u002F\u002F Output:` line, or table case removed from a test that stays; a `testdata\u002F*.golden` file rewritten to match the new output |\n| Drop a check | `-race` removed from the `Makefile`, CI, or a script |\n| Leave the work unfinished | `panic(\"not implemented\")` where the behavior should be |\n| Quiet the compiler | `_` on an error a changed signature now returns; `return nil, nil` or a zero value added for `missing return`; `n, _ := strconv.Atoi(s)`: the build passes and the behavior is invented |\n\nEach move is legitimate only with a reason a reviewer can check, on the line\nor in the report: the directive's reason ([Nolint Directives](#nolint-directives)),\nthe infrastructure a skipped test needs, the requirement that changed a golden\nfile. Without one the failure stays and is reported as `fail`. Tightening needs\nno mention. `pre-review.sh --new-from-rev \u003Cbase>` lists the first four rows'\nmoves in a diff ([go-code-review](..\u002Fgo-code-review\u002FSKILL.md)); a quieted\ncompiler is found by reading it.\n\n---\n\n## Related Skills\n\n- [go-code-review](..\u002Fgo-code-review\u002FSKILL.md): linter output alongside the manual checklist.\n- [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md): what to do with an `errcheck` finding.\n- [go-testing](..\u002Fgo-testing\u002FSKILL.md): linters and tests in one CI pipeline.\n","# Go Linting\n\nThis skill owns the repository's verification gate — the commands that decide\nwhether Go work is finished.\n\n> Compatibility: Baseline Go 1.27 (see [COMPATIBILITY.md](..\u002Fgo-style-core\u002Freferences\u002FCOMPATIBILITY.md)). Analyzer and\n> linter names are checked against go1.27.2 and golangci-lint 2.15.0.\n\n## Resource Routing\n\n- `scripts\u002Fsetup-lint.sh` - Run from the target module as `bash \u003Cinstalled-skill-dir>\u002Fscripts\u002Fsetup-lint.sh [local-prefix]` when generating a `.golangci.yml`, validating the first lint pass, or producing JSON metadata.\n- `assets\u002Fgolangci.yml` - Use as the v2 golangci-lint baseline for established projects, and as the gate's lint config where the repository has none.\n- `..\u002F..\u002Fhooks\u002Fgo-check-receipt.sh` - Where the plugin hook runs, execute the matching Bash verification command it prints before crediting a receipt; absent on standalone installs.\n- `..\u002F..\u002Fhooks\u002Fhelper\u002Freceipt.go` - Internal receipt runner behind the Bash entry point; inspect only when debugging the hook or verifier.\n- `..\u002F..\u002Fhooks\u002Fgo-verification-routing.sh` - The plugin's Bash verification prerequisite after a Go edit; inspect only when diagnosing routing or opt-out behavior.\n- `references\u002FCONFIGURATION.md` - Read for any linter configuration, CI, or first-lint setup task.\n- `references\u002FRECEIPTS.md` - Read before crediting an edit-hook receipt or writing a `pass (hook)` or `pass (receipt)` label.\n\n## Verification Gate\n\n> **Normative**: Verify the requested work with observed results. Complete the\n> repository's required checks; use the defaults below when it has no gate.\n> A question or documentation-only edit does not require a Go runtime gate.\n\n```bash\ngofmt -l .            # inspect output: exit 0 alone does not mean clean; a vendor\u002F or testdata\u002F path is not a finding\ngo build .\u002F...\ngo vet .\u002F...          # includes stdversion, printf, lostcancel, waitgroup\ngo test -race .\u002F...\ngo fix -diff \u003Cchanged packages>   # preview only; exits 1 whenever it prints a hunk\ngolangci-lint run .\u002F...   # no repository config: add --config \u003Cinstalled-skill-dir>\u002Fassets\u002Fgolangci.yml\ngovulncheck .\u002F...     # dependency CVEs\n```\n\nGate rules:\n\n- Read the convention files [go-style-core](..\u002Fgo-style-core\u002FSKILL.md#house-style-wins)\n  names. Use their gate at its required scope; do not automatically union it with this one.\n  A specific request such as \"check it builds\" selects that check, not the full\n  gate. Report the selected scope; build-only success is not full-gate success.\n- Run from the target module or workspace, not the installed skill directory.\n  For a local change without a prescribed gate, start with affected packages;\n  include consumers for shared APIs and broaden for cross-package risk or release.\n  Documentation-only work needs the applicable documentation checks.\n- For modernization, identify existing packages from the task's actual diff,\n  including staged and untracked files when relevant. Pass explicit quoted\n  package arguments (for example `go fix -diff .\u002Finternal\u002Fstore`). An empty\n  package list means skip; do not fall back to the current package or `.\u002F...`.\n  Separate pre-existing findings from new ones; do not rewrite unrelated code.\n  The check is `pass` when no hunk lies in the lines the task wrote or\n  changed, whatever the exit code, and the report counts the other hunks as\n  pre-existing; a hunk in those lines is `fail`.\n- `golangci-lint config path` exits non-zero when the repository has no lint\n  config; lint with the bundled baseline then. Without it golangci-lint runs\n  five default linters: none of the `noctx`, `bodyclose`, `rowserrcheck`,\n  `sqlclosecheck`, `gosec`, or `sloglint` checks the skills name runs, and\n  `errcheck` reports the deferred `rows.Close`, `tx.Rollback`, and\n  `resp.Body.Close` the baseline excludes.\n- The default gate always runs `-race`. A repository gate without it gets one\n  `-race` run of the changed packages for a concurrency change: inspect a\n  `make test` recipe first, since a plain `go test` is not evidence of a race\n  check, and keep its setup in the race-enabled equivalent.\n- A check's result is its own exit status, not the pipeline's: `go test .\u002F... | tail`\n  exits 0 on a failure, and `| head` kills `go test` with SIGPIPE before later\n  packages run. Run gate commands unpiped or under `set -o pipefail`.\n- Run `govulncheck` before release, for dependency changes in the requested diff\n  (including staged changes), or when requested. Otherwise report it\n  `skipped (no dependency change)`.\n- Fix attributable failures in the code, not in the check\n  ([Holding the Bar](#holding-the-bar)), then rerun affected checks. Reuse passing results\n  for unchanged code and configuration, including across checklist items. Repeat\n  or broaden only for new edits, failures, unresolved concerns, or required gates.\n  A check that fails the same way after two fixes aimed at it has a cause not\n  yet found: stop patching, take [go-troubleshooting](..\u002Fgo-troubleshooting\u002FSKILL.md)'s\n  loop from the first diagnostic, and if it does not close, report the check\n  `fail` with both attempts.\n- Where the plugin edit hook runs, first run the `go-check-receipt.sh --gate`\n  command the last edit hook printed, as printed and alone in its Bash call,\n  before any direct check and again after every later Go edit: the plugin\n  blocks a direct check until then. Credit only what it reports\n  with exit 0 **and `hook_credit=true`**, at its reported scope; run every\n  other selected check directly. Hook tests use `-short` without `-race`.\n  Without a shell, a hook result is `observed (hook, reuse unverified)`, never\n  `pass`. [RECEIPTS.md](references\u002FRECEIPTS.md) holds the rest of the receipt\n  rules; read it before writing a `pass (hook)` or `pass (receipt)` label.\n- A test check passes on evidence that the tests ran, not on exit 0.\n  `ok … [no tests to run]` (a `-run` pattern that matches nothing, or a file\n  behind a `\u002F\u002Fgo:build` tag the run did not pass), `[no test files]`, and a\n  `TestMain` that returns before `m.Run`\n  ([INTEGRATION.md](..\u002Fgo-testing\u002Freferences\u002FINTEGRATION.md#returning-before-mrun)),\n  and a package whose tests all called `t.Skip` all exit 0 having run nothing; an `Example` without `\u002F\u002F Output:` is compiled\n  and never run. The evidence is `--- PASS: TestX` under `-v` or its\n  `\"Action\":\"pass\"` event under `-json`.\n- Report each selected check as `pass`, `fail`, or `unavailable (reason)`;\n  explicitly omitted checks are `skipped (reason)`. Overall `PASS` requires all\n  required checks to pass; `FAIL` means a finding; `INCOMPLETE` means required\n  evidence is unavailable with no known finding. Report both when they coexist.\n  Missing tools, unsupported toolchains, and infrastructure failures are not\n  clean results. Attribute an environment gap from evidence, not error text alone.\n  A missing tool is reported, not installed: unless the task asks, the gate\n  never runs `go install` or `go get`, edits `go.mod`, or switches the\n  toolchain to make a check runnable.\n\n---\n\n## Modernization: `go fix`\n\nSince Go 1.26 the modernizers are `go fix` analyzers.\n`go fix -diff \u003Cpackages>` previews; `go fix \u003Cpackages>` applies. Use the package\nscope established above and inspect the preview before applying changes.\n\n`go tool fix help` lists the current set; most rewrite to a form the\n[idiom card](..\u002Fgo-style-core\u002FSKILL.md#current-go-idiom-card) lists, and\n[MODERNIZATION.md](..\u002Fgo-code-refactor\u002Freferences\u002FMODERNIZATION.md#start-with-go-fix)\nnames the rest, the Go 1.27 renames, and which hunks change behavior.\n\nSelect a subset with `go fix -rangeint .\u002F...`, or exclude with\n`-NAME=false`. Review the diff: these carry fixes, not just diagnostics, and a\nfew change allocation behavior.\nFixes from two analyzers that overlap are not shown at all: `go fix -diff`\nexits 1 with only `fix: N of M fixes skipped (e.g. due to conflicts)`, and on\ngo1.27.1 a plain `go fix` then reports them applied without writing a file.\nPreview and apply one analyzer at a time (`go fix -diff -rangeint .\u002Fpkg`), and\nconfirm a write with `git diff --stat`.\nAfter applying fixes, build the affected packages and review retained comments:\nmodernizers can leave unused imports\u002Fvariables or discard comments inside a\nrewritten loop. Use the existing gate once on the final code, not a duplicate\nverification cycle.\n\n\n---\n\n## Nolint Directives\n\n```go\nreturn rand.N(d) \u002F\u002Fnolint:gosec \u002F\u002F G404: retry jitter, not a secret\n```\n\n`nolintlint` in the baseline rejects a bare `\u002F\u002Fnolint`, one without a reason,\nand one on a line with no finding for that linter; place the comment on the\nfinding's line. `_ = f()` needs no directive: `errcheck` does not report an\nexplicit discard. The line still says why: a bare `_` on an error is a\n[go-code-review](..\u002Fgo-code-review\u002FSKILL.md) finding.\n\n---\n\n## Holding the Bar\n\n> **Normative**: A failing check turns green by a change to the code, never by\n> a change to the check.\n\nThe cheap road to green, and what it looks like in a diff:\n\n| Move | In the diff |\n|---|---|\n| Silence a checker | a new `\u002F\u002Fnolint`, `\u002F\u002Flint:ignore`, or `#nosec`; a `.golangci.yml` edit that disables a linter, adds an exclusion, or raises a threshold |\n| Make a test easier | a new `t.Skip` or `testing.Short()` guard; a test file or test function deleted; an assertion, `\u002F\u002F Output:` line, or table case removed from a test that stays; a `testdata\u002F*.golden` file rewritten to match the new output |\n| Drop a check | `-race` removed from the `Makefile`, CI, or a script |\n| Leave the work unfinished | `panic(\"not implemented\")` where the behavior should be |\n| Quiet the compiler | `_` on an error a changed signature now returns; `return nil, nil` or a zero value added for `missing return`; `n, _ := strconv.Atoi(s)`: the build passes and the behavior is invented |\n\nEach move is legitimate only with a reason a reviewer can check, on the line\nor in the report: the directive's reason ([Nolint Directives](#nolint-directives)),\nthe infrastructure a skipped test needs, the requirement that changed a golden\nfile. Without one the failure stays and is reported as `fail`. Tightening needs\nno mention. `pre-review.sh --new-from-rev \u003Cbase>` lists the first four rows'\nmoves in a diff ([go-code-review](..\u002Fgo-code-review\u002FSKILL.md)); a quieted\ncompiler is found by reading it.\n\n---\n\n## Related Skills\n\n- [go-code-review](..\u002Fgo-code-review\u002FSKILL.md): linter output alongside the manual checklist.\n- [go-error-handling](..\u002Fgo-error-handling\u002FSKILL.md): what to do with an `errcheck` finding.\n- [go-testing](..\u002Fgo-testing\u002FSKILL.md): linters and tests in one CI pipeline.\n",{"name":5,"description":7,"allowed-tools":24},"Bash(bash ${CLAUDE_SKILL_DIR}\u002Fscripts\u002F*) Bash(bash ${CLAUDE_PLUGIN_ROOT}\u002Fhooks\u002Fgo-check-receipt.sh *)","main","59ac8ac7a0dd394878aaa0a7a7ecbc227356739f","skills\u002Fgo-linting",2,"https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills","https:\u002F\u002Fgithub.com\u002Fh0rn3t","2026-11-14 04:23:12",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add h0rn3t\u002Fgolang-skills --skill go-linting",{"tool":38,"command":39},"bunx","bunx skills add h0rn3t\u002Fgolang-skills --skill go-linting",{"tool":41,"command":42},"pnpm","pnpm dlx skills add h0rn3t\u002Fgolang-skills --skill go-linting","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-linting\u002FSKILL.md",true,[46,52,58,62],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"assets\u002Fgolangci.yml","ASSET","资产文件",5769,"https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-linting\u002Fassets\u002Fgolangci.yml",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002FCONFIGURATION.md","REFERENCE","参考文档",5494,"https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-linting\u002Freferences\u002FCONFIGURATION.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002FRECEIPTS.md",3100,"https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-linting\u002Freferences\u002FRECEIPTS.md",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fsetup-lint.sh","SCRIPT","脚本",7587,"https:\u002F\u002Fgithub.com\u002Fh0rn3t\u002Fgolang-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgo-linting\u002Fscripts\u002Fsetup-lint.sh",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"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":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"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":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"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":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"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",[],[]]