agentleFS
tquangkhai98tquangkhai98/browser-profiles-manager/.agents/skills/golang-testing/SKILL.md

golang-testing

Skill2 starsChanged 7 months agoNo licenceView on GitHub

Provides a comprehensive guide for writing production-ready Golang tests. Covers table-driven tests, test suites with testify, mocks, unit tests, integration tests, benchmarks, code coverage, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, memory leaks, CI with GitHub Actions, and idiomatic naming conventions. Use this whenever writing tests, asking about testing patterns or setting up CI for Go projects. Essential for ANY test-related conversation in Go.

We split this skill into the rules it gives an agent

17 rules. 0 are common, 12 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 43 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.

“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

  • Other versions46 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 14

    1. samber/cc-skills-golang★ 3.6k48% same
    2. unxed/f4★ 24748% same
    3. klawisha012/agentsync★ 1860% same
    4. alexastrum/skl★ 1178% same
    5. tstapler/dotfiles★ 845% same
    6. idexal/idexal-skills★ 259% same
    7. insidemedia/monipenny★ 276% same
    8. poizoncoded/skills★ 298% same
    9. rockcookies/skills★ 157% same
    10. VerifiedOrganic/onboard★ 178% same

    4 more not listed

    Wrote their own version · 32

    1. sazardev/goca★ 299same name
    2. loulanyue/awesome-claude-notes★ 272same name
    3. Fmarzochi/EGC★ 61same name
    4. jmrplens/gitlab-mcp-server★ 45same name
    5. jmrplens/libgen-mcp★ 28same name
    6. castle-x/skills-x★ 18same name
    7. FaisalAlqarni/sp-ecc★ 9same name
    8. gongyijie85/dsh-ecc★ 8same name
    9. Lukasbrujula/claude-code-framework★ 4same name
    10. alexderz/agentic-toolbox★ 3same name

    22 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use golang-samber-lo, golang-swagger and 6 more.

    Other files people use alongside this one.

    Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
    • guynhsichngeodiecSkill

      golang-samber-lo

      Functional programming helpers for Golang using samber/lo — 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/parallel aka lop), in-place mutations (lo/mutable aka lom), lazy iterators (lo/it aka loi for Go 1.23+), and experimental SIMD (lo/exp/simd). Apply when using or adopting samber/lo, when the codebase imports github.com/samber/lo, or when implementing functional-style data transformations in Go. Not for streaming pipelines (→ See golang-samber-ro skill).

      Also in 9 projects that use this

    • alexastrumSkill

      golang-swagger

      Golang OpenAPI/Swagger documentation with swaggo/swag — annotation comments (@Summary, @Param, @Success, @Router, @Security), swag init code generation, framework integrations (gin, echo, fiber, chi, net/http), security definitions (Bearer/JWT, OAuth2, API key), and struct tags (swaggertype, enums, example, swaggerignore). Apply when adding or maintaining Swagger/OpenAPI docs in a Go project, or when the codebase imports github.com/swaggo/swag, github.com/swaggo/gin-swagger, github.com/swaggo/echo-swagger, github.com/swaggo/http-swagger, or github.com/swaggo/files.

      Also in 7 projects that use this

    • guynhsichngeodiecSkill

      golang-samber-mo

      Monadic types for Golang using samber/mo — Option, Result, Either, Future, IO, Task, and State types for type-safe nullable values, error handling, and functional composition with pipeline sub-packages. Apply when using or adopting samber/mo, when the codebase imports `github.com/samber/mo`, or when considering functional programming patterns as a safety design for Golang.

      Also in 7 projects that use this

    • alexastrumSkill

      golang-google-wire

      Compile-time dependency injection in Golang using google/wire — wire.NewSet, wire.Build, wire.Bind (interface→concrete), wire.Struct, wire.Value, wire.InterfaceValue, wire.FieldsOf, cleanup functions, //go:build wireinject injector files, and generated wire_gen.go. Apply when using or adopting google/wire, when the codebase imports `github.com/google/wire`, or when wiring an application graph at compile time via `wire.Build`. For runtime DI with reflection, see `samber/cc-skills-golang@golang-uber-dig` skill.

      Also in 6 projects that use this

    • +4 more from guynhsichngeodiec
  • In this repository20 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.