[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JZD385E2VQ9MEPJGZK2RH5":3,"skill-same:01M6JZD385E2VQ9MEPJGZK2RH5":102},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":26,"commitSha":57,"skillDirectory":58,"forksCount":14,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":60,"install":61,"resources":73},"01M6JZD385E2VQ9MEPJGZK2RH5","golang-project-layout",null,"Provides a guide for setting up Golang project layouts and workspaces. Use this whenever starting a new Go project, organizing an existing codebase, setting up a monorepo with multiple packages, creating CLI tools with multiple main packages, or deciding on directory structure. Apply this for any Go project initialization or restructuring work.","paulohgodinho\u002Fskills","paulohgodinho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F57510522?v=4","01M6JZBW2QZR573QTV4PN1H6DE","Paulo Godinho","01M6JZBW6QM55GHQB0K3BC6D45",0,"MIT","https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-project-layout\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"layout","project","golang","golang project layout","read","initialization","structure","main","workspaces","up","write","directory","work","monorepo","projects","Bash","code","packages","ai coding agents","cli","2026-11-10 10:12:30",false,"---\nname: golang-project-layout\ndescription: \"Provides a guide for setting up Golang project layouts and workspaces. Use this whenever starting a new Go project, organizing an existing codebase, setting up a monorepo with multiple packages, creating CLI tools with multiple main packages, or deciding on directory structure. Apply this for any Go project initialization or restructuring work.\"\nuser-invocable: true\nlicense: MIT\ncompatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang.\nmetadata:\n  author: samber\n  version: \"1.0\"\n  openclaw:\n    emoji: \"?\"\n    homepage: https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\n    requires:\n      bins:\n        - go\n    install: []\nallowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent\n---\n\n**Persona:** You are a Go project architect. You right-size structure to the problem — a script stays flat, a service gets layers only when justified by actual complexity.\n\n# Go Project Layout\n\n## Architecture Decision: Ask First\n\nWhen starting a new project, **ask the developer** what software architecture they prefer (clean architecture, hexagonal, DDD, flat structure, etc.). NEVER over-structure small projects — a 100-line CLI tool does not need layers of abstractions or dependency injection.\n\n-> See [golang-design-patterns](..\u002Fgolang-design-patterns\u002FSKILL.md) for detailed architecture guides with file trees and code examples.\n\n## Dependency Injection: Ask Next\n\nAfter settling on the architecture, **ask the developer** which dependency injection approach they want: manual constructor injection, or a DI library (google\u002Fwire, uber-go\u002Fdig+fx), or none at all. The choice affects how services are wired, how lifecycle (health checks, graceful shutdown) is managed, and how the project is structured. See [golang-dependency-injection](..\u002Fgolang-dependency-injection\u002FSKILL.md) for a full comparison and decision table.\n\n## 12-Factor App\n\nFor applications (services, APIs, workers), follow [12-Factor App](https:\u002F\u002F12factor.net\u002F) conventions: config via environment variables, logs to stdout, stateless processes, graceful shutdown, backing services as attached resources, and admin tasks as one-off commands (e.g., `cmd\u002Fmigrate\u002F`).\n\n## Quick Start: Choose Your Project Type\n\n| Project Type | Use When | Key Directories |\n| --- | --- | --- |\n| **CLI Tool** | Building a command-line application | `cmd\u002F{name}\u002F`, `internal\u002F`, optional `pkg\u002F` |\n| **Library** | Creating reusable code for others | `pkg\u002F{name}\u002F`, `internal\u002F` for private code |\n| **Service** | HTTP API, microservice, or web app | `cmd\u002F{service}\u002F`, `internal\u002F`, `api\u002F`, `web\u002F` |\n| **Monorepo** | Multiple related packages\u002Fmodules | `go.work`, separate modules per package |\n| **Workspace** | Developing multiple local modules | `go.work`, replace directives |\n\n## Module Naming Conventions\n\n### Module Name (go.mod)\n\nYour module path in `go.mod` should:\n\n- **MUST match your repository URL**: `github.com\u002Fusername\u002Fproject-name`\n- **Use lowercase only**: `github.com\u002Fyou\u002Fmy-app` (not `MyApp`)\n- **Use hyphens for multi-word**: `user-auth` not `user_auth` or `userAuth`\n- **Be semantic**: Name should clearly express purpose\n\n**Examples:**\n\n```go\n\u002F\u002F ✅ Good\nmodule github.com\u002Fjdoe\u002Fpayment-processor\nmodule github.com\u002Fcompany\u002Fcli-tool\n\n\u002F\u002F ❌ Bad\nmodule myproject\nmodule github.com\u002Fjdoe\u002FMyProject\nmodule utils\n```\n\n### Package Naming\n\nPackages MUST be lowercase, singular, and match their directory name. -> See [golang-naming](..\u002Fgolang-naming\u002FSKILL.md) for complete package naming conventions and examples.\n\n## Directory Layout\n\nAll `main` packages must reside in `cmd\u002F` with minimal logic — parse flags, wire dependencies, call `Run()`. Business logic belongs in `internal\u002F` or `pkg\u002F`. Use `internal\u002F` for non-exported packages, `pkg\u002F` only when code is useful to external consumers.\n\nSee [directory layout examples](references\u002Fdirectory-layouts.md) for universal, small project, and library layouts, plus common mistakes.\n\n## Essential Configuration Files\n\nEvery Go project should include at the root:\n\n- **build.go** — cross-platform build script at the repository root. See [golang-build](..\u002Fgolang-build\u002FSKILL.md) for the template and customisation guide\n- **Makefile** — build automation. See [Makefile template](assets\u002FMakefile)\n- **.gitignore** — git ignore patterns. See [.gitignore template](assets\u002F.gitignore)\n- **.golangci.yml** — linter config. See [golang-linter](..\u002Fgolang-linter\u002FSKILL.md) for the recommended configuration\n\nFor application configuration with Cobra + Viper, see [config reference](references\u002Fconfig.md).\n\n## Tests, Benchmarks, and Examples\n\nCo-locate `_test.go` files with the code they test. Use `testdata\u002F` for fixtures. See [testing layout](references\u002Ftesting-layout.md) for file naming, placement, and organization details.\n\n## Go Workspaces\n\nUse `go.work` when developing multiple related modules in a monorepo. See [workspaces](references\u002Fworkspaces.md) for setup, structure, and commands.\n\n## Initialization Checklist\n\nWhen starting a new Go project:\n\n- [ ] **Ask the developer** their preferred software architecture (clean, hexagonal, DDD, flat, etc.)\n- [ ] **Ask the developer** their preferred DI approach — see [golang-dependency-injection](..\u002Fgolang-dependency-injection\u002FSKILL.md)\n- [ ] Decide project type (CLI, library, service, monorepo)\n- [ ] Right-size the structure to the project scope\n- [ ] Choose module name (matches repo URL, lowercase, hyphens)\n- [ ] Run `go version` to detect the current go version\n- [ ] Run `go mod init github.com\u002Fuser\u002Fproject-name`\n- [ ] Add `build.go` to the repository root — see [golang-build](..\u002Fgolang-build\u002FSKILL.md)\n- [ ] Create `cmd\u002F{name}\u002Fmain.go` for entry point\n- [ ] Create `internal\u002F` for private code\n- [ ] Create `pkg\u002F` only if you have public libraries\n- [ ] For monorepos: Initialize `go work` and add modules\n- [ ] Run `gofmt -s -w .` to ensure formatting\n- [ ] Add `.gitignore` with `\u002Fvendor\u002F` and binary patterns\n\n## Related Skills\n\n- → See [golang-build](..\u002Fgolang-build\u002FSKILL.md) for cross-platform build script setup\n- → See [golang-cli](..\u002Fgolang-cli\u002FSKILL.md) for CLI tool structure and Cobra\u002FViper patterns\n- → See [golang-dependency-injection](..\u002Fgolang-dependency-injection\u002FSKILL.md) for DI approach comparison and wiring\n- → See [golang-linter](..\u002Fgolang-linter\u002FSKILL.md) for golangci-lint configuration\n- → See [golang-design-patterns](..\u002Fgolang-design-patterns\u002FSKILL.md) for architectural patterns\n","**Persona:** You are a Go project architect. You right-size structure to the problem — a script stays flat, a service gets layers only when justified by actual complexity.\n\n# Go Project Layout\n\n## Architecture Decision: Ask First\n\nWhen starting a new project, **ask the developer** what software architecture they prefer (clean architecture, hexagonal, DDD, flat structure, etc.). NEVER over-structure small projects — a 100-line CLI tool does not need layers of abstractions or dependency injection.\n\n-> See [golang-design-patterns](..\u002Fgolang-design-patterns\u002FSKILL.md) for detailed architecture guides with file trees and code examples.\n\n## Dependency Injection: Ask Next\n\nAfter settling on the architecture, **ask the developer** which dependency injection approach they want: manual constructor injection, or a DI library (google\u002Fwire, uber-go\u002Fdig+fx), or none at all. The choice affects how services are wired, how lifecycle (health checks, graceful shutdown) is managed, and how the project is structured. See [golang-dependency-injection](..\u002Fgolang-dependency-injection\u002FSKILL.md) for a full comparison and decision table.\n\n## 12-Factor App\n\nFor applications (services, APIs, workers), follow [12-Factor App](https:\u002F\u002F12factor.net\u002F) conventions: config via environment variables, logs to stdout, stateless processes, graceful shutdown, backing services as attached resources, and admin tasks as one-off commands (e.g., `cmd\u002Fmigrate\u002F`).\n\n## Quick Start: Choose Your Project Type\n\n| Project Type | Use When | Key Directories |\n| --- | --- | --- |\n| **CLI Tool** | Building a command-line application | `cmd\u002F{name}\u002F`, `internal\u002F`, optional `pkg\u002F` |\n| **Library** | Creating reusable code for others | `pkg\u002F{name}\u002F`, `internal\u002F` for private code |\n| **Service** | HTTP API, microservice, or web app | `cmd\u002F{service}\u002F`, `internal\u002F`, `api\u002F`, `web\u002F` |\n| **Monorepo** | Multiple related packages\u002Fmodules | `go.work`, separate modules per package |\n| **Workspace** | Developing multiple local modules | `go.work`, replace directives |\n\n## Module Naming Conventions\n\n### Module Name (go.mod)\n\nYour module path in `go.mod` should:\n\n- **MUST match your repository URL**: `github.com\u002Fusername\u002Fproject-name`\n- **Use lowercase only**: `github.com\u002Fyou\u002Fmy-app` (not `MyApp`)\n- **Use hyphens for multi-word**: `user-auth` not `user_auth` or `userAuth`\n- **Be semantic**: Name should clearly express purpose\n\n**Examples:**\n\n```go\n\u002F\u002F ✅ Good\nmodule github.com\u002Fjdoe\u002Fpayment-processor\nmodule github.com\u002Fcompany\u002Fcli-tool\n\n\u002F\u002F ❌ Bad\nmodule myproject\nmodule github.com\u002Fjdoe\u002FMyProject\nmodule utils\n```\n\n### Package Naming\n\nPackages MUST be lowercase, singular, and match their directory name. -> See [golang-naming](..\u002Fgolang-naming\u002FSKILL.md) for complete package naming conventions and examples.\n\n## Directory Layout\n\nAll `main` packages must reside in `cmd\u002F` with minimal logic — parse flags, wire dependencies, call `Run()`. Business logic belongs in `internal\u002F` or `pkg\u002F`. Use `internal\u002F` for non-exported packages, `pkg\u002F` only when code is useful to external consumers.\n\nSee [directory layout examples](references\u002Fdirectory-layouts.md) for universal, small project, and library layouts, plus common mistakes.\n\n## Essential Configuration Files\n\nEvery Go project should include at the root:\n\n- **build.go** — cross-platform build script at the repository root. See [golang-build](..\u002Fgolang-build\u002FSKILL.md) for the template and customisation guide\n- **Makefile** — build automation. See [Makefile template](assets\u002FMakefile)\n- **.gitignore** — git ignore patterns. See [.gitignore template](assets\u002F.gitignore)\n- **.golangci.yml** — linter config. See [golang-linter](..\u002Fgolang-linter\u002FSKILL.md) for the recommended configuration\n\nFor application configuration with Cobra + Viper, see [config reference](references\u002Fconfig.md).\n\n## Tests, Benchmarks, and Examples\n\nCo-locate `_test.go` files with the code they test. Use `testdata\u002F` for fixtures. See [testing layout](references\u002Ftesting-layout.md) for file naming, placement, and organization details.\n\n## Go Workspaces\n\nUse `go.work` when developing multiple related modules in a monorepo. See [workspaces](references\u002Fworkspaces.md) for setup, structure, and commands.\n\n## Initialization Checklist\n\nWhen starting a new Go project:\n\n- [ ] **Ask the developer** their preferred software architecture (clean, hexagonal, DDD, flat, etc.)\n- [ ] **Ask the developer** their preferred DI approach — see [golang-dependency-injection](..\u002Fgolang-dependency-injection\u002FSKILL.md)\n- [ ] Decide project type (CLI, library, service, monorepo)\n- [ ] Right-size the structure to the project scope\n- [ ] Choose module name (matches repo URL, lowercase, hyphens)\n- [ ] Run `go version` to detect the current go version\n- [ ] Run `go mod init github.com\u002Fuser\u002Fproject-name`\n- [ ] Add `build.go` to the repository root — see [golang-build](..\u002Fgolang-build\u002FSKILL.md)\n- [ ] Create `cmd\u002F{name}\u002Fmain.go` for entry point\n- [ ] Create `internal\u002F` for private code\n- [ ] Create `pkg\u002F` only if you have public libraries\n- [ ] For monorepos: Initialize `go work` and add modules\n- [ ] Run `gofmt -s -w .` to ensure formatting\n- [ ] Add `.gitignore` with `\u002Fvendor\u002F` and binary patterns\n\n## Related Skills\n\n- → See [golang-build](..\u002Fgolang-build\u002FSKILL.md) for cross-platform build script setup\n- → See [golang-cli](..\u002Fgolang-cli\u002FSKILL.md) for CLI tool structure and Cobra\u002FViper patterns\n- → See [golang-dependency-injection](..\u002Fgolang-dependency-injection\u002FSKILL.md) for DI approach comparison and wiring\n- → See [golang-linter](..\u002Fgolang-linter\u002FSKILL.md) for golangci-lint configuration\n- → See [golang-design-patterns](..\u002Fgolang-design-patterns\u002FSKILL.md) for architectural patterns\n",{"name":5,"license":15,"metadata":44,"description":7,"allowed-tools":54,"compatibility":55,"user-invocable":56},{"author":45,"version":46,"openclaw":47},"samber","1.0",{"emoji":48,"install":49,"homepage":50,"requires":51},"?",[],"https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills",{"bins":52},[53],"go","Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent","Designed for Claude Code or similar AI coding agents, and for projects using Golang.",true,"f1ec08caf4f3441b371842829bc5b7e2fae2b11a","skills\u002Fgo\u002Fgolang-project-layout","https:\u002F\u002Fgithub.com\u002Fpaulohgodinho","2026-04-04 09:40:33",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":56},[63,66,69],{"tool":64,"command":65},"npx","npx skills add paulohgodinho\u002Fskills --skill golang-project-layout",{"tool":67,"command":68},"bunx","bunx skills add paulohgodinho\u002Fskills --skill golang-project-layout",{"tool":70,"command":71},"pnpm","pnpm dlx skills add paulohgodinho\u002Fskills --skill golang-project-layout","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-project-layout\u002FSKILL.md",[74,80,86,90,94,98],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"assets\u002F.gitignore","ASSET","资产文件",421,"https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-project-layout\u002Fassets\u002F.gitignore",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fevals.json","REFERENCE","参考文档",12008,"https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-project-layout\u002Fevals\u002Fevals.json",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fconfig.md",1444,"https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-project-layout\u002Freferences\u002Fconfig.md",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fdirectory-layouts.md",4678,"https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-project-layout\u002Freferences\u002Fdirectory-layouts.md",{"path":95,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Ftesting-layout.md",5227,"https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-project-layout\u002Freferences\u002Ftesting-layout.md",{"path":99,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fworkspaces.md",2503,"https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-project-layout\u002Freferences\u002Fworkspaces.md",[103,123,141,157,171,187],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":39},"01M6JZD7VH66ESK96RANN6C5J1","golang-structs-interfaces","Golang struct and interface design patterns — composition, embedding, type assertions, type switches, interface segregation, dependency injection via interfaces, struct field tags, and pointer vs value receivers. Use this skill when designing Go types, defining or implementing interfaces, embedding structs or interfaces, writing type assertions or type switches, adding struct field tags for JSON\u002FYAML\u002FDB serialization, or choosing between pointer and value receivers. Also use when the user asks about \"accept interfaces, return structs\", compile-time interface checks, or composing small interfaces into larger ones.","https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-structs-interfaces\u002FSKILL.md",[],[21,110,111,112,37,35,113,34,33,23,29,114,115,116,117,118,119,120,121,122],"golang structs interfaces","design","writing","Composition","dependency","design patterns","time","db","false","embedding","types","interface","implementing",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":39},"01M6JZCXBFYKM5A7W8QHBG5SP6","golang-naming","Go (Golang) naming conventions — covers packages, constructors, structs, interfaces, constants, enums, errors, booleans, receivers, getters\u002Fsetters, functional options, acronyms, test functions, and subtest names. Use this skill when writing new Go code, reviewing or refactoring, choosing between naming alternatives (New vs NewTypeName, isConnected vs connected, ErrNotFound vs NotFoundError, StatusReady vs StatusUnknown at iota 0), debating Go package names (utils\u002Fhelpers anti-patterns), or asking about Go naming best practices. Also trigger when the user mentions MixedCaps vs snake_case, ALL_CAPS constants, Get-prefix on getters, or error string casing. Do NOT use for general Go implementation questions that don't involve naming decisions.","https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-naming\u002FSKILL.md",[],[21,130,131,112,37,36,35,34,132,33,23,133,134,135,118,136,137,138,139,140],"golang naming","naming","refactoring","anti-patterns","options","get","error","functional","errors","utils","at",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":39},"01M6JZCRJPW41M4A70HYKEMN19","golang-lint","Provides linting best practices and golangci-lint configuration for Go projects. Covers running linters, configuring .golangci.yml, suppressing warnings with nolint directives, interpreting lint output, and managing linter settings. Use this skill whenever the user runs linters, configures golangci-lint, asks about lint warnings or suppressions, sets up code quality tooling, or asks which linters to enable for a Go project. Also use when the user mentions golangci-lint, go vet, staticcheck, revive, or any Go linting tool.","https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-linter\u002FSKILL.md",[],[148,21,149,53,37,35,150,34,33,151,152,153,23,29,154,28,20,118,155,156],"lint","golang lint","git","coding","linter","brew","edit","linting","which",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":39},"01M6JZCKDKSZ49ZH7ZS4STSMC7","golang-design-patterns","Idiomatic Golang design patterns — functional options, constructors, error flow and cascading, resource management and lifecycle, graceful shutdown, resilience, architecture, dependency injection, data handling, and streaming. Apply when designing Go APIs, structuring applications, choosing between patterns, making design decisions, architectural choices, or production hardening.","https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-design-patterns\u002FSKILL.md",[],[111,21,115,164,165,166,37,167,35,168,34,33,23,114,169,134,118,136,137,170],"golang design patterns","patterns","architecture","resilience","streaming","shutdown","resource management",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":39},"01M6JZCE2S3X0WWK38MZSTHH3A","golang-dependency-injection","Comprehensive guide for dependency injection (DI) in Golang. Covers why DI matters (testability, loose coupling, separation of concerns, lifecycle management), manual constructor injection, and DI library comparison (google\u002Fwire, uber-go\u002Fdig, uber-go\u002Ffx). Use this skill when designing service architecture, setting up dependency injection, refactoring tightly coupled code, managing singletons or service factories, or when the user asks about inversion of control, service containers, or wiring dependencies in Go.","https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-dependency-injection\u002FSKILL.md",[],[21,178,114,179,180,181,166,37,35,182,34,132,33,23,28,183,184,118,185,186],"injection","golang dependency injection","dependency injection","MCP","why","context7","query","separation of concerns","wiring",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":39},"01M6JZC9YB4PHATT09BNY5B4WK","golang-code-style","Golang code style, formatting and conventions. Use when writing code, reviewing style, configuring linters, writing comments, or establishing project standards.","https:\u002F\u002Fgithub.com\u002Fpaulohgodinho\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgo\u002Fgolang-code-style\u002FSKILL.md",[],[194,35,21,195,196,112,53,37,150,34,33,151,23,29,154,197,20,198,118,199],"code style","golang code style","style","standards","formatting","for"]