[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79ZCQRZ0V8AMSF4JYQ1F353":3,"skill-same:01M79ZCQRZ0V8AMSF4JYQ1F353":52},{"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":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":51},"01M79ZCQRZ0V8AMSF4JYQ1F353","go-ci",null,"Continuous integration for Go projects: GitHub Actions pipelines, caching, golangci-lint setup, test\u002Fcoverage gates, vulnerability scanning, build matrices, and Makefile targets. Use when: \"set up CI\", \"GitHub Actions for Go\", \"add lint to the pipeline\", \"CI is slow\", \"coverage gate\", \"build matrix\", \"write a Makefile\", \"run govulncheck in CI\". Not for: commit conventions (git-commit), choosing or auditing dependencies (go-dependency-audit), writing the tests themselves (go-test-quality).","kongnakornna\u002Fgolangapi","kongnakornna","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10528904?v=4","01M79Z5JQPPV5CWQHXS235Q9MD","Kongnakorn Jantakun","01M79Z5JRHJJJ6PR2DGQS4P985",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgo-agent-skills\u002Fskills\u002F(workflow)\u002Fgo-ci\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: go-ci\ndescription: >\n  Continuous integration for Go projects: GitHub Actions pipelines, caching,\n  golangci-lint setup, test\u002Fcoverage gates, vulnerability scanning, build\n  matrices, and Makefile targets. Use when: \"set up CI\", \"GitHub Actions for\n  Go\", \"add lint to the pipeline\", \"CI is slow\", \"coverage gate\", \"build\n  matrix\", \"write a Makefile\", \"run govulncheck in CI\".\n  Not for: commit conventions (git-commit), choosing or auditing\n  dependencies (go-dependency-audit), writing the tests themselves\n  (go-test-quality).\nuser-invocable: true\nlicense: MIT\ncompatibility: Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain. Targets GitHub Actions.\nallowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*) Bash(golangci-lint:*) Bash(git:*)\nmetadata:\n  author: eduardo-sl\n  version: \"1.1.1\"\n---\n\n# Go CI\n\nA Go pipeline has exactly four gates: build, vet\u002Flint, test with race\ndetector, vulnerability scan. Everything else is optimization.\n\n## 1. Baseline GitHub Actions Workflow\n\n```yaml\nname: ci\non:\n  push:\n    branches: [main]\n  pull_request:\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-go@v5\n        with:\n          go-version-file: go.mod   # single source of truth\n          cache: true               # caches module + build cache\n      - run: go build .\u002F...\n      - run: go vet .\u002F...\n      - run: go test -race -shuffle=on -coverprofile=coverage.out .\u002F...\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-go@v5\n        with:\n          go-version-file: go.mod\n      - uses: golangci\u002Fgolangci-lint-action@v6\n        with:\n          version: latest\n\n  vuln:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-go@v5\n        with:\n          go-version-file: go.mod\n      - run: go run golang.org\u002Fx\u002Fvuln\u002Fcmd\u002Fgovulncheck@latest .\u002F...\n```\n\nKey decisions baked in:\n\n- `go-version-file: go.mod` — never hardcode the Go version in two places.\n- `cache: true` on setup-go handles module and build caches; do not add\n  manual `actions\u002Fcache` steps for Go on top of it.\n- `-race -shuffle=on` — races and order-dependent tests fail in CI, not\n  production.\n- `permissions: contents: read` — least privilege by default.\n- Lint in a separate job — it fails fast and parallelizes with tests.\n\n## 2. golangci-lint Configuration\n\nCommit a `.golangci.yml`; an unconfigured linter is noise:\n\n```yaml\nlinters:\n  enable:\n    - errcheck      # unchecked errors\n    - govet\n    - staticcheck\n    - errorlint     # %w misuse, == on errors\n    - gosec         # security patterns\n    - revive        # style, replaces golint\n    - misspell\nissues:\n  exclude-rules:\n    - path: _test\\.go\n      linters: [gosec]  # test code may use weak randomness etc.\n```\n\nStart from this small set and add linters deliberately. Enabling\neverything produces hundreds of findings nobody triages. `nolint`\ndirectives require a reason: `\u002F\u002Fnolint:gosec \u002F\u002F G404: jitter, not crypto`.\n\n## 3. Build Matrix — Only When You Ship It\n\n```yaml\nstrategy:\n  matrix:\n    go: ['1.23', '1.24']         # only versions you support\n    os: [ubuntu-latest, macos-latest, windows-latest]\n```\n\nLibraries: test the two newest Go versions (the Go team supports two).\nServices deployed on Linux: skip the OS matrix — it doubles cost for\nplatforms you never ship. Cross-compilation is cheaper than emulation:\n`GOOS=windows go build .\u002F...` catches most portability breaks.\n\n## 4. Coverage Gate\n\n```yaml\n- run: go test -race -coverprofile=coverage.out .\u002F...\n- name: enforce coverage floor\n  run: |\n    total=$(go tool cover -func=coverage.out | awk '\u002F^total:\u002F {sub(\u002F%\u002F,\"\",$3); print $3}')\n    echo \"coverage: ${total}%\"\n    awk -v t=\"$total\" 'BEGIN { exit (t \u003C 70.0) }'\n```\n\nGate on a floor that ratchets up, not a target that gets gamed. Exclude\ngenerated code via `\u002F\u002Fgo:generate`d files' build tags or grep filters,\nnot by lowering the floor.\n\n## 5. Makefile — Local Mirror of CI\n\nCI must run what developers run. One definition, two callers:\n\n```makefile\n.PHONY: build lint test vuln ci\n\nbuild:\n\tgo build .\u002F...\n\nlint:\n\tgolangci-lint run\n\ntest:\n\tgo test -race -shuffle=on -coverprofile=coverage.out .\u002F...\n\nvuln:\n\tgo run golang.org\u002Fx\u002Fvuln\u002Fcmd\u002Fgovulncheck@latest .\u002F...\n\nci: build lint test vuln\n```\n\nIf CI does anything `make ci` doesn't, developers discover failures\nonly after pushing. Keep them identical.\n\n## 6. Speed Rules\n\n- Split lint \u002F test \u002F vuln into parallel jobs (as in §1).\n- `go test .\u002F...` already parallelizes across packages; don't shard a\n  small repo.\n- Integration tests behind a build tag run in a separate job or on a\n  schedule, not on every push: `go test -tags=integration .\u002F...`.\n- If the build cache misses constantly, check that `go.sum` is the\n  cache key input (setup-go does this) and that jobs don't mutate it.\n\n## Verification Checklist\n\n1. Pipeline has all four gates: build, vet+lint, test -race, govulncheck\n2. Go version sourced from go.mod (`go-version-file`), not duplicated\n3. `permissions: contents: read` set at workflow level\n4. Tests run with `-race -shuffle=on`\n5. `.golangci.yml` committed with a curated linter set\n6. Every `nolint` carries a linter name and a reason\n7. Matrix limited to versions\u002Fplatforms actually supported\n8. Coverage floor enforced, generated code excluded\n9. `make ci` reproduces the pipeline locally, byte-for-byte\n10. Integration tests isolated behind tags, not slowing every push\n","# Go CI\n\nA Go pipeline has exactly four gates: build, vet\u002Flint, test with race\ndetector, vulnerability scan. Everything else is optimization.\n\n## 1. Baseline GitHub Actions Workflow\n\n```yaml\nname: ci\non:\n  push:\n    branches: [main]\n  pull_request:\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-go@v5\n        with:\n          go-version-file: go.mod   # single source of truth\n          cache: true               # caches module + build cache\n      - run: go build .\u002F...\n      - run: go vet .\u002F...\n      - run: go test -race -shuffle=on -coverprofile=coverage.out .\u002F...\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-go@v5\n        with:\n          go-version-file: go.mod\n      - uses: golangci\u002Fgolangci-lint-action@v6\n        with:\n          version: latest\n\n  vuln:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-go@v5\n        with:\n          go-version-file: go.mod\n      - run: go run golang.org\u002Fx\u002Fvuln\u002Fcmd\u002Fgovulncheck@latest .\u002F...\n```\n\nKey decisions baked in:\n\n- `go-version-file: go.mod` — never hardcode the Go version in two places.\n- `cache: true` on setup-go handles module and build caches; do not add\n  manual `actions\u002Fcache` steps for Go on top of it.\n- `-race -shuffle=on` — races and order-dependent tests fail in CI, not\n  production.\n- `permissions: contents: read` — least privilege by default.\n- Lint in a separate job — it fails fast and parallelizes with tests.\n\n## 2. golangci-lint Configuration\n\nCommit a `.golangci.yml`; an unconfigured linter is noise:\n\n```yaml\nlinters:\n  enable:\n    - errcheck      # unchecked errors\n    - govet\n    - staticcheck\n    - errorlint     # %w misuse, == on errors\n    - gosec         # security patterns\n    - revive        # style, replaces golint\n    - misspell\nissues:\n  exclude-rules:\n    - path: _test\\.go\n      linters: [gosec]  # test code may use weak randomness etc.\n```\n\nStart from this small set and add linters deliberately. Enabling\neverything produces hundreds of findings nobody triages. `nolint`\ndirectives require a reason: `\u002F\u002Fnolint:gosec \u002F\u002F G404: jitter, not crypto`.\n\n## 3. Build Matrix — Only When You Ship It\n\n```yaml\nstrategy:\n  matrix:\n    go: ['1.23', '1.24']         # only versions you support\n    os: [ubuntu-latest, macos-latest, windows-latest]\n```\n\nLibraries: test the two newest Go versions (the Go team supports two).\nServices deployed on Linux: skip the OS matrix — it doubles cost for\nplatforms you never ship. Cross-compilation is cheaper than emulation:\n`GOOS=windows go build .\u002F...` catches most portability breaks.\n\n## 4. Coverage Gate\n\n```yaml\n- run: go test -race -coverprofile=coverage.out .\u002F...\n- name: enforce coverage floor\n  run: |\n    total=$(go tool cover -func=coverage.out | awk '\u002F^total:\u002F {sub(\u002F%\u002F,\"\",$3); print $3}')\n    echo \"coverage: ${total}%\"\n    awk -v t=\"$total\" 'BEGIN { exit (t \u003C 70.0) }'\n```\n\nGate on a floor that ratchets up, not a target that gets gamed. Exclude\ngenerated code via `\u002F\u002Fgo:generate`d files' build tags or grep filters,\nnot by lowering the floor.\n\n## 5. Makefile — Local Mirror of CI\n\nCI must run what developers run. One definition, two callers:\n\n```makefile\n.PHONY: build lint test vuln ci\n\nbuild:\n\tgo build .\u002F...\n\nlint:\n\tgolangci-lint run\n\ntest:\n\tgo test -race -shuffle=on -coverprofile=coverage.out .\u002F...\n\nvuln:\n\tgo run golang.org\u002Fx\u002Fvuln\u002Fcmd\u002Fgovulncheck@latest .\u002F...\n\nci: build lint test vuln\n```\n\nIf CI does anything `make ci` doesn't, developers discover failures\nonly after pushing. Keep them identical.\n\n## 6. Speed Rules\n\n- Split lint \u002F test \u002F vuln into parallel jobs (as in §1).\n- `go test .\u002F...` already parallelizes across packages; don't shard a\n  small repo.\n- Integration tests behind a build tag run in a separate job or on a\n  schedule, not on every push: `go test -tags=integration .\u002F...`.\n- If the build cache misses constantly, check that `go.sum` is the\n  cache key input (setup-go does this) and that jobs don't mutate it.\n\n## Verification Checklist\n\n1. Pipeline has all four gates: build, vet+lint, test -race, govulncheck\n2. Go version sourced from go.mod (`go-version-file`), not duplicated\n3. `permissions: contents: read` set at workflow level\n4. Tests run with `-race -shuffle=on`\n5. `.golangci.yml` committed with a curated linter set\n6. Every `nolint` carries a linter name and a reason\n7. Matrix limited to versions\u002Fplatforms actually supported\n8. Coverage floor enforced, generated code excluded\n9. `make ci` reproduces the pipeline locally, byte-for-byte\n10. Integration tests isolated behind tags, not slowing every push\n",{"name":5,"license":15,"metadata":24,"description":27,"allowed-tools":28,"compatibility":29,"user-invocable":30},{"author":25,"version":26},"eduardo-sl","1.1.1","Continuous integration for Go projects: GitHub Actions pipelines, caching, golangci-lint setup, test\u002Fcoverage gates, vulnerability scanning, build matrices, and Makefile targets. Use when: \"set up CI\", \"GitHub Actions for Go\", \"add lint to the pipeline\", \"CI is slow\", \"coverage gate\", \"build matrix\", \"write a Makefile\", \"run govulncheck in CI\". Not for: commit conventions (git-commit), choosing or auditing dependencies (go-dependency-audit), writing the tests themselves (go-test-quality).\n","Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*) Bash(golangci-lint:*) Bash(git:*)","Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain. Targets GitHub Actions.",true,"main","19f4d52a98d557f3a645a2cfbbeb5bd54f28831d",".github\u002Fskills\u002Fgo-agent-skills\u002Fskills\u002F(workflow)\u002Fgo-ci","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi","https:\u002F\u002Fgithub.com\u002Fkongnakornna","http:\u002F\u002Fcmoniot.trueddns.com:52160","Technical Skills and Expertise\r\nLanguages and Frameworks\r\nFrontend: HTML, JavaScript, TypeScript, React, Vue, Angular, Next.js\r\nBackend: Node.js,Python,Golang","2026-10-06 23:01:46",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":30},[41,44,47],{"tool":42,"command":43},"npx","npx skills add kongnakornna\u002Fgolangapi --skill go-ci",{"tool":45,"command":46},"bunx","bunx skills add kongnakornna\u002Fgolangapi --skill go-ci",{"tool":48,"command":49},"pnpm","pnpm dlx skills add kongnakornna\u002Fgolangapi --skill go-ci","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgo-agent-skills\u002Fskills\u002F(workflow)\u002Fgo-ci\u002FSKILL.md",[],[53,61,68,75,82,89],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7A0M9RJJ3383VEFYKABWV15","tb-writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-writing-plans\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7A0M4JKY4DEDRP1CBHT00WV","tb-using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-using-git-worktrees\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7A0KZ5HRAQAAT2KXR6146Q7","tb-test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-test-driven-development\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7A0KW92W3F18E2MRP8H62P2","tb-subagent-driven-development","Use when executing implementation plans with independent tasks in the current session","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-subagent-driven-development\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7A0KKYQCHYYRHA5J5BAP24M","tb-scrutinize","Outsider-perspective end-to-end review of a plan, PR, or code change. First questions intent and whether a simpler\u002Fmore elegant approach would achieve the same goal, then traces the actual code path (not just the diff) to verify the change does what it claims. Output is concise, actionable, and every call carries its rationale. Trigger on \u002Ftb-scrutinize and proactively whenever the user asks to review, audit, sanity-check, or get a second opinion on a plan, PR, diff, design doc, or proposed code change.","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-scrutinize\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7A0KFDR1V3RW7SW1XNHP82P","tb-requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftb-requesting-code-review\u002FSKILL.md",[],[]]