[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75XQDAYJ2CBD5TRWY1P9CXA":3,"skill-same:01M75XQDAYJ2CBD5TRWY1P9CXA":72},{"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":42,"commitSha":43,"skillDirectory":44,"forksCount":14,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":61},"01M75XQDAYJ2CBD5TRWY1P9CXA","golang-stretchr-testify",null,"Comprehensive guide to stretchr\u002Ftestify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use when writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require. Covers testify assertions, mock expectations, argument matchers, call verification, suite lifecycle, and advanced patterns like Eventually, JSONEq, and custom matchers. Apply when the codebase imports github.com\u002Fstretchr\u002Ftestify.","sushichan044\u002Fgo-cli-sub-command-completion","sushichan044","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F71284054?v=4","01M6CD61CFDCQYW4XTQ1CF5200","Kentaro Suzuki","01M75XMZ4B4C4XMZA1WKDQQBFK",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-stretchr-testify\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: golang-stretchr-testify\ndescription: \"Comprehensive guide to stretchr\u002Ftestify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use when writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require. Covers testify assertions, mock expectations, argument matchers, call verification, suite lifecycle, and advanced patterns like Eventually, JSONEq, and custom matchers. Apply when the codebase imports github.com\u002Fstretchr\u002Ftestify.\"\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.2.0\"\n  openclaw:\n    emoji: \"✅\"\n    homepage: https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang\n    requires:\n      bins:\n        - go\n        - gotests\n    install:\n      - kind: go\n        package: github.com\u002Fcweill\u002Fgotests\u002F...@latest\n        bins: [gotests]\n    skill-library-version: \"1.11.1\"\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 Bash(gotests:*) AskUserQuestion\n---\n\n**Persona:** You are a Go engineer who treats tests as executable specifications. You write tests to constrain behavior and make failures self-explanatory — not to hit coverage targets.\n\n**Modes:**\n\n- **Write mode** — adding new tests or mocks to a codebase.\n- **Review mode** — auditing existing test code for testify misuse.\n\n# stretchr\u002Ftestify\n\ntestify complements Go's `testing` package with readable assertions, mocks, and suites. It does not replace `testing` — always use `*testing.T` as the entry point.\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\n## assert vs require\n\nBoth offer identical assertions. The difference is failure behavior:\n\n- **assert**: records failure, continues — see all failures at once\n- **require**: calls `t.FailNow()` — use for preconditions where continuing would panic or mislead\n\nUse `assert.New(t)` \u002F `require.New(t)` for readability. Name them `is` and `must`:\n\n```go\nfunc TestParseConfig(t *testing.T) {\n    is := assert.New(t)\n    must := require.New(t)\n\n    cfg, err := ParseConfig(\"testdata\u002Fvalid.yaml\")\n    must.NoError(err)    \u002F\u002F stop if parsing fails — cfg would be nil\n    must.NotNil(cfg)\n\n    is.Equal(\"production\", cfg.Environment)\n    is.Equal(8080, cfg.Port)\n    is.True(cfg.TLS.Enabled)\n}\n```\n\n**Rule**: `require` for preconditions (setup, error checks), `assert` for verifications. Never mix randomly.\n\n## Core Assertions\n\n```go\nis := assert.New(t)\n\n\u002F\u002F Equality\nis.Equal(expected, actual)              \u002F\u002F DeepEqual + exact type\nis.NotEqual(unexpected, actual)\nis.EqualValues(expected, actual)        \u002F\u002F converts to common type first\nis.EqualExportedValues(expected, actual)\n\n\u002F\u002F Nil \u002F Bool \u002F Emptiness\nis.Nil(obj)                  is.NotNil(obj)\nis.True(cond)                is.False(cond)\nis.Empty(collection)         is.NotEmpty(collection)\nis.Len(collection, n)\n\n\u002F\u002F Contains (strings, slices, map keys)\nis.Contains(\"hello world\", \"world\")\nis.Contains([]int{1, 2, 3}, 2)\nis.Contains(map[string]int{\"a\": 1}, \"a\")\n\n\u002F\u002F Comparison\nis.Greater(actual, threshold)     is.Less(actual, ceiling)\nis.Positive(val)                  is.Negative(val)\nis.Zero(val)\n\n\u002F\u002F Errors\nis.Error(err)                     is.NoError(err)\nis.ErrorIs(err, ErrNotFound)      \u002F\u002F walks error chain\nis.ErrorAs(err, &target)\nis.ErrorContains(err, \"not found\")\n\n\u002F\u002F Type\nis.IsType(&User{}, obj)\nis.Implements((*io.Reader)(nil), obj)\n```\n\n**Argument order**: always `(expected, actual)` — swapping produces confusing diff output.\n\n## Advanced Assertions\n\n```go\nis.ElementsMatch([]string{\"b\", \"a\", \"c\"}, result)             \u002F\u002F unordered comparison\nis.InDelta(3.14, computedPi, 0.01)                            \u002F\u002F float tolerance\nis.JSONEq(`{\"name\":\"alice\"}`, `{\"name\": \"alice\"}`)             \u002F\u002F ignores whitespace\u002Fkey order\nis.WithinDuration(expected, actual, 5*time.Second)\nis.Regexp(`^user-[a-f0-9]+$`, userID)\n\n\u002F\u002F Async polling\nis.Eventually(func() bool {\n    status, _ := client.GetJobStatus(jobID)\n    return status == \"completed\"\n}, 5*time.Second, 100*time.Millisecond)\n\n\u002F\u002F Async polling with rich assertions\nis.EventuallyWithT(func(c *assert.CollectT) {\n    resp, err := client.GetOrder(orderID)\n    assert.NoError(c, err)\n    assert.Equal(c, \"shipped\", resp.Status)\n}, 10*time.Second, 500*time.Millisecond)\n```\n\n## testify\u002Fmock\n\nMock interfaces to isolate the unit under test. Embed `mock.Mock`, implement methods with `m.Called()`, always verify with `AssertExpectations(t)`.\n\nKey matchers: `mock.Anything`, `mock.AnythingOfType(\"T\")`, `mock.MatchedBy(func)`. Call modifiers: `.Once()`, `.Times(n)`, `.Maybe()`, `.Run(func)`.\n\nFor defining mocks, argument matchers, call modifiers, return sequences, and verification, see [Mock reference](.\u002Freferences\u002Fmock.md).\n\n## testify\u002Fsuite\n\nSuites group related tests with shared setup\u002Fteardown.\n\n### Lifecycle\n\n```\nSetupSuite()    → once before all tests\n  SetupTest()   → before each test\n    TestXxx()\n  TearDownTest() → after each test\nTearDownSuite() → once after all tests\n```\n\n### Example\n\n```go\ntype TokenServiceSuite struct {\n    suite.Suite\n    store   *MockTokenStore\n    service *TokenService\n}\n\nfunc (s *TokenServiceSuite) SetupTest() {\n    s.store = new(MockTokenStore)\n    s.service = NewTokenService(s.store)\n}\n\nfunc (s *TokenServiceSuite) TestGenerate_ReturnsValidToken() {\n    s.store.On(\"Save\", mock.Anything, mock.Anything).Return(nil)\n    token, err := s.service.Generate(\"user-42\")\n    s.NoError(err)\n    s.NotEmpty(token)\n    s.store.AssertExpectations(s.T())\n}\n\n\u002F\u002F Required launcher\nfunc TestTokenServiceSuite(t *testing.T) {\n    suite.Run(t, new(TokenServiceSuite))\n}\n```\n\nSuite methods like `s.Equal()` behave like `assert`. For require: `s.Require().NotNil(obj)`.\n\n## Common Mistakes\n\n- **Forgetting `AssertExpectations(t)`** — mock expectations silently pass without verification\n- **`is.Equal(ErrNotFound, err)`** — fails on wrapped errors. Use `is.ErrorIs` to walk the chain\n- **Swapped argument order** — testify assumes `(expected, actual)`. Swapping produces backwards diffs\n- **`assert` for guards** — test continues after failure and panics on nil dereference. Use `require`\n- **Missing `suite.Run()`** — without the launcher function, zero tests execute silently\n- **Comparing pointers** — `is.Equal(ptr1, ptr2)` compares addresses. Dereference or use `EqualExportedValues`\n\n## Linters\n\nUse `testifylint` to catch wrong argument order, assert\u002Frequire misuse, and more. See `samber\u002Fcc-skills-golang@golang-lint` skill.\n\n## Cross-References\n\n- → See `samber\u002Fcc-skills-golang@golang-testing` skill for general test patterns, table-driven tests, and CI\n- → See `samber\u002Fcc-skills-golang@golang-lint` skill for testifylint configuration\n","**Persona:** You are a Go engineer who treats tests as executable specifications. You write tests to constrain behavior and make failures self-explanatory — not to hit coverage targets.\n\n**Modes:**\n\n- **Write mode** — adding new tests or mocks to a codebase.\n- **Review mode** — auditing existing test code for testify misuse.\n\n# stretchr\u002Ftestify\n\ntestify complements Go's `testing` package with readable assertions, mocks, and suites. It does not replace `testing` — always use `*testing.T` as the entry point.\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\n## assert vs require\n\nBoth offer identical assertions. The difference is failure behavior:\n\n- **assert**: records failure, continues — see all failures at once\n- **require**: calls `t.FailNow()` — use for preconditions where continuing would panic or mislead\n\nUse `assert.New(t)` \u002F `require.New(t)` for readability. Name them `is` and `must`:\n\n```go\nfunc TestParseConfig(t *testing.T) {\n    is := assert.New(t)\n    must := require.New(t)\n\n    cfg, err := ParseConfig(\"testdata\u002Fvalid.yaml\")\n    must.NoError(err)    \u002F\u002F stop if parsing fails — cfg would be nil\n    must.NotNil(cfg)\n\n    is.Equal(\"production\", cfg.Environment)\n    is.Equal(8080, cfg.Port)\n    is.True(cfg.TLS.Enabled)\n}\n```\n\n**Rule**: `require` for preconditions (setup, error checks), `assert` for verifications. Never mix randomly.\n\n## Core Assertions\n\n```go\nis := assert.New(t)\n\n\u002F\u002F Equality\nis.Equal(expected, actual)              \u002F\u002F DeepEqual + exact type\nis.NotEqual(unexpected, actual)\nis.EqualValues(expected, actual)        \u002F\u002F converts to common type first\nis.EqualExportedValues(expected, actual)\n\n\u002F\u002F Nil \u002F Bool \u002F Emptiness\nis.Nil(obj)                  is.NotNil(obj)\nis.True(cond)                is.False(cond)\nis.Empty(collection)         is.NotEmpty(collection)\nis.Len(collection, n)\n\n\u002F\u002F Contains (strings, slices, map keys)\nis.Contains(\"hello world\", \"world\")\nis.Contains([]int{1, 2, 3}, 2)\nis.Contains(map[string]int{\"a\": 1}, \"a\")\n\n\u002F\u002F Comparison\nis.Greater(actual, threshold)     is.Less(actual, ceiling)\nis.Positive(val)                  is.Negative(val)\nis.Zero(val)\n\n\u002F\u002F Errors\nis.Error(err)                     is.NoError(err)\nis.ErrorIs(err, ErrNotFound)      \u002F\u002F walks error chain\nis.ErrorAs(err, &target)\nis.ErrorContains(err, \"not found\")\n\n\u002F\u002F Type\nis.IsType(&User{}, obj)\nis.Implements((*io.Reader)(nil), obj)\n```\n\n**Argument order**: always `(expected, actual)` — swapping produces confusing diff output.\n\n## Advanced Assertions\n\n```go\nis.ElementsMatch([]string{\"b\", \"a\", \"c\"}, result)             \u002F\u002F unordered comparison\nis.InDelta(3.14, computedPi, 0.01)                            \u002F\u002F float tolerance\nis.JSONEq(`{\"name\":\"alice\"}`, `{\"name\": \"alice\"}`)             \u002F\u002F ignores whitespace\u002Fkey order\nis.WithinDuration(expected, actual, 5*time.Second)\nis.Regexp(`^user-[a-f0-9]+$`, userID)\n\n\u002F\u002F Async polling\nis.Eventually(func() bool {\n    status, _ := client.GetJobStatus(jobID)\n    return status == \"completed\"\n}, 5*time.Second, 100*time.Millisecond)\n\n\u002F\u002F Async polling with rich assertions\nis.EventuallyWithT(func(c *assert.CollectT) {\n    resp, err := client.GetOrder(orderID)\n    assert.NoError(c, err)\n    assert.Equal(c, \"shipped\", resp.Status)\n}, 10*time.Second, 500*time.Millisecond)\n```\n\n## testify\u002Fmock\n\nMock interfaces to isolate the unit under test. Embed `mock.Mock`, implement methods with `m.Called()`, always verify with `AssertExpectations(t)`.\n\nKey matchers: `mock.Anything`, `mock.AnythingOfType(\"T\")`, `mock.MatchedBy(func)`. Call modifiers: `.Once()`, `.Times(n)`, `.Maybe()`, `.Run(func)`.\n\nFor defining mocks, argument matchers, call modifiers, return sequences, and verification, see [Mock reference](.\u002Freferences\u002Fmock.md).\n\n## testify\u002Fsuite\n\nSuites group related tests with shared setup\u002Fteardown.\n\n### Lifecycle\n\n```\nSetupSuite()    → once before all tests\n  SetupTest()   → before each test\n    TestXxx()\n  TearDownTest() → after each test\nTearDownSuite() → once after all tests\n```\n\n### Example\n\n```go\ntype TokenServiceSuite struct {\n    suite.Suite\n    store   *MockTokenStore\n    service *TokenService\n}\n\nfunc (s *TokenServiceSuite) SetupTest() {\n    s.store = new(MockTokenStore)\n    s.service = NewTokenService(s.store)\n}\n\nfunc (s *TokenServiceSuite) TestGenerate_ReturnsValidToken() {\n    s.store.On(\"Save\", mock.Anything, mock.Anything).Return(nil)\n    token, err := s.service.Generate(\"user-42\")\n    s.NoError(err)\n    s.NotEmpty(token)\n    s.store.AssertExpectations(s.T())\n}\n\n\u002F\u002F Required launcher\nfunc TestTokenServiceSuite(t *testing.T) {\n    suite.Run(t, new(TokenServiceSuite))\n}\n```\n\nSuite methods like `s.Equal()` behave like `assert`. For require: `s.Require().NotNil(obj)`.\n\n## Common Mistakes\n\n- **Forgetting `AssertExpectations(t)`** — mock expectations silently pass without verification\n- **`is.Equal(ErrNotFound, err)`** — fails on wrapped errors. Use `is.ErrorIs` to walk the chain\n- **Swapped argument order** — testify assumes `(expected, actual)`. Swapping produces backwards diffs\n- **`assert` for guards** — test continues after failure and panics on nil dereference. Use `require`\n- **Missing `suite.Run()`** — without the launcher function, zero tests execute silently\n- **Comparing pointers** — `is.Equal(ptr1, ptr2)` compares addresses. Dereference or use `EqualExportedValues`\n\n## Linters\n\nUse `testifylint` to catch wrong argument order, assert\u002Frequire misuse, and more. See `samber\u002Fcc-skills-golang@golang-lint` skill.\n\n## Cross-References\n\n- → See `samber\u002Fcc-skills-golang@golang-testing` skill for general test patterns, table-driven tests, and CI\n- → See `samber\u002Fcc-skills-golang@golang-lint` skill for testifylint configuration\n",{"name":5,"license":15,"metadata":24,"description":7,"allowed-tools":39,"compatibility":40,"user-invocable":41},{"author":25,"version":26,"openclaw":27},"samber","1.2.0",{"emoji":28,"install":29,"homepage":35,"requires":36,"skill-library-version":38},"✅",[30],{"bins":31,"kind":33,"package":34},[32],"gotests","go","github.com\u002Fcweill\u002Fgotests\u002F...@latest","https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang",{"bins":37},[33,32],"1.11.1","Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs Bash(gotests:*) AskUserQuestion","Designed for Claude Code or similar AI coding agents, and for projects using Golang.",true,"main","5bd2e2880509d8934a47694565489e55d58d3040",".agents\u002Fskills\u002Fgolang-stretchr-testify","https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion","https:\u002F\u002Fgithub.com\u002Fsushichan044","A software engineer with a passion for novels and music.","2026-06-19 12:37:01",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":41},[51,54,57],{"tool":52,"command":53},"npx","npx skills add sushichan044\u002Fgo-cli-sub-command-completion --skill golang-stretchr-testify",{"tool":55,"command":56},"bunx","bunx skills add sushichan044\u002Fgo-cli-sub-command-completion --skill golang-stretchr-testify",{"tool":58,"command":59},"pnpm","pnpm dlx skills add sushichan044\u002Fgo-cli-sub-command-completion --skill golang-stretchr-testify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-stretchr-testify\u002FSKILL.md",[62,68],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"evals\u002Fevals.json","REFERENCE","参考文档",12856,"https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-stretchr-testify\u002Fevals\u002Fevals.json",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fmock.md",3213,"https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-stretchr-testify\u002Freferences\u002Fmock.md",[73,80,87,94,101,108],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M75XQZ90ZTFP09ZH20ZHGG5G","golang-troubleshooting","Troubleshoot Golang programs systematically - find and fix the root cause. Use when encountering bugs, crashes, deadlocks, or unexpected behavior in Go code. Covers debugging methodology, common Go pitfalls, test-driven debugging, pprof setup and capture, Delve debugger, race detection, GODEBUG tracing, and production debugging. Start here for any 'something is wrong' situation. Not for interpreting profiles or benchmarking (→ See `samber\u002Fcc-skills-golang@golang-benchmark` skill) or applying optimization patterns (→ See `samber\u002Fcc-skills-golang@golang-performance` skill).","https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-troubleshooting\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M75XQS47M7BEJHGDBYB80GV7","golang-testing","Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI, or debugging flaky\u002Fslow tests. For testify-specific APIs see `samber\u002Fcc-skills-golang@golang-stretchr-testify`; for measurement methodology see `samber\u002Fcc-skills-golang@golang-benchmark`.","https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-testing\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M75XQJ26PB3HX3BE2Y9PQTRH","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\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-structs-interfaces\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M75XQ7S4862T0RMNYP9P468F","golang-spf13-cobra","Golang CLI command tree library using spf13\u002Fcobra — cobra.Command, RunE vs Run, PersistentPreRunE hook chain, Args validators (NoArgs, ExactArgs, MatchAll, custom), persistent vs local flags, command groups, ValidArgsFunction, RegisterFlagCompletionFunc, ShellCompDirective, usage\u002Fhelp template customization, man-page and markdown doc generation, and testing with SetArgs\u002FSetOut\u002FSetErr. Apply when using or adopting spf13\u002Fcobra, or when the codebase imports `github.com\u002Fspf13\u002Fcobra`. For configuration layering alongside cobra, see the `samber\u002Fcc-skills-golang@golang-spf13-viper` skill. For general CLI architecture (project layout, exit codes, signal handling, I\u002FO patterns), see `samber\u002Fcc-skills-golang@golang-cli`.","https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-spf13-cobra\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M75XQ289794Z4EVRBJCGM80V","golang-security","Security best practices and vulnerability prevention for Golang. Covers injection (SQL, command, XSS), cryptography, filesystem safety, network security, cookies, secrets management, memory safety, and logging. Apply when writing, reviewing, or auditing Go code for security, or when working on any risky code involving crypto, I\u002FO, secrets management, user input handling, or authentication. Includes configuration of security tools.","https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-security\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M75XPWT6EAP5M2DZZQGZCBMV","golang-samber-lo","Functional programming helpers for Golang using samber\u002Flo — 500+ type-safe generic functions for slices, maps, channels, strings, math, tuples, and concurrency (Map, Filter, Reduce, GroupBy, Chunk, Flatten, Find, Uniq, etc.). Core immutable package (lo), concurrent variants (lo\u002Fparallel aka lop), in-place mutations (lo\u002Fmutable aka lom), lazy iterators (lo\u002Fit aka loi for Go 1.23+), and experimental SIMD (lo\u002Fexp\u002Fsimd). Apply when using or adopting samber\u002Flo, when the codebase imports github.com\u002Fsamber\u002Flo, or when implementing functional-style data transformations in Go. Not for streaming pipelines (→ See `samber\u002Fcc-skills-golang@golang-samber-ro` skill).","https:\u002F\u002Fgithub.com\u002Fsushichan044\u002Fgo-cli-sub-command-completion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgolang-samber-lo\u002FSKILL.md",[],[]]