agentleFS

Find the best CLAUDE.md, AGENTS.md and Claude skills

One search for your own team's files and the public ecosystem. See how real projects write their agent instructions, and bring the good ideas home.

Worked for most · soon
rockcookiesSkill

golang-project-layout

rockcookies/skills/skills/samber-golang/golang-project-layout/SKILL.md

Provides a guide for setting up Golang project layouts and workspaces. Use when starting a new Go project, organizing an existing codebase, setting up a monorepo with multiple packages, creating CLI tools with multiple main packages, deciding between cmd/internal/pkg directory conventions, or discussing package restructuring, package splits, or module splits.

Often used withgolang-samber-mogolang-google-wiregolang-samber-ro

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-refactoring

rockcookies/skills/skills/samber-golang/golang-refactoring/SKILL.md

Golang refactoring — the safe, at-scale process for restructuring existing Go code: a coverage-adaptive safety net, tool-driven behavior-preserving transforms (gopls Rename/Inline/Extract, `gofmt -r`, `eg`, `gopatch`, `go/analysis` fixers), the Fowler catalog mapped to Go, breaking import cycles, moving types across packages, and a human-in-the-loop workflow of small stacked PRs on a refactoring branch. Apply when code is hard to maintain, a function/type has grown too large, a code smell needs fixing, adding a feature is blocked by the current structure, or the user asks to clean up, refactor, or improve Go code — also for renaming at scale, extracting functions/interfaces, moving code between packages, splitting packages, or planning a multi-step refactor. Target styles owned elsewhere → See `golang-naming` (renames), `@golang-project-layout` (splits), `@golang-modernize` (idioms), `@golang-code-style` (control flow), `@golang-design-patterns` (patterns/DI).

Often used withgolang-samber-rogolang-samber-oopsgolang-benchmark

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-safety

rockcookies/skills/skills/samber-golang/golang-safety/SKILL.md

Defensive Golang coding to prevent panics, silent data corruption, and subtle runtime bugs. Use when encountering nil panics, append aliasing, map concurrent access, float comparison pitfalls, or zero-value design questions. Also use when reviewing code for nil-safety, numeric conversion overflow, resource lifecycle issues (defer in loops), or defensive copying of slices and maps.

Often used withgolang-continuous-integrationgolang-samber-rogolang-data-structures

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-samber-do

rockcookies/skills/skills/samber-golang/golang-samber-do/SKILL.md

Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization. Apply when using or adopting samber/do, when the codebase imports github.com/samber/do or github.com/samber/do/v2, or when refactoring manual constructor injection into a DI container.

Often used withgolang-google-wiregolang-graphqlgolang-uber-dig

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-samber-hot

rockcookies/skills/skills/samber-golang/golang-samber-hot/SKILL.md

In-memory caching in Golang using samber/hot — eviction algorithms (LRU, LFU, TinyLFU, W-TinyLFU, S3FIFO, ARC, TwoQueue, SIEVE, FIFO), TTL, cache loaders, sharding, stale-while-revalidate, missing key caching, and Prometheus metrics. Apply when using or adopting samber/hot, when the codebase imports github.com/samber/hot, or when the project repeatedly loads the same medium-to-low cardinality resources at high frequency and needs to reduce latency or backend pressure.

Often used withgolang-google-wiregolang-graphqlgolang-uber-dig

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-samber-lo

rockcookies/skills/skills/samber-golang/golang-samber-lo/SKILL.md

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).

Often used withgolang-how-togolang-refactoringgolang-swagger

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-samber-mo

rockcookies/skills/skills/samber-golang/golang-samber-mo/SKILL.md

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.

Often used withgolang-google-wiregolang-graphqlgolang-uber-dig

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-samber-oops

rockcookies/skills/skills/samber-golang/golang-samber-oops/SKILL.md

Structured error handling in Golang with samber/oops — error builders, stack traces, error codes, error context, error wrapping, error attributes, user-facing vs developer messages, panic recovery, and logger integration. Apply when using or adopting samber/oops, or when the codebase already imports github.com/samber/oops.

Often used withgolang-google-wiregolang-refactoringgolang-graphql

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-samber-ro

rockcookies/skills/skills/samber-golang/golang-samber-ro/SKILL.md

Reactive streams and event-driven programming in Golang using samber/ro — ReactiveX implementation with 150+ type-safe operators, cold/hot observables, 5 subject types (Publish, Behavior, Replay, Async, Unicast), declarative pipelines via Pipe, 40+ plugins (HTTP, cron, fsnotify, JSON, logging), automatic backpressure, error propagation, and Go context integration. Apply when using or adopting samber/ro, when the codebase imports github.com/samber/ro, or when building asynchronous event-driven pipelines, real-time data processing, streams, or reactive architectures in Go. Not for finite slice transforms (→ See `golang-samber-lo` skill).

Often used withgolang-google-wiregolang-refactoringgolang-graphql

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-samber-slog

rockcookies/skills/skills/samber-golang/golang-samber-slog/SKILL.md

