[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79Z9HM6DDP0847KPDQDR3TJ":3,"skill-same:01M79Z9HM6DDP0847KPDQDR3TJ":62},{"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},"01M79Z9HM6DDP0847KPDQDR3TJ","go-modernize",null,"Modernize Go code to use current language features and standard library additions. Covers generics, log\u002Fslog, errors.Join, slices\u002Fmaps packages, range-over-func, and iterators introduced in Go 1.21-1.23+. Use when: \"modernize\", \"update to modern Go\", \"use generics\", \"replace interface{}\", \"upgrade Go version\", \"slog\", \"errors.Join\", \"range over func\", \"iterators\". Not for: general style (go-coding-standards), error philosophy (go-error-handling), logging architecture (go-observability).","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(code-quality)\u002Fgo-modernize\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: go-modernize\ndescription: >\n  Modernize Go code to use current language features and standard library\n  additions. Covers generics, log\u002Fslog, errors.Join, slices\u002Fmaps packages,\n  range-over-func, and iterators introduced in Go 1.21-1.23+. Use when:\n  \"modernize\", \"update to modern Go\", \"use generics\", \"replace interface{}\",\n  \"upgrade Go version\", \"slog\", \"errors.Join\", \"range over func\",\n  \"iterators\".\n  Not for: general style (go-coding-standards), error philosophy\n  (go-error-handling), logging architecture (go-observability).\nuser-invocable: true\nlicense: MIT\ncompatibility: Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain. gopls is optional, for the modernize analyzer.\nallowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*) Bash(golangci-lint:*) Bash(gopls:*)\nmetadata:\n  author: eduardo-sl\n  version: \"1.4.1\"\n---\n\n# Go Modernize\n\nGo evolves. Code written for Go 1.16 should not look the same as code targeting\nGo 1.25+. Modernize incrementally — update `go.mod`, then adopt new patterns.\n\nNever adopt a feature above the `go` directive in `go.mod`. Raise the\ndirective deliberately, in its own commit, and only to a version the project's\nCI and deployment images actually run.\n\nDetailed reference material, loaded on demand:\n\n- `references\u002Fgenerics.md` — replacing `interface{}` with type parameters,\n  constraints, generic containers, when NOT to use generics.\n- `references\u002Fstdlib-migrations.md` — before\u002Fafter examples for slog,\n  errors.Join, slices\u002Fmaps helpers, range-over-int, and iterators.\n\nRead a reference file only when the summary below is not enough.\n\n## Modernization Procedure\n\n1. Check the `go` directive in `go.mod` — it caps which features you can use.\n2. Run the official modernizers first — they find and fix the mechanical\n   migrations automatically:\n\n   ```bash\n   # Go 1.26+ — the modernizers now live in go fix\n   go fix .\u002F...\n\n   # Go 1.25 and earlier\n   go run golang.org\u002Fx\u002Ftools\u002Fgopls\u002Finternal\u002Fanalysis\u002Fmodernize\u002Fcmd\u002Fmodernize@latest -fix -test .\u002F...\n   ```\n\n   Both rewrite source in place. Commit before running, and review the diff.\n   If neither command is available, apply the table below manually.\n3. Scan the table below for the judgment-based migrations the analyzer\n   does not cover (generics, iterators, logger replacement) and apply\n   them case by case.\n4. Run `go build .\u002F...` and the test suite after each group of changes.\n\n## Feature Table by Go Version\n\n| Go Version | Feature | Action |\n|---|---|---|\n| 1.13+ | `errors.Is`, `errors.As` | Replace `==` error comparisons |\n| 1.13+ | `http.NewRequestWithContext` | Replace `http.NewRequest` |\n| 1.16+ | `embed` | Replace `go-bindata` \u002F `packr` |\n| 1.18+ | Generics | Replace `interface{}` utility functions |\n| 1.20+ | `errors.Join` | Replace manual error accumulation |\n| 1.21+ | `log\u002Fslog` | Replace `log` for structured logging |\n| 1.21+ | `slices`, `maps` | Replace hand-written slice\u002Fmap utilities |\n| 1.21+ | `min`, `max` builtins | Replace `math.Min`\u002F`math.Max` (float64-only) |\n| 1.22+ | Range over int | Replace `for i := 0; i \u003C n; i++` |\n| 1.23+ | Range over func | Replace callback-based iteration |\n| 1.23+ | `unique.Make` | Replace hand-rolled string interning |\n| 1.24+ | `for b.Loop()` | Replace `for range b.N` in benchmarks |\n| 1.24+ | `t.Context()` | Replace `context.Background()` in tests |\n| 1.24+ | `os.Root` | Replace manual path-traversal checks |\n| 1.24+ | `go.mod` tool directive | Replace the `tools.go` blank-import file |\n| 1.24+ | `runtime.AddCleanup` | Replace `runtime.SetFinalizer` |\n| 1.25+ | `testing\u002Fsynctest` | Replace `time.Sleep` in concurrency tests |\n| 1.25+ | `sync.WaitGroup.Go` | Replace `wg.Add(1)` + `go func(){defer wg.Done()}` |\n| 1.26+ | `errors.AsType` | Replace `errors.As` with a declared target variable |\n| 1.26+ | `slog.NewMultiHandler` | Replace hand-written fan-out handlers |\n| 1.26+ | `new(expr)` | Replace a temp variable taken by address |\n\n## Key Migrations at a Glance\n\n### Generics — type-safe utilities (Go 1.18+)\n\n```go\n\u002F\u002F ❌ Before — loses type safety\nfunc Contains(slice []interface{}, target interface{}) bool { \u002F* ... *\u002F }\n\n\u002F\u002F ✅ After — type-safe generic\nfunc Contains[T comparable](slice []T, target T) bool { \u002F* ... *\u002F }\n```\n\nUse generics for container types (`Set[T]`, `Result[T]`) and utility\nfunctions. Do NOT use them where a single concrete type works, or as a\nsubstitute for interfaces in runtime polymorphism.\nDetails and constraint patterns: `references\u002Fgenerics.md`.\n\n### Structured logging (Go 1.21+)\n\n```go\n\u002F\u002F ❌ Before\nlog.Printf(\"processing order %s for user %s\", orderID, userID)\n\n\u002F\u002F ✅ After\nslog.Info(\"processing order\",\n    slog.String(\"order_id\", orderID),\n    slog.String(\"user_id\", userID),\n)\n```\n\nKeep zap\u002Fzerolog only if you need their performance for high-throughput\nlogging; for most services slog is sufficient.\n\n### errors.Join (Go 1.20+)\n\n```go\nvar errs []error\nfor _, item := range items {\n    if err := validate(item); err != nil {\n        errs = append(errs, err)\n    }\n}\nif err := errors.Join(errs...); err != nil {\n    return fmt.Errorf(\"validation: %w\", err)\n}\n```\n\n`errors.Join` preserves the chain — `errors.Is`\u002F`errors.As` work on each\njoined error. Never accumulate error strings manually.\n\n### slices and maps helpers (Go 1.21+)\n\n```go\nfound := slices.Contains(items, target)          \u002F\u002F not a manual loop\nslices.SortFunc(users, func(a, b User) int {     \u002F\u002F not sort.Slice\n    return cmp.Compare(a.Name, b.Name)\n})\nkeys := slices.Collect(maps.Keys(m))             \u002F\u002F not a manual key loop\nclone := maps.Clone(m)                           \u002F\u002F not a manual copy loop\n```\n\n### Range over int (Go 1.22+) and iterators (Go 1.23+)\n\n```go\nfor i := range n { process(i) }                  \u002F\u002F not for i := 0; i \u003C n; i++\n\nfor i, v := range slices.Backward(items) {       \u002F\u002F stdlib iterators\n    fmt.Printf(\"%d: %v\\n\", i, v)\n}\n```\n\nCustom `iter.Seq`\u002F`iter.Seq2` iterators replace callback-based iteration —\nfull worked example in `references\u002Fstdlib-migrations.md`.\n\n### Context-aware HTTP requests (Go 1.13+, often missed)\n\n```go\n\u002F\u002F ❌ Before — request without context\nreq, err := http.NewRequest(http.MethodGet, url, nil)\n\n\u002F\u002F ✅ After — context propagated\nreq, err := http.NewRequestWithContext(ctx, http.MethodGet, url, nil)\n```\n\n### Concurrency and tests (Go 1.24-1.25)\n\n```go\n\u002F\u002F ❌ Before\nvar wg sync.WaitGroup\nfor _, job := range jobs {\n    wg.Add(1)\n    go func() {\n        defer wg.Done()\n        process(job)\n    }()\n}\nwg.Wait()\n\n\u002F\u002F ✅ After — Go 1.25\nvar wg sync.WaitGroup\nfor _, job := range jobs {\n    wg.Go(func() { process(job) })\n}\nwg.Wait()\n```\n\n`wg.Go` cannot be called after `wg.Wait` returns, which removes the classic\n\"Add after Wait\" race that the `waitgroup` vet analyzer (Go 1.25+) reports.\n\nIn tests, `context.Background()` becomes `t.Context()`, `for range b.N`\nbecomes `for b.Loop()`, and `time.Sleep`-based concurrency tests become\n`synctest.Test`. → See the go-test-quality skill.\n\n### Error inspection (Go 1.26)\n\n```go\n\u002F\u002F ❌ Before — needs a declared target, and the pointer indirection is easy to get wrong\nvar pathErr *fs.PathError\nif errors.As(err, &pathErr) {\n    log.Println(pathErr.Path)\n}\n\n\u002F\u002F ✅ After — Go 1.26\nif pathErr, ok := errors.AsType[*fs.PathError](err); ok {\n    log.Println(pathErr.Path)\n}\n```\n\n`errors.Is` is unchanged. Only the `As` form gains a generic alternative.\n\n### Value interning and cleanup (Go 1.23-1.24)\n\n```go\n\u002F\u002F ✅ unique.Make deduplicates repeated values; Value() returns the canonical copy\nh := unique.Make(hostname)          \u002F\u002F unique.Handle[string], comparable, cheap\nstore[h] = conn                     \u002F\u002F one string kept in memory, not one per entry\n\n\u002F\u002F ✅ AddCleanup replaces SetFinalizer: multiple cleanups, no resurrection,\n\u002F\u002F    and it works on objects that are part of a cycle\nruntime.AddCleanup(obj, func(fd int) { syscall.Close(fd) }, obj.fd)\n```\n\nReach for `unique` only where profiling shows duplicate values dominating the\nheap — a config parser reading millions of rows, not a request handler.\n\n## Verification Checklist\n\n1. `go.mod` version matches the features used in the codebase\n2. No `interface{}` where `any` or type parameters would be clearer\n3. `log\u002Fslog` used instead of `log.Printf` for structured logging\n4. `errors.Join` used instead of manual error string concatenation\n5. `slices.Contains`, `slices.SortFunc`, `maps.Clone` replace hand-written loops\n6. Range over int (`for i := range n`) used where applicable\n7. `http.NewRequestWithContext` used instead of `http.NewRequest`\n8. No `sort.Slice` — use `slices.SortFunc` with `cmp.Compare`\n9. Generics used for type-safe containers and utilities, not overused for trivial cases\n10. Third-party dependencies evaluated against stdlib alternatives added in recent Go versions\n11. `sync.WaitGroup.Go` used instead of manual `Add`\u002F`Done` pairs (Go 1.25+)\n12. Tests use `t.Context()` and `for b.Loop()` (Go 1.24+)\n13. `tools.go` replaced by the `go.mod` tool directive (Go 1.24+)\n","# Go Modernize\n\nGo evolves. Code written for Go 1.16 should not look the same as code targeting\nGo 1.25+. Modernize incrementally — update `go.mod`, then adopt new patterns.\n\nNever adopt a feature above the `go` directive in `go.mod`. Raise the\ndirective deliberately, in its own commit, and only to a version the project's\nCI and deployment images actually run.\n\nDetailed reference material, loaded on demand:\n\n- `references\u002Fgenerics.md` — replacing `interface{}` with type parameters,\n  constraints, generic containers, when NOT to use generics.\n- `references\u002Fstdlib-migrations.md` — before\u002Fafter examples for slog,\n  errors.Join, slices\u002Fmaps helpers, range-over-int, and iterators.\n\nRead a reference file only when the summary below is not enough.\n\n## Modernization Procedure\n\n1. Check the `go` directive in `go.mod` — it caps which features you can use.\n2. Run the official modernizers first — they find and fix the mechanical\n   migrations automatically:\n\n   ```bash\n   # Go 1.26+ — the modernizers now live in go fix\n   go fix .\u002F...\n\n   # Go 1.25 and earlier\n   go run golang.org\u002Fx\u002Ftools\u002Fgopls\u002Finternal\u002Fanalysis\u002Fmodernize\u002Fcmd\u002Fmodernize@latest -fix -test .\u002F...\n   ```\n\n   Both rewrite source in place. Commit before running, and review the diff.\n   If neither command is available, apply the table below manually.\n3. Scan the table below for the judgment-based migrations the analyzer\n   does not cover (generics, iterators, logger replacement) and apply\n   them case by case.\n4. Run `go build .\u002F...` and the test suite after each group of changes.\n\n## Feature Table by Go Version\n\n| Go Version | Feature | Action |\n|---|---|---|\n| 1.13+ | `errors.Is`, `errors.As` | Replace `==` error comparisons |\n| 1.13+ | `http.NewRequestWithContext` | Replace `http.NewRequest` |\n| 1.16+ | `embed` | Replace `go-bindata` \u002F `packr` |\n| 1.18+ | Generics | Replace `interface{}` utility functions |\n| 1.20+ | `errors.Join` | Replace manual error accumulation |\n| 1.21+ | `log\u002Fslog` | Replace `log` for structured logging |\n| 1.21+ | `slices`, `maps` | Replace hand-written slice\u002Fmap utilities |\n| 1.21+ | `min`, `max` builtins | Replace `math.Min`\u002F`math.Max` (float64-only) |\n| 1.22+ | Range over int | Replace `for i := 0; i \u003C n; i++` |\n| 1.23+ | Range over func | Replace callback-based iteration |\n| 1.23+ | `unique.Make` | Replace hand-rolled string interning |\n| 1.24+ | `for b.Loop()` | Replace `for range b.N` in benchmarks |\n| 1.24+ | `t.Context()` | Replace `context.Background()` in tests |\n| 1.24+ | `os.Root` | Replace manual path-traversal checks |\n| 1.24+ | `go.mod` tool directive | Replace the `tools.go` blank-import file |\n| 1.24+ | `runtime.AddCleanup` | Replace `runtime.SetFinalizer` |\n| 1.25+ | `testing\u002Fsynctest` | Replace `time.Sleep` in concurrency tests |\n| 1.25+ | `sync.WaitGroup.Go` | Replace `wg.Add(1)` + `go func(){defer wg.Done()}` |\n| 1.26+ | `errors.AsType` | Replace `errors.As` with a declared target variable |\n| 1.26+ | `slog.NewMultiHandler` | Replace hand-written fan-out handlers |\n| 1.26+ | `new(expr)` | Replace a temp variable taken by address |\n\n## Key Migrations at a Glance\n\n### Generics — type-safe utilities (Go 1.18+)\n\n```go\n\u002F\u002F ❌ Before — loses type safety\nfunc Contains(slice []interface{}, target interface{}) bool { \u002F* ... *\u002F }\n\n\u002F\u002F ✅ After — type-safe generic\nfunc Contains[T comparable](slice []T, target T) bool { \u002F* ... *\u002F }\n```\n\nUse generics for container types (`Set[T]`, `Result[T]`) and utility\nfunctions. Do NOT use them where a single concrete type works, or as a\nsubstitute for interfaces in runtime polymorphism.\nDetails and constraint patterns: `references\u002Fgenerics.md`.\n\n### Structured logging (Go 1.21+)\n\n```go\n\u002F\u002F ❌ Before\nlog.Printf(\"processing order %s for user %s\", orderID, userID)\n\n\u002F\u002F ✅ After\nslog.Info(\"processing order\",\n    slog.String(\"order_id\", orderID),\n    slog.String(\"user_id\", userID),\n)\n```\n\nKeep zap\u002Fzerolog only if you need their performance for high-throughput\nlogging; for most services slog is sufficient.\n\n### errors.Join (Go 1.20+)\n\n```go\nvar errs []error\nfor _, item := range items {\n    if err := validate(item); err != nil {\n        errs = append(errs, err)\n    }\n}\nif err := errors.Join(errs...); err != nil {\n    return fmt.Errorf(\"validation: %w\", err)\n}\n```\n\n`errors.Join` preserves the chain — `errors.Is`\u002F`errors.As` work on each\njoined error. Never accumulate error strings manually.\n\n### slices and maps helpers (Go 1.21+)\n\n```go\nfound := slices.Contains(items, target)          \u002F\u002F not a manual loop\nslices.SortFunc(users, func(a, b User) int {     \u002F\u002F not sort.Slice\n    return cmp.Compare(a.Name, b.Name)\n})\nkeys := slices.Collect(maps.Keys(m))             \u002F\u002F not a manual key loop\nclone := maps.Clone(m)                           \u002F\u002F not a manual copy loop\n```\n\n### Range over int (Go 1.22+) and iterators (Go 1.23+)\n\n```go\nfor i := range n { process(i) }                  \u002F\u002F not for i := 0; i \u003C n; i++\n\nfor i, v := range slices.Backward(items) {       \u002F\u002F stdlib iterators\n    fmt.Printf(\"%d: %v\\n\", i, v)\n}\n```\n\nCustom `iter.Seq`\u002F`iter.Seq2` iterators replace callback-based iteration —\nfull worked example in `references\u002Fstdlib-migrations.md`.\n\n### Context-aware HTTP requests (Go 1.13+, often missed)\n\n```go\n\u002F\u002F ❌ Before — request without context\nreq, err := http.NewRequest(http.MethodGet, url, nil)\n\n\u002F\u002F ✅ After — context propagated\nreq, err := http.NewRequestWithContext(ctx, http.MethodGet, url, nil)\n```\n\n### Concurrency and tests (Go 1.24-1.25)\n\n```go\n\u002F\u002F ❌ Before\nvar wg sync.WaitGroup\nfor _, job := range jobs {\n    wg.Add(1)\n    go func() {\n        defer wg.Done()\n        process(job)\n    }()\n}\nwg.Wait()\n\n\u002F\u002F ✅ After — Go 1.25\nvar wg sync.WaitGroup\nfor _, job := range jobs {\n    wg.Go(func() { process(job) })\n}\nwg.Wait()\n```\n\n`wg.Go` cannot be called after `wg.Wait` returns, which removes the classic\n\"Add after Wait\" race that the `waitgroup` vet analyzer (Go 1.25+) reports.\n\nIn tests, `context.Background()` becomes `t.Context()`, `for range b.N`\nbecomes `for b.Loop()`, and `time.Sleep`-based concurrency tests become\n`synctest.Test`. → See the go-test-quality skill.\n\n### Error inspection (Go 1.26)\n\n```go\n\u002F\u002F ❌ Before — needs a declared target, and the pointer indirection is easy to get wrong\nvar pathErr *fs.PathError\nif errors.As(err, &pathErr) {\n    log.Println(pathErr.Path)\n}\n\n\u002F\u002F ✅ After — Go 1.26\nif pathErr, ok := errors.AsType[*fs.PathError](err); ok {\n    log.Println(pathErr.Path)\n}\n```\n\n`errors.Is` is unchanged. Only the `As` form gains a generic alternative.\n\n### Value interning and cleanup (Go 1.23-1.24)\n\n```go\n\u002F\u002F ✅ unique.Make deduplicates repeated values; Value() returns the canonical copy\nh := unique.Make(hostname)          \u002F\u002F unique.Handle[string], comparable, cheap\nstore[h] = conn                     \u002F\u002F one string kept in memory, not one per entry\n\n\u002F\u002F ✅ AddCleanup replaces SetFinalizer: multiple cleanups, no resurrection,\n\u002F\u002F    and it works on objects that are part of a cycle\nruntime.AddCleanup(obj, func(fd int) { syscall.Close(fd) }, obj.fd)\n```\n\nReach for `unique` only where profiling shows duplicate values dominating the\nheap — a config parser reading millions of rows, not a request handler.\n\n## Verification Checklist\n\n1. `go.mod` version matches the features used in the codebase\n2. No `interface{}` where `any` or type parameters would be clearer\n3. `log\u002Fslog` used instead of `log.Printf` for structured logging\n4. `errors.Join` used instead of manual error string concatenation\n5. `slices.Contains`, `slices.SortFunc`, `maps.Clone` replace hand-written loops\n6. Range over int (`for i := range n`) used where applicable\n7. `http.NewRequestWithContext` used instead of `http.NewRequest`\n8. No `sort.Slice` — use `slices.SortFunc` with `cmp.Compare`\n9. Generics used for type-safe containers and utilities, not overused for trivial cases\n10. Third-party dependencies evaluated against stdlib alternatives added in recent Go versions\n11. `sync.WaitGroup.Go` used instead of manual `Add`\u002F`Done` pairs (Go 1.25+)\n12. Tests use `t.Context()` and `for b.Loop()` (Go 1.24+)\n13. `tools.go` replaced by the `go.mod` tool directive (Go 1.24+)\n",{"name":5,"license":15,"metadata":24,"description":27,"allowed-tools":28,"compatibility":29,"user-invocable":30},{"author":25,"version":26},"eduardo-sl","1.4.1","Modernize Go code to use current language features and standard library additions. Covers generics, log\u002Fslog, errors.Join, slices\u002Fmaps packages, range-over-func, and iterators introduced in Go 1.21-1.23+. Use when: \"modernize\", \"update to modern Go\", \"use generics\", \"replace interface{}\", \"upgrade Go version\", \"slog\", \"errors.Join\", \"range over func\", \"iterators\". Not for: general style (go-coding-standards), error philosophy (go-error-handling), logging architecture (go-observability).\n","Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*) Bash(golangci-lint:*) Bash(gopls:*)","Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain. gopls is optional, for the modernize analyzer.",true,"main","19f4d52a98d557f3a645a2cfbbeb5bd54f28831d",".github\u002Fskills\u002Fgo-agent-skills\u002Fskills\u002F(code-quality)\u002Fgo-modernize","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-modernize",{"tool":45,"command":46},"bunx","bunx skills add kongnakornna\u002Fgolangapi --skill go-modernize",{"tool":48,"command":49},"pnpm","pnpm dlx skills add kongnakornna\u002Fgolangapi --skill go-modernize","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgo-agent-skills\u002Fskills\u002F(code-quality)\u002Fgo-modernize\u002FSKILL.md",[52,58],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fgenerics.md","REFERENCE","参考文档",2181,"https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgo-agent-skills\u002Fskills\u002F(code-quality)\u002Fgo-modernize\u002Freferences\u002Fgenerics.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fstdlib-migrations.md",6600,"https:\u002F\u002Fgithub.com\u002Fkongnakornna\u002Fgolangapi\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgo-agent-skills\u002Fskills\u002F(code-quality)\u002Fgo-modernize\u002Freferences\u002Fstdlib-migrations.md",[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"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":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"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":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"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":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"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":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"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":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"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",[],[]]