[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D37XW7ZHBHGM2HTMBDFRKV":3,"skill-same:01M7D37XW7ZHBHGM2HTMBDFRKV":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":13,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M7D37XW7ZHBHGM2HTMBDFRKV","golang-pro",null,"Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming, microservices architecture, or high-performance systems. Invoke for goroutines, channels, Go generics, gRPC integration, CLI tools, benchmarks, or table-driven testing.","daBOB\u002Fxstream-tui","daBOB","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3604865?v=4","01M7D37VQ400BPF98PQE3V9VVG","01M7D37VR7KK1S9F3T9K7B1PG4",0,"MIT","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgolang-pro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: golang-pro\ndescription: Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming, microservices architecture, or high-performance systems. Invoke for goroutines, channels, Go generics, gRPC integration, CLI tools, benchmarks, or table-driven testing.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: language\n  triggers: Go, Golang, goroutines, channels, gRPC, microservices Go, Go generics, concurrent programming, Go interfaces\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: devops-engineer, microservices-architect, test-master\n---\n\n# Golang Pro\n\nSenior Go developer with deep expertise in Go 1.21+, concurrent programming, and cloud-native microservices. Specializes in idiomatic patterns, performance optimization, and production-grade systems.\n\n## Core Workflow\n\n1. **Analyze architecture** — Review module structure, interfaces, and concurrency patterns\n2. **Design interfaces** — Create small, focused interfaces with composition\n3. **Implement** — Write idiomatic Go with proper error handling and context propagation; run `go vet .\u002F...` before proceeding\n4. **Lint & validate** — Run `golangci-lint run` and fix all reported issues before proceeding\n5. **Optimize** — Profile with pprof, write benchmarks, eliminate allocations\n6. **Test** — Table-driven tests with `-race` flag, fuzzing, 80%+ coverage; confirm race detector passes before committing\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Concurrency | `references\u002Fconcurrency.md` | Goroutines, channels, select, sync primitives |\n| Interfaces | `references\u002Finterfaces.md` | Interface design, io.Reader\u002FWriter, composition |\n| Generics | `references\u002Fgenerics.md` | Type parameters, constraints, generic patterns |\n| Testing | `references\u002Ftesting.md` | Table-driven tests, benchmarks, fuzzing |\n| Project Structure | `references\u002Fproject-structure.md` | Module layout, internal packages, go.mod |\n\n## Core Pattern Example\n\nGoroutine with proper context cancellation and error propagation:\n\n```go\n\u002F\u002F worker runs until ctx is cancelled or an error occurs.\n\u002F\u002F Errors are returned via the errCh channel; the caller must drain it.\nfunc worker(ctx context.Context, jobs \u003C-chan Job, errCh chan\u003C- error) {\n    for {\n        select {\n        case \u003C-ctx.Done():\n            errCh \u003C- fmt.Errorf(\"worker cancelled: %w\", ctx.Err())\n            return\n        case job, ok := \u003C-jobs:\n            if !ok {\n                return \u002F\u002F jobs channel closed; clean exit\n            }\n            if err := process(ctx, job); err != nil {\n                errCh \u003C- fmt.Errorf(\"process job %v: %w\", job.ID, err)\n                return\n            }\n        }\n    }\n}\n\nfunc runPipeline(ctx context.Context, jobs []Job) error {\n    ctx, cancel := context.WithTimeout(ctx, 30*time.Second)\n    defer cancel()\n\n    jobCh := make(chan Job, len(jobs))\n    errCh := make(chan error, 1)\n\n    go worker(ctx, jobCh, errCh)\n\n    for _, j := range jobs {\n        jobCh \u003C- j\n    }\n    close(jobCh)\n\n    select {\n    case err := \u003C-errCh:\n        return err\n    case \u003C-ctx.Done():\n        return fmt.Errorf(\"pipeline timed out: %w\", ctx.Err())\n    }\n}\n```\n\nKey properties demonstrated: bounded goroutine lifetime via `ctx`, error propagation with `%w`, no goroutine leak on cancellation.\n\n## Constraints\n\n### MUST DO\n- Use gofmt and golangci-lint on all code\n- Add context.Context to all blocking operations\n- Handle all errors explicitly (no naked returns)\n- Write table-driven tests with subtests\n- Document all exported functions, types, and packages\n- Use `X | Y` union constraints for generics (Go 1.18+)\n- Propagate errors with fmt.Errorf(\"%w\", err)\n- Run race detector on tests (-race flag)\n\n### MUST NOT DO\n- Ignore errors (avoid _ assignment without justification)\n- Use panic for normal error handling\n- Create goroutines without clear lifecycle management\n- Skip context cancellation handling\n- Use reflection without performance justification\n- Mix sync and async patterns carelessly\n- Hardcode configuration (use functional options or env vars)\n\n## Output Templates\n\nWhen implementing Go features, provide:\n1. Interface definitions (contracts first)\n2. Implementation files with proper package structure\n3. Test file with table-driven tests\n4. Brief explanation of concurrency patterns used\n\n## Knowledge Reference\n\nGo 1.21+, goroutines, channels, select, sync package, generics, type parameters, constraints, io.Reader\u002FWriter, gRPC, context, error wrapping, pprof profiling, benchmarks, table-driven tests, fuzzing, go.mod, internal packages, functional options\n","# Golang Pro\n\nSenior Go developer with deep expertise in Go 1.21+, concurrent programming, and cloud-native microservices. Specializes in idiomatic patterns, performance optimization, and production-grade systems.\n\n## Core Workflow\n\n1. **Analyze architecture** — Review module structure, interfaces, and concurrency patterns\n2. **Design interfaces** — Create small, focused interfaces with composition\n3. **Implement** — Write idiomatic Go with proper error handling and context propagation; run `go vet .\u002F...` before proceeding\n4. **Lint & validate** — Run `golangci-lint run` and fix all reported issues before proceeding\n5. **Optimize** — Profile with pprof, write benchmarks, eliminate allocations\n6. **Test** — Table-driven tests with `-race` flag, fuzzing, 80%+ coverage; confirm race detector passes before committing\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Concurrency | `references\u002Fconcurrency.md` | Goroutines, channels, select, sync primitives |\n| Interfaces | `references\u002Finterfaces.md` | Interface design, io.Reader\u002FWriter, composition |\n| Generics | `references\u002Fgenerics.md` | Type parameters, constraints, generic patterns |\n| Testing | `references\u002Ftesting.md` | Table-driven tests, benchmarks, fuzzing |\n| Project Structure | `references\u002Fproject-structure.md` | Module layout, internal packages, go.mod |\n\n## Core Pattern Example\n\nGoroutine with proper context cancellation and error propagation:\n\n```go\n\u002F\u002F worker runs until ctx is cancelled or an error occurs.\n\u002F\u002F Errors are returned via the errCh channel; the caller must drain it.\nfunc worker(ctx context.Context, jobs \u003C-chan Job, errCh chan\u003C- error) {\n    for {\n        select {\n        case \u003C-ctx.Done():\n            errCh \u003C- fmt.Errorf(\"worker cancelled: %w\", ctx.Err())\n            return\n        case job, ok := \u003C-jobs:\n            if !ok {\n                return \u002F\u002F jobs channel closed; clean exit\n            }\n            if err := process(ctx, job); err != nil {\n                errCh \u003C- fmt.Errorf(\"process job %v: %w\", job.ID, err)\n                return\n            }\n        }\n    }\n}\n\nfunc runPipeline(ctx context.Context, jobs []Job) error {\n    ctx, cancel := context.WithTimeout(ctx, 30*time.Second)\n    defer cancel()\n\n    jobCh := make(chan Job, len(jobs))\n    errCh := make(chan error, 1)\n\n    go worker(ctx, jobCh, errCh)\n\n    for _, j := range jobs {\n        jobCh \u003C- j\n    }\n    close(jobCh)\n\n    select {\n    case err := \u003C-errCh:\n        return err\n    case \u003C-ctx.Done():\n        return fmt.Errorf(\"pipeline timed out: %w\", ctx.Err())\n    }\n}\n```\n\nKey properties demonstrated: bounded goroutine lifetime via `ctx`, error propagation with `%w`, no goroutine leak on cancellation.\n\n## Constraints\n\n### MUST DO\n- Use gofmt and golangci-lint on all code\n- Add context.Context to all blocking operations\n- Handle all errors explicitly (no naked returns)\n- Write table-driven tests with subtests\n- Document all exported functions, types, and packages\n- Use `X | Y` union constraints for generics (Go 1.18+)\n- Propagate errors with fmt.Errorf(\"%w\", err)\n- Run race detector on tests (-race flag)\n\n### MUST NOT DO\n- Ignore errors (avoid _ assignment without justification)\n- Use panic for normal error handling\n- Create goroutines without clear lifecycle management\n- Skip context cancellation handling\n- Use reflection without performance justification\n- Mix sync and async patterns carelessly\n- Hardcode configuration (use functional options or env vars)\n\n## Output Templates\n\nWhen implementing Go features, provide:\n1. Interface definitions (contracts first)\n2. Implementation files with proper package structure\n3. Test file with table-driven tests\n4. Brief explanation of concurrency patterns used\n\n## Knowledge Reference\n\nGo 1.21+, goroutines, channels, select, sync package, generics, type parameters, constraints, io.Reader\u002FWriter, gRPC, context, error wrapping, pprof profiling, benchmarks, table-driven tests, fuzzing, go.mod, internal packages, functional options\n",{"name":5,"license":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":26,"domain":27,"version":28,"triggers":29,"output-format":30,"related-skills":31},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","language","1.1.0","Go, Golang, goroutines, channels, gRPC, microservices Go, Go generics, concurrent programming, Go interfaces","code","devops-engineer, microservices-architect, test-master","main","fa0edc3fef54652104927ec6fae6cc7b0439e1d5",".agent\u002Fskills\u002Fgolang-pro","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui","https:\u002F\u002Fgithub.com\u002FdaBOB","2026-09-20 06:37:36",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add daBOB\u002Fxstream-tui --skill golang-pro",{"tool":44,"command":45},"bunx","bunx skills add daBOB\u002Fxstream-tui --skill golang-pro",{"tool":47,"command":48},"pnpm","pnpm dlx skills add daBOB\u002Fxstream-tui --skill golang-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgolang-pro\u002FSKILL.md",true,[52,58,62,66,70],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fconcurrency.md","REFERENCE","参考文档",6523,"https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgolang-pro\u002Freferences\u002Fconcurrency.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fgenerics.md",8606,"https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgolang-pro\u002Freferences\u002Fgenerics.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Finterfaces.md",8361,"https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgolang-pro\u002Freferences\u002Finterfaces.md",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fproject-structure.md",10430,"https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgolang-pro\u002Freferences\u002Fproject-structure.md",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Ftesting.md",9461,"https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgolang-pro\u002Freferences\u002Ftesting.md",[75,83,90,98,105,113],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7D3S0CCT4YJ9PB01JRC3DA8","ck:web-testing","Web testing with Playwright, Vitest, k6. E2E\u002Funit\u002Fintegration\u002Fload\u002Fsecurity\u002Fvisual\u002Fa11y testing. Use for test automation, flakiness, Core Web Vitals, mobile gestures, cross-browser.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-testing\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7D3RVZV1QAX69DN3D4N3SD0","ck:web-frameworks","Build with Next.js (App Router, RSC, SSR, ISR), Turborepo monorepos. Use for React apps, server rendering, build optimization, caching strategies, shared dependencies.","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-frameworks\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M7D3R68HDT6SHHPBDETSE4CP","ck:ui-styling","Style UIs with shadcn\u002Fui components (Radix UI + Tailwind CSS). Use for accessible components, themes, dark mode, responsive layouts, design systems, color customization.","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M7D3R09NF8Y68JBX13KDCT2S","ck:threejs","Build 3D web apps with Three.js (WebGL\u002FWebGPU). 556 searchable examples, 60 API classes, 20 use cases. Actions: create 3D scene, load model, add animation, implement physics, build VR\u002FXR. Topics: GLTF loader, PBR materials, particle effects, shadows, post-processing, compute shaders, TSL. Integrations: WebGPU, physics engines, spatial audio.","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fthreejs\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":79,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":18},"01M7D3QDE4XTWWM19VBP0MKHND","ck:skill-creator","Create or update Claude skills optimized for Skillmark benchmarks. Use for new skills, skill scripts, references, benchmark optimization, extending Claude's capabilities.","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":18},"01M7D3PZ98H95RR28QQ565YB3K","ck:sequential-thinking","Apply step-by-step analysis for complex problems with revision capability. Use for multi-step reasoning, hypothesis verification, adaptive planning, problem decomposition, course correction.","https:\u002F\u002Fgithub.com\u002FdaBOB\u002Fxstream-tui\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fsequential-thinking\u002FSKILL.md",[],[]]