Structured logging extensions for Golang using samber/slog-**** packages — multi-handler pipelines (slog-multi), log sampling (slog-sampling), attribute formatting (slog-formatter), HTTP middleware (slog-fiber, slog-gin, slog-chi, slog-echo), and backend routing (slog-datadog, slog-sentry, slog-loki, slog-syslog, slog-logstash, slog-graylog...). Apply when using or adopting slog, or when the codebase already imports any github.com/samber/slog-* package.

Often used withgolang-how-togolang-refactoringgolang-swagger

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-security

rockcookies/skills/skills/samber-golang/golang-security/SKILL.md

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/O, secrets management, user input handling, or authentication. Includes configuration of security tools.

Often used withgolang-how-togolang-goplsgolang-swagger

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-spf13-cobra

rockcookies/skills/skills/samber-golang/golang-spf13-cobra/SKILL.md

Golang CLI command tree library using spf13/cobra — cobra.Command, RunE vs Run, PersistentPreRunE hook chain, Args validators (NoArgs, ExactArgs, MatchAll, custom), persistent vs local flags, command groups, ValidArgsFunction, RegisterFlagCompletionFunc, ShellCompDirective, usage/help template customization, man-page and markdown doc generation, and testing with SetArgs/SetOut/SetErr. Apply when using or adopting spf13/cobra, or when the codebase imports `github.com/spf13/cobra`. For configuration layering alongside cobra, see the `golang-spf13-viper` skill. For general CLI architecture (project layout, exit codes, signal handling, I/O patterns), see `golang-cli`.

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-spf13-viper

rockcookies/skills/skills/samber-golang/golang-spf13-viper/SKILL.md

Golang configuration library using spf13/viper — layered precedence (flag > env > file > KV > default), BindPFlag/BindPFlags, SetEnvPrefix + SetEnvKeyReplacer + AutomaticEnv, ReadInConfig + ConfigFileNotFoundError, Unmarshal + mapstructure struct tags, Sub for sub-trees, WatchConfig + OnConfigChange for hot reload, viper.New() for test isolation, and remote KV integration. Apply when using or adopting spf13/viper, or when the codebase imports `github.com/spf13/viper`. For CLI command structure alongside viper, see the `golang-spf13-cobra` skill. For general CLI architecture, see `golang-cli`.

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-stay-updated

rockcookies/skills/skills/samber-golang/golang-stay-updated/SKILL.md

Provides resources to stay updated with Golang news, communities and people to follow. Use when seeking Go learning resources, discovering new libraries, finding community channels, or keeping up with Go language changes and releases.

Often used withgolang-google-wiregolang-graphqlgolang-uber-dig

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-stretchr-testify

rockcookies/skills/skills/samber-golang/golang-stretchr-testify/SKILL.md

Comprehensive guide to stretchr/testify 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/stretchr/testify.

Often used withgolang-google-wiregolang-graphqlgolang-uber-dig

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-structs-interfaces

rockcookies/skills/skills/samber-golang/golang-structs-interfaces/SKILL.md

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/YAML/DB 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.

Often used withgolang-samber-logolang-how-togolang-dependency-management

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-swagger

rockcookies/skills/skills/samber-golang/golang-swagger/SKILL.md

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.

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-testing

rockcookies/skills/skills/samber-golang/golang-testing/SKILL.md

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/slow tests. For testify-specific APIs see `golang-stretchr-testify`; for measurement methodology see `golang-benchmark`.

Often used withgolang-concurrencygolang-how-togolang-security

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-troubleshooting

rockcookies/skills/skills/samber-golang/golang-troubleshooting/SKILL.md

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 `golang-benchmark` skill) or applying optimization patterns (→ See `golang-performance` skill).

Often used withgolang-data-structuresgolang-goplsgolang-google-wire

13mo agoReviewMountCreate a free account to mount
rockcookiesSkill

golang-uber-dig

rockcookies/skills/skills/samber-golang/golang-uber-dig/SKILL.md

Implements dependency injection in Golang using uber-go/dig — reflection-based container, Provide/Invoke, dig.In/dig.Out parameter and result objects, named values, value groups, optional dependencies, scopes, and Decorate. Apply when using or adopting uber-go/dig, when the codebase imports `go.uber.org/dig`, or when wiring an application graph at startup. For higher-level lifecycle and modules, see `golang-uber-fx` skill.

13mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

Agent instruction files

What are agent instruction files?

Plain text files in a repository that tell a coding agent how the project works: commands to run, conventions to follow and things to avoid. CLAUDE.md, AGENTS.md, cursor rules and skills are the common kinds.

CLAUDE.md or AGENTS.md?

CLAUDE.md is read by Claude Code. AGENTS.md is an open format that Codex, Cursor and other agents read. Many projects keep one and point the other at it.

What is a skill?

A folder with a SKILL.md that describes one capability, such as filling PDFs or reviewing code. The agent loads it only when the task calls for it.

Can I search my own team's files too?

Your agents already can, over MCP, limited to the files you're allowed to read. Searching them from this page is coming.