[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JGRV3BN19TE2FS6GFGA4QM":3,"skill-same:01M6JGRV3BN19TE2FS6GFGA4QM":98},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":60,"install":61,"resources":74},"01M6JGRV3BN19TE2FS6GFGA4QM","golang-samber-do",null,"Implements dependency injection in Golang using samber\u002Fdo. Apply this skill when working with dependency injection, setting up service containers, managing service lifecycles, or when you see code using github.com\u002Fsamber\u002Fdo\u002Fv2. Also use when refactoring manual dependency injection, implementing health checks, graceful shutdown, or organizing services into scopes\u002Fmodules.","muratovv\u002Fai-hats","muratovv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7502801?v=4","01M6JGCBN4KEJX012GPJVSH04T","Fedor Muratov","01M6JGCBSNMN7CW3RGTPPE0MN2",3,"MIT","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgolang-samber-do\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"golang","golang samber do","do","up","implementing","you","false","query","context7","shutdown","modules","MCP","dependency","write","read","projects","refactoring","Bash","code","ai coding agents","2026-11-10 10:12:30",false,"---\nname: golang-samber-do\ndescription: >-\n  Implements dependency injection in Golang using samber\u002Fdo. Apply this\n  skill when working with dependency injection, setting up service\n  containers, managing service lifecycles, or when you see code using\n  github.com\u002Fsamber\u002Fdo\u002Fv2. Also use when refactoring manual dependency\n  injection, implementing health checks, graceful shutdown, or organizing\n  services into scopes\u002Fmodules.\nuser-invocable: false\nlicense: MIT\ncompatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang.\nmetadata:\n  author: samber\n  version: \"1.1.3\"\nallowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs\n---\n\n**Persona:** You are a Go architect setting up dependency injection. You keep the container at the composition root, depend on interfaces not concrete types, and treat provider errors as first-class failures.\n\n# Using samber\u002Fdo for Dependency Injection in Go\n\nType-safe dependency injection toolkit for Go based on Go 1.18+ generics.\n\n**Official Resources:**\n\n- [pkg.go.dev\u002Fgithub.com\u002Fsamber\u002Fdo\u002Fv2](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fsamber\u002Fdo\u002Fv2)\n- [do.samber.dev](https:\u002F\u002Fdo.samber.dev)\n- [github.com\u002Fsamber\u002Fdo\u002Fv2](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fdo)\n\nThis skill is not exhaustive. Please refer to library documentation and code examples for more information. Context7 can help as a discoverability platform.\n\nDO NOT USE v1 OF THIS LIBRARY. INSTALL v2 INSTEAD:\n\n```bash\ngo get -u github.com\u002Fsamber\u002Fdo\u002Fv2\n```\n\n## Core Concepts\n\n### The Injector (Container)\n\n```go\nimport \"github.com\u002Fsamber\u002Fdo\u002Fv2\"\n\ninjector := do.New()\n```\n\n### Service Types\n\n- **Lazy** (default): Created when first requested\n- **Eager**: Created immediately when the container starts\n- **Transient**: New instance created on every request\n- **Value**: Pre-created value, no instantiation\n\n### Provider Functions\n\nServices MUST be registered via provider functions:\n\n```go\ntype Provider[T any] func(i Injector) (T, error)\n```\n\n## Basic Usage\n\n### 1. Define and Register Services\n\nFollow \"Accept Interfaces, Return Structs\":\n\n```go\n\u002F\u002F Register a service (lazy by default)\ndo.Provide(injector, func(i do.Injector) (Database, error) {\n    return &PostgreSQLDatabase{connString: \"postgres:\u002F\u002F...\"}, nil\n})\n\n\u002F\u002F Register a pre-created value\ndo.ProvideValue(injector, &Config{Port: 8080})\n\n\u002F\u002F Register a transient service (new instance each time)\ndo.ProvideTransient(injector, func(i do.Injector) (*Logger, error) {\n    return &Logger{}, nil\n})\n\n\u002F\u002F Register an eager service (created immediately)\ndo.Provide(injector, do.Eager(&Config{Port: 8080}))\n```\n\n### 2. Invoke Services\n\nThe container MUST only be accessed at the composition root:\n\n```go\n\u002F\u002F Invoke with error handling\ndb, err := do.Invoke[Database](injector)\n\n\u002F\u002F MustInvoke panics on error (use when confident service exists)\ndb := do.MustInvoke[Database](injector)\n```\n\n### 3. Service Dependencies\n\n```go\nfunc NewUserService(i do.Injector) (UserService, error) {\n    db := do.MustInvoke[Database](i)\n    cache := do.MustInvoke[Cache](i)\n    return &userService{db: db, cache: cache}, nil\n}\n\ndo.Provide(injector, NewUserService)\n```\n\n### 4. Implicit Aliasing (Preferred)\n\nRegister a concrete type and invoke as an interface without explicit aliasing:\n\n```go\n\u002F\u002F Register concrete type\ndo.Provide(injector, func(i do.Injector) (*PostgreSQLDatabase, error) {\n    return &PostgreSQLDatabase{}, nil\n})\n\n\u002F\u002F Invoke directly as interface (implicit aliasing)\ndb := do.MustInvokeAs[Database](injector)\n```\n\n### 5. Named Services\n\nRegister multiple services of the same type:\n\n```go\ndo.ProvideNamed(injector, \"primary-db\", func(i do.Injector) (*Database, error) {\n    return &Database{URL: \"postgres:\u002F\u002Fprimary...\"}, nil\n})\n\nmainDB := do.MustInvokeNamed[*Database](injector, \"primary-db\")\n```\n\n## Package Organization\n\nUse `do.Package()` to organize service registration by module:\n\n```go\n\u002F\u002F infrastructure\u002Fpackage.go\nvar Package = do.Package(\n    do.Lazy(func(i do.Injector) (*postgres.DB, error) {\n        cfg := do.MustInvoke[*Config](i)\n        return postgres.Connect(cfg.DatabaseURL)\n    }),\n    do.Lazy(func(i do.Injector) (*redis.Client, error) {\n        cfg := do.MustInvoke[*Config](i)\n        return redis.NewClient(cfg.RedisURL), nil\n    }),\n)\n\n\u002F\u002F main.go\ninjector := do.New(infrastructure.Package, service.Package)\n```\n\n## Full Application Setup\n\n```go\nfunc main() {\n    injector := do.New(\n        infrastructure.Package,\n        repository.Package,\n        service.Package,\n        transport.Package,\n    )\n\n    server := do.MustInvoke[*http.Server](injector)\n    go server.ListenAndServe()\n\n    _ = injector.ShutdownOnSignalsWithContext(context.Background(), os.Interrupt)\n}\n```\n\n## Best Practices\n\n1. Depend on interfaces, not concrete types — lets you swap implementations in tests without touching production code\n2. Each service should have one job — services with multiple responsibilities are harder to test and harder to replace\n3. Keep dependency trees shallow — chains beyond 3-4 levels make initialization order fragile and errors harder to trace\n4. Handle errors in provider functions — a silently failing provider creates a broken service that crashes later in unexpected places\n5. Use scopes to organize services by lifecycle — request-scoped services prevent leaks, global services prevent redundant initialization\n\nFor scopes, lifecycle management, struct injection, and debugging, see [Advanced Usage](.\u002Freferences\u002Fadvanced.md).\n\nFor testing patterns (cloning, overrides, mocks), see [Testing](.\u002Freferences\u002Ftesting.md).\n\n## Quick Reference\n\n### Registration\n\n| Function                        | Purpose                          |\n| ------------------------------- | -------------------------------- |\n| `do.Provide[T]()`               | Register lazy service (default)  |\n| `do.ProvideNamed[T]()`          | Register named lazy service      |\n| `do.ProvideValue[T]()`          | Register pre-created value       |\n| `do.ProvideNamedValue[T]()`     | Register named value             |\n| `do.ProvideTransient[T]()`      | Register new instance each time  |\n| `do.ProvideNamedTransient[T]()` | Register named transient service |\n| `do.Package()`                  | Group service registrations      |\n\n### Invocation\n\n| Function                   | Purpose                                   |\n| -------------------------- | ----------------------------------------- |\n| `do.Invoke[T]()`           | Get service (with error)                  |\n| `do.InvokeNamed[T]()`      | Get named service                         |\n| `do.InvokeAs[T]()`         | Get first service matching interface      |\n| `do.InvokeStruct[T]()`     | Inject into struct fields using tags      |\n| `do.MustInvoke[T]()`       | Get service (panic on error)              |\n| `do.MustInvokeNamed[T]()`  | Get named service (panic on error)        |\n| `do.MustInvokeAs[T]()`     | Get service by interface (panic on error) |\n| `do.MustInvokeStruct[T]()` | Inject into struct (panic on error)       |\n\n## Cross-References\n\n- → See `samber\u002Fcc-skills-golang@golang-dependency-injection` skill for DI concepts, comparison, and when to adopt a DI library\n- → See `samber\u002Fcc-skills-golang@golang-structs-interfaces` skill for interface design patterns\n- → See `samber\u002Fcc-skills-golang@golang-testing` skill for general testing patterns\n","**Persona:** You are a Go architect setting up dependency injection. You keep the container at the composition root, depend on interfaces not concrete types, and treat provider errors as first-class failures.\n\n# Using samber\u002Fdo for Dependency Injection in Go\n\nType-safe dependency injection toolkit for Go based on Go 1.18+ generics.\n\n**Official Resources:**\n\n- [pkg.go.dev\u002Fgithub.com\u002Fsamber\u002Fdo\u002Fv2](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fsamber\u002Fdo\u002Fv2)\n- [do.samber.dev](https:\u002F\u002Fdo.samber.dev)\n- [github.com\u002Fsamber\u002Fdo\u002Fv2](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fdo)\n\nThis skill is not exhaustive. Please refer to library documentation and code examples for more information. Context7 can help as a discoverability platform.\n\nDO NOT USE v1 OF THIS LIBRARY. INSTALL v2 INSTEAD:\n\n```bash\ngo get -u github.com\u002Fsamber\u002Fdo\u002Fv2\n```\n\n## Core Concepts\n\n### The Injector (Container)\n\n```go\nimport \"github.com\u002Fsamber\u002Fdo\u002Fv2\"\n\ninjector := do.New()\n```\n\n### Service Types\n\n- **Lazy** (default): Created when first requested\n- **Eager**: Created immediately when the container starts\n- **Transient**: New instance created on every request\n- **Value**: Pre-created value, no instantiation\n\n### Provider Functions\n\nServices MUST be registered via provider functions:\n\n```go\ntype Provider[T any] func(i Injector) (T, error)\n```\n\n## Basic Usage\n\n### 1. Define and Register Services\n\nFollow \"Accept Interfaces, Return Structs\":\n\n```go\n\u002F\u002F Register a service (lazy by default)\ndo.Provide(injector, func(i do.Injector) (Database, error) {\n    return &PostgreSQLDatabase{connString: \"postgres:\u002F\u002F...\"}, nil\n})\n\n\u002F\u002F Register a pre-created value\ndo.ProvideValue(injector, &Config{Port: 8080})\n\n\u002F\u002F Register a transient service (new instance each time)\ndo.ProvideTransient(injector, func(i do.Injector) (*Logger, error) {\n    return &Logger{}, nil\n})\n\n\u002F\u002F Register an eager service (created immediately)\ndo.Provide(injector, do.Eager(&Config{Port: 8080}))\n```\n\n### 2. Invoke Services\n\nThe container MUST only be accessed at the composition root:\n\n```go\n\u002F\u002F Invoke with error handling\ndb, err := do.Invoke[Database](injector)\n\n\u002F\u002F MustInvoke panics on error (use when confident service exists)\ndb := do.MustInvoke[Database](injector)\n```\n\n### 3. Service Dependencies\n\n```go\nfunc NewUserService(i do.Injector) (UserService, error) {\n    db := do.MustInvoke[Database](i)\n    cache := do.MustInvoke[Cache](i)\n    return &userService{db: db, cache: cache}, nil\n}\n\ndo.Provide(injector, NewUserService)\n```\n\n### 4. Implicit Aliasing (Preferred)\n\nRegister a concrete type and invoke as an interface without explicit aliasing:\n\n```go\n\u002F\u002F Register concrete type\ndo.Provide(injector, func(i do.Injector) (*PostgreSQLDatabase, error) {\n    return &PostgreSQLDatabase{}, nil\n})\n\n\u002F\u002F Invoke directly as interface (implicit aliasing)\ndb := do.MustInvokeAs[Database](injector)\n```\n\n### 5. Named Services\n\nRegister multiple services of the same type:\n\n```go\ndo.ProvideNamed(injector, \"primary-db\", func(i do.Injector) (*Database, error) {\n    return &Database{URL: \"postgres:\u002F\u002Fprimary...\"}, nil\n})\n\nmainDB := do.MustInvokeNamed[*Database](injector, \"primary-db\")\n```\n\n## Package Organization\n\nUse `do.Package()` to organize service registration by module:\n\n```go\n\u002F\u002F infrastructure\u002Fpackage.go\nvar Package = do.Package(\n    do.Lazy(func(i do.Injector) (*postgres.DB, error) {\n        cfg := do.MustInvoke[*Config](i)\n        return postgres.Connect(cfg.DatabaseURL)\n    }),\n    do.Lazy(func(i do.Injector) (*redis.Client, error) {\n        cfg := do.MustInvoke[*Config](i)\n        return redis.NewClient(cfg.RedisURL), nil\n    }),\n)\n\n\u002F\u002F main.go\ninjector := do.New(infrastructure.Package, service.Package)\n```\n\n## Full Application Setup\n\n```go\nfunc main() {\n    injector := do.New(\n        infrastructure.Package,\n        repository.Package,\n        service.Package,\n        transport.Package,\n    )\n\n    server := do.MustInvoke[*http.Server](injector)\n    go server.ListenAndServe()\n\n    _ = injector.ShutdownOnSignalsWithContext(context.Background(), os.Interrupt)\n}\n```\n\n## Best Practices\n\n1. Depend on interfaces, not concrete types — lets you swap implementations in tests without touching production code\n2. Each service should have one job — services with multiple responsibilities are harder to test and harder to replace\n3. Keep dependency trees shallow — chains beyond 3-4 levels make initialization order fragile and errors harder to trace\n4. Handle errors in provider functions — a silently failing provider creates a broken service that crashes later in unexpected places\n5. Use scopes to organize services by lifecycle — request-scoped services prevent leaks, global services prevent redundant initialization\n\nFor scopes, lifecycle management, struct injection, and debugging, see [Advanced Usage](.\u002Freferences\u002Fadvanced.md).\n\nFor testing patterns (cloning, overrides, mocks), see [Testing](.\u002Freferences\u002Ftesting.md).\n\n## Quick Reference\n\n### Registration\n\n| Function                        | Purpose                          |\n| ------------------------------- | -------------------------------- |\n| `do.Provide[T]()`               | Register lazy service (default)  |\n| `do.ProvideNamed[T]()`          | Register named lazy service      |\n| `do.ProvideValue[T]()`          | Register pre-created value       |\n| `do.ProvideNamedValue[T]()`     | Register named value             |\n| `do.ProvideTransient[T]()`      | Register new instance each time  |\n| `do.ProvideNamedTransient[T]()` | Register named transient service |\n| `do.Package()`                  | Group service registrations      |\n\n### Invocation\n\n| Function                   | Purpose                                   |\n| -------------------------- | ----------------------------------------- |\n| `do.Invoke[T]()`           | Get service (with error)                  |\n| `do.InvokeNamed[T]()`      | Get named service                         |\n| `do.InvokeAs[T]()`         | Get first service matching interface      |\n| `do.InvokeStruct[T]()`     | Inject into struct fields using tags      |\n| `do.MustInvoke[T]()`       | Get service (panic on error)              |\n| `do.MustInvokeNamed[T]()`  | Get named service (panic on error)        |\n| `do.MustInvokeAs[T]()`     | Get service by interface (panic on error) |\n| `do.MustInvokeStruct[T]()` | Inject into struct (panic on error)       |\n\n## Cross-References\n\n- → See `samber\u002Fcc-skills-golang@golang-dependency-injection` skill for DI concepts, comparison, and when to adopt a DI library\n- → See `samber\u002Fcc-skills-golang@golang-structs-interfaces` skill for interface design patterns\n- → See `samber\u002Fcc-skills-golang@golang-testing` skill for general testing patterns\n",{"name":5,"license":15,"metadata":49,"description":7,"allowed-tools":52,"compatibility":53,"user-invocable":45},{"author":50,"version":51},"samber","1.1.3","Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs","Designed for Claude Code or similar AI coding agents, and for projects using Golang.","master","b4819add93efbaf4d80627118ec34680406b309b","packages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgolang-samber-do",1,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats","https:\u002F\u002Fgithub.com\u002Fmuratovv","2026-11-05 20:59:10",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add muratovv\u002Fai-hats --skill golang-samber-do",{"tool":67,"command":68},"bunx","bunx skills add muratovv\u002Fai-hats --skill golang-samber-do",{"tool":70,"command":71},"pnpm","pnpm dlx skills add muratovv\u002Fai-hats --skill golang-samber-do","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgolang-samber-do\u002FSKILL.md",true,[75,81,86,90,94],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"evals\u002Fevals.json","REFERENCE","参考文档",11860,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgolang-samber-do\u002Fevals\u002Fevals.json",{"path":82,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"LICENSE","许可证",1070,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgolang-samber-do\u002FLICENSE",{"path":87,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":88,"sourceHtmlUrl":89},"metadata.yaml",645,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgolang-samber-do\u002Fmetadata.yaml",{"path":91,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fadvanced.md",5168,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgolang-samber-do\u002Freferences\u002Fadvanced.md",{"path":95,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Ftesting.md",1451,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fgolang-samber-do\u002Freferences\u002Ftesting.md",[99,124,149,168,192,205],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":44},"01M6PVFB1SM738R2SRSRSF7CY6","tool-evaluation-protocol","Time-bounded protocol for evaluating new tools, libraries, or methodologies before adoption. Use when evaluating a candidate dependency for the project, researching a methodology (e.g. ML\u002FLLM frameworks, testing approaches), or following up on a hype-driven recommendation.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Ftool-evaluation-protocol\u002FSKILL.md",[],[106,107,108,109,110,111,112,113,114,115,116,36,27,117,118,119,120,121,122,123],"protocol","Evaluation","tool","tool evaluation protocol","testing","ml","libraries","adoption","methodology","Tools","use","frameworks","time","project","recommendation","for","bounded","candidate",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":44},"01M6PVF7HATBEX1G7N50E2QT57","systematic-debugging","4-phase bug-fix protocol (evidence, pattern, hypothesis, verify). Use when investigating any error, failure, or unexpected behavior, handling bug reports from users or monitoring, or diagnosing test failures with non-obvious causes.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[131,132,133,134,106,135,136,137,138,139,116,140,141,142,143,144,145,146,147,148],"systematic debugging","debugging","systematic","test","monitoring","hypothesis","verify","behavior","fix","evidence","bug","reports","pattern","users","error","with","bug-fix","phase",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":156,"publishedAt":44},"01M6PVF3MTQN3RPF73AN34856J","skill-template","Canonical template and validation guide for ai-hats skills. Use when creating a new skill, reviewing an existing one for structural compliance, or deciding which pattern fits a new behavior.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fskill-template\u002FSKILL.md",[155],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[157,158,159,160,161,138,162,116,163,143,164,165,166,121,167],"template","skill template","validation","compliance","hats","guide","new skill","structural","canonical","which","Existing",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":175,"publishedAt":44},"01M6PVF06SCV28QARM5MQPANC9","skill-optimization","Audit and refactor library components to eliminate redundancy and staleness. Use during periodic library maintenance, after adding multiple new skills or rules, when a role's token budget is too high, or after retrospectives identify component issues.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fskill-optimization\u002FSKILL.md",[174],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[176,177,178,179,180,181,182,183,184,185,116,186,187,188,189,190,191],"Optimization","skill optimization","components","component","issues","library","audit","refactor","Budget","Rules","periodic","maintenance","token","token budget","role","high",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":198,"publishedAt":44},"01M6PVEXM9717016T9MW82HDCT","silent-fallback-gate","PreToolUse hook — refuses an Edit or Write that adds an inert broad except. Use when a Python edit was blocked for a silent fallback.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsilent-fallback-gate\u002FSKILL.md",[],[199,200,201,202,37,203,116,204,121],"gate","fallback","silent fallback gate","python","edit","hook",{"skillNo":206,"name":207,"nameZh":6,"description":208,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":209,"categories":210,"keywords":212,"publishedAt":44},"01M6PVESM49C5NT7SB7N3F76VS","retro-to-framework","Convert an observation about agent behavior — from a retrospective or from a single incident — into a framework-level change (hook, rule, skill, skill update). Use after a retrospective identifies problems that are not project-specific, after an incident where an agent misapplied a component it had read, when CLAUDE.md band-aids accumulate (more than 3 per-project rules that could be generic), or when the same problem recurs across multiple projects.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fretro-to-framework\u002FSKILL.md",[211],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[213,214,215,216,179,217,39,218,185,138,116,219,220,119,221,222,223,224,225,226],"framework","retro","retro to framework","change","retrospective","convert","incident","across","problem","about","more","skill update","single","generic"]