[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EAPNYXH75YR9F9GS8PYF5Q":3,"skill-same:01M7EAPNYXH75YR9F9GS8PYF5Q":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},"01M7EAPNYXH75YR9F9GS8PYF5Q","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.","infinityplatformhub\u002Fopencode-gen","infinityplatformhub","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F254854803?v=4","01M7EAN7RB68HJBYF1V0TEYCE1","01M7EAN7SDY3K98M6J16DQNQ5Y",0,"MIT","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\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","master","630f92e7d70ca0702a45824c77b5ea1ec042fa81","skills-library\u002F_cache\u002Fgolang-pro","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub","2026-10-09 11:55:04",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add infinityplatformhub\u002Fopencode-gen --skill golang-pro",{"tool":44,"command":45},"bunx","bunx skills add infinityplatformhub\u002Fopencode-gen --skill golang-pro",{"tool":47,"command":48},"pnpm","pnpm dlx skills add infinityplatformhub\u002Fopencode-gen --skill golang-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\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\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fgolang-pro\u002Freferences\u002Fconcurrency.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fgenerics.md",8606,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fgolang-pro\u002Freferences\u002Fgenerics.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Finterfaces.md",8361,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fgolang-pro\u002Freferences\u002Finterfaces.md",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fproject-structure.md",10430,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fgolang-pro\u002Freferences\u002Fproject-structure.md",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Ftesting.md",9461,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fgolang-pro\u002Freferences\u002Ftesting.md",[75,82,91,98,105,112],{"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":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7EARBNC37P86X4Y8MBDM3J6","typescript-pro","Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Ftypescript-pro\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M7EAR4SD7KJGZMH3Z280KYC6","security-audit","Security code review for vulnerabilities. Use when asked to \"security review\", \"find vulnerabilities\", \"check for security issues\", \"audit security\", \"OWASP review\", or review code for injection, XSS, authentication, authorization, cryptography issues. Provides systematic review with confidence-based reporting.","CC-BY-SA-4.0","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fsecurity-audit\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M7EAQXCT9TT975X8TY460Q1Z","react-expert","Use when building React 18+ applications in .jsx or .tsx files, Next.js App Router projects, or create-react-app setups. Creates components, implements custom hooks, debugs rendering issues, migrates class components to functional, and implements state management. Invoke for Server Components, Suspense boundaries, useActionState forms, performance optimization, or React 19 features.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Freact-expert\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},"01M7EAQPPXJYHMN5WG8X5GYK5V","python-pro","Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async\u002Fawait patterns, dataclasses, dependency injection, logging configuration, and structured error handling.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fpython-pro\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":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M7EAQFW1N62N8P6S6A1G9X1P","php-pro","Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit\u002FPest tests, defines typed DTOs and value objects, sets up dependency injection, and scaffolds REST\u002FGraphQL APIs. Use when working with Eloquent, Doctrine, Composer, Psalm, ReactPHP, or any PHP API development.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fphp-pro\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":18},"01M7EAQ45FDXE4CYKD59813QM7","nextjs-developer","Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke to configure route handlers, implement middleware, set up API routes, add streaming SSR, write generateMetadata for SEO, scaffold loading.tsx\u002Ferror.tsx boundaries, or deploy to Vercel. Triggers on: Next.js, Next.js 14, App Router, RSC, use server, Server Components, Server Actions, React Server Components, generateMetadata, loading.tsx, Next.js deployment, Vercel, Next.js performance.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fnextjs-developer\u002FSKILL.md",[],[]]