Samber技能
ego lite browser
赞助ego lite 是AI代理运行网页自动化时最快的浏览器,可与Codex或Claude Code共享您的登录状态,零成本,零配置。
Alpha Vantage MCP Server
赞助获取金融市场数据:实时和历史股票、ETF、期权、外汇、加密货币、大宗商品、基本面、技术指标等
Composio
赞助一键连接1500多个MCP服务器
golang-observability
cc-skills-golang/skills/golang-observability
Golang日常可观测性——生产环境中始终开启的信号。涵盖使用slog的结构化日志、Prometheus指标、OpenTelemetry分布式追踪、基于pprof/Pyroscope的持续性能分析、服务端RUM事件追踪、告警以及Grafana仪表板。适用于为生产监控对Go服务进行埋点、配置指标或告警、添加OpenTelemetry追踪、关联日志与追踪、将遗留日志器(zap/logrus/zerolog)迁移至slog、添加...
开发DevOpsgolang-performance
cc-skills-golang/skills/golang-performance
Golang性能优化模式与方法论——若存在X瓶颈,则应用Y方案。涵盖分配减少、CPU效率、内存布局、GC调优、池化、缓存及热路径优化。适用于性能分析或基准测试已识别瓶颈时,需采用正确优化模式进行修复。亦适用于执行性能代码审查时,提出改进建议或可帮助快速识别性能增益的基准测试。不适用于测量方法论(→...
开发代码审查golang-popular-libraries
cc-skills-golang/skills/golang-popular-libraries
推荐生产可用的Golang库和框架。当用户明确请求库建议、想要比较替代方案、需要为特定任务选择库,或项目中正在添加新依赖时使用。
开发研究代码审查golang-project-layout
cc-skills-golang/skills/golang-project-layout
提供关于设置Golang项目布局和工作空间的指南。适用于启动新Go项目、组织现有代码库、搭建包含多个包的单仓库、创建含多个主包的CLI工具、在cmd/internal/pkg目录约定间做选择,或讨论包重构、包拆分、模块拆分等场景。
开发golang-safety
cc-skills-golang/skills/golang-safety
防御性Golang编码,防止恐慌、静默数据损坏和微妙的运行时错误。在遇到nil恐慌、追加别名、映射并发访问、浮点数比较陷阱或零值设计问题时使用。也用于审查代码中的nil安全性、数值转换溢出、资源生命周期问题(循环中的defer)或切片和映射的防御性复制。
开发代码审查安全golang-samber-do
cc-skills-golang/skills/golang-samber-do
使用samber/do在Golang中实现依赖注入——服务容器、生命周期管理、作用域、健康检查、优雅关闭及模块组织。适用于使用或采用samber/do时,代码库导入github.com/samber/do或github.com/samber/do/v2时,或将手动构造函数注入重构为DI容器时。
开发代码审查测试golang-samber-hot
cc-skills-golang/skills/golang-samber-hot
使用samber/hot在Golang中实现内存缓存——包含淘汰算法(LRU、LFU、TinyLFU、W-TinyLFU、S3FIFO、ARC、TwoQueue、SIEVE、FIFO)、TTL、缓存加载器、分片、过期重验证、缺失键缓存以及Prometheus指标。适用于使用或采用samber/hot时、代码库导入github.com/samber/hot时,或项目高频重复加载相同中低基数资源且需降低延迟或后端压力时。
开发数据库golang-samber-lo
cc-skills-golang/skills/golang-samber-lo
使用 samber/lo 为 Golang 提供函数式编程辅助工具 — 500 多个类型安全的泛型函数,适用于切片、映射、通道、字符串、数学、元组和并发(Map、Filter、Reduce、GroupBy、Chunk、Flatten、Find、Uniq 等)。核心不可变包(lo)、并发变体(lo/parallel 即 lop)、原地修改(lo/mutable 即 lom)、惰性迭代器(lo/it 即 loi,适用于 Go 1.23+)以及实验性 SIMD(lo/exp/simd)。适用于使用或采用 samber/lo 时,当代码库导入...
开发golang-samber-mo
cc-skills-golang/skills/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.
开发代码审查golang-samber-oops
cc-skills-golang/skills/golang-samber-oops
在Golang中使用samber/oops进行结构化错误处理——包括错误构建器、堆栈跟踪、错误码、错误上下文、错误包装、错误属性、面向用户与开发者的消息、panic恢复以及日志集成。适用于正在使用或采用samber/oops的场景,或代码库已导入github.com/samber/oops的情况。
开发golang-samber-ro
cc-skills-golang/skills/golang-samber-ro
使用samber/ro在Golang中实现响应式流和事件驱动编程——包含150多个类型安全操作符、冷/热可观察对象、5种主题类型(Publish、Behavior、Replay、Async、Unicast)、通过Pipe实现声明式管道、40多个插件(HTTP、cron、fsnotify、JSON、日志)、自动背压、错误传播以及Go上下文集成。适用于使用或采用samber/ro时、代码库导入github.com/samber/ro时,或构建异步...
开发API数据分析golang-samber-slog
cc-skills-golang/skills/golang-samber-slog
使用samber/slog-****包为Golang提供结构化日志扩展——多处理器管道(slog-multi)、日志采样(slog-sampling)、属性格式化(slog-formatter)、HTTP中间件(slog-fiber、slog-gin、slog-chi、slog-echo)以及后端路由(slog-datadog、slog-sentry、slog-loki、slog-syslog、slog-logstash、slog-graylog...)。适用于正在使用或采用slog时,或代码库已导入任何github.com/samber/slog-*包的情况。
开发APIgolang-security
cc-skills-golang/skills/golang-security
Golang的安全最佳实践与漏洞防护,涵盖注入(SQL、命令、XSS)、密码学、文件系统安全、网络安全、Cookie、密钥管理、内存安全及日志记录。适用于编写、审查或审计Go代码的安全性,或处理涉及加密、I/O、密钥管理、用户输入处理或身份验证的高风险代码。包含安全工具的配置。
安全代码审查开发golang-spf13-cobra
cc-skills-golang/skills/golang-spf13-cobra
使用spf13/cobra的Golang CLI命令树库——cobra.Command、RunE与Run、PersistentPreRunE钩子链、Args验证器(NoArgs、ExactArgs、MatchAll、自定义)、持久标志与局部标志、
开发golang-spf13-viper
cc-skills-golang/skills/golang-spf13-viper
We need to translate the given text from English to Simplified Chinese. The text describes a Golang configuration library using spf13/viper. We must preserve the name "golang-spf13-viper" but it's not in the text, so we don't include it. We also preserve technical terms like spf13/viper, BindPFlag, etc. The translation should be accurate and natural in Chinese. The text ends with "For CLI command..." which seems incomplete, but we translate as is. Let's translate: "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
开发API代码审查golang-stay-updated
cc-skills-golang/skills/golang-stay-updated
提供资源以跟进Golang新闻、社区和值得关注的人物。适用于寻找Go学习资源、发现新库、查找社区渠道或了解Go语言变更与发布动态。
开发研究golang-stretchr-testify
cc-skills-golang/skills/golang-stretchr-testify
全面指南,涵盖stretchr/testify在Golang测试中的使用,深入介绍assert、require、mock和suite包。适用于使用testify编写测试、创建mock、设置测试套件或选择assert与require时。涵盖testify断言、mock期望、参数匹配器、调用验证、套件生命周期以及Eventually、JSONEq和自定义匹配器等高级模式。当代码库导入github.com/stretchr/testify时适用。
开发测试代码审查golang-structs-interfaces
cc-skills-golang/skills/golang-structs-interfaces
Golang 结构体与接口设计模式 — 组合、嵌入、类型断言、类型开关、接口隔离、通过接口实现依赖注入、结构体字段标签、指针接收者与值接收者。在设计 Go 类型、定义或实现接口、嵌入结构体或接口、编写类型断言或类型开关、为 JSON/YAML/数据库序列化添加结构体字段标签、或选择指针接收者与值接收者时使用此技能。当用户...
开发代码审查golang-swagger
cc-skills-golang/skills/golang-swagger
使用 swaggo/swag 的 Golang OpenAPI/Swagger 文档——注解注释(@Summary、@Param、@Success、@Router、@Security)、swag init 代码生成、框架集成(gin、echo、fiber、chi、net/http)、安全定义(Bearer/JWT、OAuth2、API 密钥)以及结构体标签(swaggertype、enums、example、swaggerignore)。适用于在 Go 项目中添加或维护 Swagger/OpenAPI 文档,或当代码库导入 github.com/swaggo/swag、github.com/swaggo/gin-swagger 等时。
开发APIgolang-testing
cc-skills-golang/skills/golang-testing
We need to translate the given text from English to Simplified Chinese. The instruction says: preserve product names, protocol names, URLs, numbers, and technical terms. Do not add claims, explanations, Markdown, bullets, links, labels, prefixes, or extra commentary. Also, do not include the name "golang-testing" unless it appears in the source text. The source text does not include the name, so we don't add it. The text is a description of a skill for Go testing. It lists various testing techniques and tools. We need to translate the entire text inside <text> tags. Let's break it down: "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." Translation: "生产就绪的 Golang 测试 — 表格驱动测试、testify 套件和模拟、并行测试、模糊测试、夹具、使用 goleak 进行 goroutine
开发测试代码审查golang-troubleshooting
cc-skills-golang/skills/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/cc-skills-golang@golang-benchmark` skill) or applying...
开发测试golang-uber-dig
cc-skills-golang/skills/golang-uber-dig
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 `samber/cc-skills-golang@golang-uber-fx` skill.
开发APIgolang-uber-fx
cc-skills-golang/skills/golang-uber-fx
我们要求翻译一段文本,目标语言是简体中文。需要保留产品名、协议名、URL、数字、技术术语。不要添加声明、解释、Markdown、项目符号、链接、标签、前缀或额外评论。只翻译<text>内的内容。注意不要包含名称"golang-uber-fx"除非它在源文本中出现。源文本中出现了"golang-uber-fx"吗?在最后一句提到了"samber/cc-skills-golang@golang-uber-dig",但没有直接出现"golang-uber-fx"作为名称。但指令说"Name to preserve: golang-uber-fx",但源文本中没有这个名称,所以不需要特意保留。只需翻译文本。 翻译时注意技术术语:uber-go/fx, fx.New, fx.Provide, fx.Invoke, fx.Module, fx.Lifecycle hooks, fx.Annotate (name/group/As), fx.Decorate, fx.Supply, fx.Replace, fx.WithLogger, Run(), go.uber.org/fx,
开发APIhumaniseur-fr
cc-skills/skills/humaniseur-fr
从法语文本中去除AI写作痕迹,注入语气、个性和灵魂。适用于编辑、审校、重写或清理读起来像ChatGPT/Claude输出的法语内容。人性化、自然化、去AI化。检测并修复27种模式:AI词汇滥用(crucial, essentiel, notamment, par ailleurs, dans le paysage)、英语优先模型带来的英语化表达(faire du sens, adresser un problème)、系动词回避、公式化开头(À l'ère de, Dans le paysage actuel)……
创意通讯influence-and-negotiation
cc-skills/skills/influence-and-negotiation
适用于任何需要他人同意的互动的影响力与谈判工具包,即使未明确称为“谈判”。涵盖:B2B销售、薪资评估、集体谈判/工会、严肃一对一谈话、决策宣布、调解、跨文化交易、招聘、联系经理、CFO、客户、供应商或同事、回应反馈、人员编制请求、拒绝、对范围提出异议、为延迟辩护、解释决策、提出关切、争取……
通讯研究生产力linkedin-ghostwriter
cc-skills/skills/linkedin-ghostwriter
linkedin-ghostwriter — 一个适用于AI智能体的可安装技能。
营销通讯创意linkedin-ghostwriting
cc-skills/skills/linkedin-ghostwriting
B2B LinkedIn代笔写作 — 策略性访谈、钩子设计及正文撰写。适用于用户希望撰写LinkedIn内容、创作代笔帖子、为创始人或高管代笔、制定B2B社交策略,或需要LinkedIn的钩子、帖子结构或文案框架时。当用户分享故事、成果或见解并希望将其转化为帖子时使用。
营销通讯创意press-release-writer
cc-skills/skills/press-release-writer
为任何场合、媒体类型和国家撰写专业新闻稿。当用户想要撰写、起草或改进新闻稿、公报、媒体公告、新闻发布或公关声明时使用——包括产品发布、融资轮次、合作伙伴关系、危机沟通、财报、高管任命、活动、并购、开源里程碑和媒体咨询。涵盖所有发布类型、媒体目标(印刷、数字/通讯社、广播、社交/SMPR、行业媒体)以及……
营销通讯创意promql-cli
cc-skills/skills/promql-cli
用于查询Prometheus及PromQL兼容引擎(Thanos、Cortex、VictoriaMetrics、Grafana Mimir、Grafana Tempo等)的命令行工具——支持即时查询、范围查询、指标发现(metrics/labels/meta子命令),输出格式包括表格/CSV/JSON/图表。适用于执行PromQL查询、排查可观测性软件的性能问题、调查延迟/错误率/饱和度,或分析时间序列数据。
开发DevOps数据分析site-launch-checklist
cc-skills/skills/site-launch-checklist
新网站上线前的预发布检查清单。协调分析工具配置(GA4、PostHog、Google Search Console、Ahrefs)、法律合规性、安全标头与审计、SEO与GEO(含经Google Trends验证的关键词研究,涉及robots.txt、站点地图、llms.txt、AI政策、结构化标记、hreflang)、通过TONE.md及匹配语言的人工润色确保文案一致性、OpenGraph与社交预览、完整favicon集及清单文件、质量关卡(Lighthouse、Core Web...)
开发研究
第 31–60 个,共 65 个