[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79C99BJR1KQ99MJWPTPT8S6":3,"skill-same:01M79C99BJR1KQ99MJWPTPT8S6":50},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M79C99BJR1KQ99MJWPTPT8S6","go-linq",null,"Use github.com\u002Fahmetb\u002Fgo-linq\u002Fv5 for LINQ-style queries in Go 1.27+. Provides fully type-safe, generic-method-based query chains over slices, maps, channels, strings, and iter.Seq[T].","dhcgn\u002Fimmich-admin-cli","dhcgn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6566207?v=4","01M79C8N70VH5NC77K0K15FS3N","Daniel","01M79C8N7Y7DR9KS4TYETQ9KJE",2,"MIT","https:\u002F\u002Fgithub.com\u002Fdhcgn\u002Fimmich-admin-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgo-linq\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: go-linq\ndescription: Use github.com\u002Fahmetb\u002Fgo-linq\u002Fv5 for LINQ-style queries in Go 1.27+. Provides fully type-safe, generic-method-based query chains over slices, maps, channels, strings, and iter.Seq[T].\nlicense: MIT\ncompatibility: Go 1.27+ (generic methods required). Intended for Go codebases using github.com\u002Fahmetb\u002Fgo-linq\u002Fv5.\nmetadata:\n  version: \"1.0\"\n  source: https:\u002F\u002Fgithub.com\u002Fahmetb\u002Fgo-linq\n---\n\n# Skill: go-linq v5 (github.com\u002Fahmetb\u002Fgo-linq\u002Fv5)\n\n## Purpose\n\nProvide LINQ-style query capabilities in Go using **fully type-safe, generic-method-based** APIs introduced in **Go 1.27**.  \nUse this skill whenever you need composable, lazy, type-safe queries over slices, maps, channels, strings, or `iter.Seq[T]`.\n\n## When to Use\n\n- Go version: **1.27+** (required for generic methods).  \n- Requirement: LINQ-like query chains with **no `interface{}`\u002F`any`**, no type assertions, and minimal allocations.  \n- Import path: `github.com\u002Fahmetb\u002Fgo-linq\u002Fv5`.\n\n> If Go \u003C 1.27 or generic methods are unavailable, fall back to `github.com\u002Fahmetb\u002Fgo-linq\u002Fv4` (any-based API).\n\n## Installation\n\n```bash\ngo get github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\n```\n\nIn `go.mod`:\n\n```go\nrequire github.com\u002Fahmetb\u002Fgo-linq\u002Fv5 v5.0.0\n```\n\n## Core Concepts\n\n- `Query[T]` is the central type; all operators preserve or transform `T` in a type-safe way.\n- Type-changing operators (e.g. `Select`, `SelectMany`, `Join`, `GroupBy`) are **generic methods** whose result type is inferred from your functions.\n- No reflection-based `…T` variants: base methods are already typed.\n- Terminals like `First`, `Last`, `Single`, `Min`, `Max` return `(T, bool)` instead of `any`.\n- `ToSlice()` returns `[]T` directly (no pointer argument).\n- Data sources use typed constructors: `FromSlice`, `FromMap`, `FromChannel`, `FromString`, `FromSeq`, `Range`, `Repeat`.\n\n## Usage Examples\n\n### Example 1: Simple filter + projection (slice of structs)\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\ntype Car struct {\n    Year  int\n    Owner string\n    Model string\n}\n\nfunc ownersAfter2015(cars []Car) []string {\n    return FromSlice(cars).\n        Where(func(c Car) bool { return c.Year >= 2015 }).\n        Select(func(c Car) string { return c.Owner }).\n        ToSlice()\n}\n```\n\n### Example 2: Find author with most books (grouping + aggregation)\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\ntype Book struct {\n    ID      int\n    Title   string\n    Authors []string\n}\n\nfunc topAuthor(books []Book) (author string, ok bool) {\n    g, ok := FromSlice(books).\n        SelectMany(func(b Book) Query[string] {\n            return FromSlice(b.Authors)\n        }).\n        GroupBy(\n            func(a string) string { return a },\n            func(a string) string { return a },\n        ).\n        MaxBy(func(g Group[string, string]) int { return len(g.Group) })\n\n    if !ok {\n        return \"\", false\n    }\n    return g.Key, true\n}\n```\n\n### Example 3: MapReduce-style word frequency (top 5 words)\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\nfunc top5Words(sentences []string) []string {\n    return FromSlice(sentences).\n        SelectMany(func(s string) Query[string] {\n            return FromSlice(strings.Split(s, \" \"))\n        }).\n        GroupBy(\n            func(w string) string { return w },\n            func(w string) string { return w },\n        ).\n        OrderByDescending(func(g Group[string, string]) int { return len(g.Group) }).\n        ThenBy(func(g Group[string, string]) string { return g.Key }).\n        Take(5).\n        SelectIndexed(func(i int, g Group[string, string]) string {\n            return fmt.Sprintf(\"Rank: #%d, Word: %s, Count: %d\", i+1, g.Key, len(g.Group))\n        }).\n        ToSlice()\n}\n```\n\n### Example 4: Custom extension method\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\ntype MyQuery Query[int]\n\nfunc (q MyQuery) GreaterThan(threshold int) Query[int] {\n    return Query[int](q).Where(func(v int) bool { return v > threshold })\n}\n\nfunc gt5() []int {\n    return MyQuery(Range(1, 10)).GreaterThan(5).ToSlice()\n}\n```\n\n### Example 5: Iteration with standard `for range`\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\nq := FromSlice([]int{1, 2, 3, 4})\n\nfor v := range q.Iterate {\n    fmt.Println(v)\n}\n```\n\n## Common Patterns\n\n- Filtering + projection: `FromSlice(xs).Where(...).Select(...).ToSlice()`\n- Flattening: `SelectMany` to turn `[]T` into `Query[U]`.\n- Grouping: `GroupBy(keyFunc, valueFunc)` → `Query[Group[K, V]]`.\n- Aggregation: use `MaxBy`, `MinBy`, `SumBy`, `AverageBy` for chainable aggregations; or package-level `Max`, `Min`, `Sum`, etc.\n- Ordering: `OrderBy` \u002F `OrderByDescending` \u002F `ThenBy` with `cmp.Ordered` keys; use `Sort` for custom comparators.\n\n## Migration Notes (v4 → v5)\n\n- Replace `Query` with `Query[T]` implicitly via typed constructors (`FromSlice`, etc.).\n- Remove all `…T` methods (`WhereT`, `SelectT`, …); use `Where`, `Select`, etc. directly.\n- Replace `From(any)` with `FromSlice`, `FromMap`, `FromChannel`, `FromString`, `FromSeq`.\n- Adjust terminals: `First()`, `Last()`, etc. now return `(T, bool)`.\n- `ToSlice()` now returns `[]T`; remove the `&slice` argument pattern.\n\n## Performance Characteristics\n\n- 5–15× faster than v4 `any`-based API.\n- Allocations drop from O(n) per query to O(1) per query (only fixed closure captures).\n- Ideal for high-throughput pipelines over large slices\u002Fiterators.\n\n## References\n\n- Library: https:\u002F\u002Fgithub.com\u002Fahmetb\u002Fgo-linq (v5 branch \u002F v5 module)  \n- Docs & examples: https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fahmetb\u002Fgo-linq\u002Fv5  \n- Migration guide: `MIGRATION.md` in the go-linq repo.","# Skill: go-linq v5 (github.com\u002Fahmetb\u002Fgo-linq\u002Fv5)\n\n## Purpose\n\nProvide LINQ-style query capabilities in Go using **fully type-safe, generic-method-based** APIs introduced in **Go 1.27**.  \nUse this skill whenever you need composable, lazy, type-safe queries over slices, maps, channels, strings, or `iter.Seq[T]`.\n\n## When to Use\n\n- Go version: **1.27+** (required for generic methods).  \n- Requirement: LINQ-like query chains with **no `interface{}`\u002F`any`**, no type assertions, and minimal allocations.  \n- Import path: `github.com\u002Fahmetb\u002Fgo-linq\u002Fv5`.\n\n> If Go \u003C 1.27 or generic methods are unavailable, fall back to `github.com\u002Fahmetb\u002Fgo-linq\u002Fv4` (any-based API).\n\n## Installation\n\n```bash\ngo get github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\n```\n\nIn `go.mod`:\n\n```go\nrequire github.com\u002Fahmetb\u002Fgo-linq\u002Fv5 v5.0.0\n```\n\n## Core Concepts\n\n- `Query[T]` is the central type; all operators preserve or transform `T` in a type-safe way.\n- Type-changing operators (e.g. `Select`, `SelectMany`, `Join`, `GroupBy`) are **generic methods** whose result type is inferred from your functions.\n- No reflection-based `…T` variants: base methods are already typed.\n- Terminals like `First`, `Last`, `Single`, `Min`, `Max` return `(T, bool)` instead of `any`.\n- `ToSlice()` returns `[]T` directly (no pointer argument).\n- Data sources use typed constructors: `FromSlice`, `FromMap`, `FromChannel`, `FromString`, `FromSeq`, `Range`, `Repeat`.\n\n## Usage Examples\n\n### Example 1: Simple filter + projection (slice of structs)\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\ntype Car struct {\n    Year  int\n    Owner string\n    Model string\n}\n\nfunc ownersAfter2015(cars []Car) []string {\n    return FromSlice(cars).\n        Where(func(c Car) bool { return c.Year >= 2015 }).\n        Select(func(c Car) string { return c.Owner }).\n        ToSlice()\n}\n```\n\n### Example 2: Find author with most books (grouping + aggregation)\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\ntype Book struct {\n    ID      int\n    Title   string\n    Authors []string\n}\n\nfunc topAuthor(books []Book) (author string, ok bool) {\n    g, ok := FromSlice(books).\n        SelectMany(func(b Book) Query[string] {\n            return FromSlice(b.Authors)\n        }).\n        GroupBy(\n            func(a string) string { return a },\n            func(a string) string { return a },\n        ).\n        MaxBy(func(g Group[string, string]) int { return len(g.Group) })\n\n    if !ok {\n        return \"\", false\n    }\n    return g.Key, true\n}\n```\n\n### Example 3: MapReduce-style word frequency (top 5 words)\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\nfunc top5Words(sentences []string) []string {\n    return FromSlice(sentences).\n        SelectMany(func(s string) Query[string] {\n            return FromSlice(strings.Split(s, \" \"))\n        }).\n        GroupBy(\n            func(w string) string { return w },\n            func(w string) string { return w },\n        ).\n        OrderByDescending(func(g Group[string, string]) int { return len(g.Group) }).\n        ThenBy(func(g Group[string, string]) string { return g.Key }).\n        Take(5).\n        SelectIndexed(func(i int, g Group[string, string]) string {\n            return fmt.Sprintf(\"Rank: #%d, Word: %s, Count: %d\", i+1, g.Key, len(g.Group))\n        }).\n        ToSlice()\n}\n```\n\n### Example 4: Custom extension method\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\ntype MyQuery Query[int]\n\nfunc (q MyQuery) GreaterThan(threshold int) Query[int] {\n    return Query[int](q).Where(func(v int) bool { return v > threshold })\n}\n\nfunc gt5() []int {\n    return MyQuery(Range(1, 10)).GreaterThan(5).ToSlice()\n}\n```\n\n### Example 5: Iteration with standard `for range`\n\n```go\nimport . \"github.com\u002Fahmetb\u002Fgo-linq\u002Fv5\"\n\nq := FromSlice([]int{1, 2, 3, 4})\n\nfor v := range q.Iterate {\n    fmt.Println(v)\n}\n```\n\n## Common Patterns\n\n- Filtering + projection: `FromSlice(xs).Where(...).Select(...).ToSlice()`\n- Flattening: `SelectMany` to turn `[]T` into `Query[U]`.\n- Grouping: `GroupBy(keyFunc, valueFunc)` → `Query[Group[K, V]]`.\n- Aggregation: use `MaxBy`, `MinBy`, `SumBy`, `AverageBy` for chainable aggregations; or package-level `Max`, `Min`, `Sum`, etc.\n- Ordering: `OrderBy` \u002F `OrderByDescending` \u002F `ThenBy` with `cmp.Ordered` keys; use `Sort` for custom comparators.\n\n## Migration Notes (v4 → v5)\n\n- Replace `Query` with `Query[T]` implicitly via typed constructors (`FromSlice`, etc.).\n- Remove all `…T` methods (`WhereT`, `SelectT`, …); use `Where`, `Select`, etc. directly.\n- Replace `From(any)` with `FromSlice`, `FromMap`, `FromChannel`, `FromString`, `FromSeq`.\n- Adjust terminals: `First()`, `Last()`, etc. now return `(T, bool)`.\n- `ToSlice()` now returns `[]T`; remove the `&slice` argument pattern.\n\n## Performance Characteristics\n\n- 5–15× faster than v4 `any`-based API.\n- Allocations drop from O(n) per query to O(1) per query (only fixed closure captures).\n- Ideal for high-throughput pipelines over large slices\u002Fiterators.\n\n## References\n\n- Library: https:\u002F\u002Fgithub.com\u002Fahmetb\u002Fgo-linq (v5 branch \u002F v5 module)  \n- Docs & examples: https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fahmetb\u002Fgo-linq\u002Fv5  \n- Migration guide: `MIGRATION.md` in the go-linq repo.",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":27},{"source":25,"version":26},"https:\u002F\u002Fgithub.com\u002Fahmetb\u002Fgo-linq","1.0","Go 1.27+ (generic methods required). Intended for Go codebases using github.com\u002Fahmetb\u002Fgo-linq\u002Fv5.","main","ad3f6e2cb2cbbc5e8c6e4297889c80bd1492e6ee",".agents\u002Fskills\u002Fgo-linq","https:\u002F\u002Fgithub.com\u002Fdhcgn\u002Fimmich-admin-cli","https:\u002F\u002Fgithub.com\u002Fdhcgn","https:\u002F\u002Fhdev.io\u002F","Father, Head of AI, Coach and Developer (Go\u002FC#).\r\nInto cryptography, confidential computing and post-quantum crypto.","2026-10-30 19:51:12",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add dhcgn\u002Fimmich-admin-cli --skill go-linq",{"tool":42,"command":43},"bunx","bunx skills add dhcgn\u002Fimmich-admin-cli --skill go-linq",{"tool":45,"command":46},"pnpm","pnpm dlx skills add dhcgn\u002Fimmich-admin-cli --skill go-linq","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdhcgn\u002Fimmich-admin-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgo-linq\u002FSKILL.md",true,[],[51,57,64,71,78,85],{"skillNo":52,"name":53,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M79CAT3KJJVN9EH4MG3ZS475","immich-admin-cli","https:\u002F\u002Fgithub.com\u002Fdhcgn\u002Fimmich-admin-cli\u002Fblob\u002Fmain\u002Fimmich-admin-cli\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79CAPHVJ2F3VFBJNCQXNAJG","wsl","Windows Subsystem for Linux (WSL) allows you to run a Linux environment directly on Windows, unmodified, without the overhead of a traditional virtual machine. If you need to run Linux commands, scripts, or applications on a Windows machine, WSL is the way to go. This skill provides guidance on how to use WSL effectively.","https:\u002F\u002Fgithub.com\u002Fdhcgn\u002Fimmich-admin-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwsl\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M79CAJX50X8219K95BQRW3R1","rtk","Prefix covered shell commands with rtk so output is filtered\u002Fcompressed before it reaches LLM context — git, gh, cargo, pytest, go test, docker, kubectl, aws, ls, grep, and more. Applies whenever a covered command is about to be executed in a shell.","https:\u002F\u002Fgithub.com\u002Fdhcgn\u002Fimmich-admin-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Frtk\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":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79CAC8XQREJV9SXQ6JEKJ7D","ponytail","Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says \"ponytail\", \"be lazy\", \"lazy mode\", \"simplest solution\", \"minimal solution\", \"yagni\", \"do less\", or \"shortest path\", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).","https:\u002F\u002Fgithub.com\u002Fdhcgn\u002Fimmich-admin-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fponytail\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":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79CA837C6EWD2VVTCG03G8A","ponytail-review","Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded dependencies, speculative abstractions, dead flexibility. One line per finding: location, what to cut, what replaces it. Use when the user says \"review for over-engineering\", \"what can we delete\", \"is this over-engineered\", \"simplify review\", or invokes \u002Fponytail-review. Complements correctness-focused review, this one only hunts complexity.","https:\u002F\u002Fgithub.com\u002Fdhcgn\u002Fimmich-admin-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fponytail-review\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":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M79CA3ZAFH4XFC624JWS270B","ponytail-help","Quick-reference card for all ponytail modes, skills, and commands. One-shot display, not a persistent mode. Trigger: \u002Fponytail-help, \"ponytail help\", \"what ponytail commands\", \"how do I use ponytail\".","https:\u002F\u002Fgithub.com\u002Fdhcgn\u002Fimmich-admin-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fponytail-help\u002FSKILL.md",[],[]]