Agent 工作流
可复用的 Agent 工作流和编排模式
Skills 列表

golang-safety
防御性 Golang 编码,防止恐慌、静默数据损坏和微妙的运行时错误。在遇到 nil 恐慌、append 别名、map 并发访问、浮点数比较陷阱或零值设计问题时使用。也用于审查代码的 nil 安全性、数值转换溢出、资源生命周期问题(循环中的 defer)或切片和映射的防御性复制。
samber
golang-modernize
将 Golang 代码现代化,使用最新的语言特性、标准库改进和惯用模式。在编写或审查 Go 代码并检测到旧式模式时,或遇到弃用警告时主动触发。当用户明确要求现代化、Go 版本升级或 CI/工具链刷新时也可使用。
samber
golang-project-layout
提供设置 Golang 项目布局和工作区的指南。适用于启动新 Go 项目、组织现有代码库、设置包含多个包的单一仓库、创建包含多个 main 包的 CLI 工具、决定 cmd/internal/pkg 目录约定,或讨论包重构、包拆分、模块拆分时使用。
samber
golang-lint
Go 项目的代码检查(Linting)最佳实践与 golangci-lint 配置指南 — 涵盖 Linter 运行、.golangci.yml 配置、//nolint 警报抑制、Lint 输出解析以及 Linter 选型。适用于配置 golangci-lint、咨询 Lint 告警或 nolint 抑制规则、搭建代码质量工具链,以及挑选 Linter 的场景。当用户提及 golangci-lint、go vet、staticcheck 或 revive 时亦可使用。
samber
golang-popular-libraries
推荐生产就绪的 Golang 库和框架。当用户明确要求库建议、想要比较替代方案、需要为特定任务选择库,或正在向项目添加新依赖时应用。
samber
golang-observability
Go 日常可观测性——生产环境中始终开启的信号。涵盖使用 slog 的结构化日志、Prometheus 指标、OpenTelemetry 分布式追踪、使用 pprof/Pyroscope 的持续性能分析、服务端 RUM 事件追踪、告警和 Grafana 仪表盘。适用于为 Go 服务添加生产监控埋点、设置指标或告警、添加 OpenTelemetry 追踪、关联日志与追踪、将遗留日志库(zap/logrus/zerolog)迁移到 slog、为新功能添加可观测性,或实现符合 GDPR/CCPA 规范的客户数据平台(CDP)追踪。不适用于临时深度性能调查(→ 参见 `samber/cc-skills-golang@golang-benchmark` 和 `samber/cc-skills-golang@golang-performance` 技能)。
samber
golang-benchmark
Golang 基准测试、性能分析和性能测量。用于编写、运行或比较 Go 基准测试,使用 pprof 分析热点路径,解释 CPU/内存/跟踪分析结果,使用 benchstat 分析结果,设置 CI 基准回归检测,或使用 Prometheus 运行时指标调查生产性能。当开发者需要对特定性能指标进行深入分析时也可使用——本技能提供测量方法,而 `samber/cc-skills-golang@golang-performance` 提供优化模式。
samber
golang-continuous-integration
使用 GitHub Actions 为 Golang 项目配置 CI/CD 流水线——包括测试、代码检查、SAST、安全扫描、代码覆盖率、Dependabot、Renovate、GoReleaser、代码审查自动化和发布流水线。在设置或改进 Go 项目 CI、配置 GitHub Actions 工作流、添加代码检查器或安全扫描器、自动化依赖更新或添加质量门时使用。
samber
golang-samber-lo
Golang 的函数式编程辅助工具库,基于 samber/lo — 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 时、代码库导入 github.com/samber/lo 时、或在 Go 中实现函数式风格数据转换时。不适用于流式管道(→ 参见 `samber/cc-skills-golang@golang-samber-ro` 技能)。
samber
golang-samber-oops
在 Golang 中使用 samber/oops 进行结构化错误处理——错误构建器、堆栈跟踪、错误码、错误上下文、错误包装、错误属性、面向用户与开发者的消息、恐慌恢复以及日志集成。适用于正在使用或采用 samber/oops 的场景,或代码库已导入 github.com/samber/oops 的情况。
samber
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-* 包的项目。
samber
golang-samber-ro
使用 samber/ro 在 Golang 中实现响应式流和事件驱动编程——ReactiveX 实现,包含 150+ 类型安全操作符、冷/热可观察对象、5 种主题类型(Publish、Behavior、Replay、Async、Unicast)、通过 Pipe 声明式管道、40+ 插件(HTTP、cron、fsnotify、JSON、日志)、自动背压、错误传播和 Go 上下文集成。适用于使用或采用 samber/ro 时、代码库导入 github.com/samber/ro 时,或在 Go 中构建异步事件驱动管道、实时数据处理、流或响应式架构时。不适用于有限切片转换(→ 参见 `samber/cc-skills-golang@golang-samber-lo` 技能)。
samber
golang-samber-hot
使用 samber/hot 在 Golang 中进行内存缓存——支持淘汰算法(LRU、LFU、TinyLFU、W-TinyLFU、S3FIFO、ARC、TwoQueue、SIEVE、FIFO)、TTL、缓存加载器、分片、stale-while-revalidate、缺失键缓存和 Prometheus 指标。适用于正在使用或采用 samber/hot 的项目,代码库导入 github.com/samber/hot 时,或项目频繁加载相同的中低基数资源且需要降低延迟或后端压力时。
samber
golang-graphql
使用 gqlgen 或 graphql-go 在 Golang 中实现 GraphQL API。适用于构建 GraphQL 服务器、设计模式、编写解析器、处理订阅或将 GraphQL 集成到现有 Go HTTP 服务中。也适用于代码库导入 `github.com/99designs/gqlgen` 或 `github.com/graph-gophers/graphql-go` 的情况。
samber
golang-google-wire
使用 google/wire 在 Golang 中实现编译时依赖注入 — wire.NewSet、wire.Build、wire.Bind(接口→具体类型)、wire.Struct、wire.Value、wire.InterfaceValue、wire.FieldsOf、清理函数、//go:build wireinject 注入器文件以及生成的 wire_gen.go。适用于使用或采用 google/wire 时,代码库导入 `github.com/google/wire` 时,或通过 `wire.Build` 在编译时连接应用依赖图时。对于基于反射的运行时 DI,请参见 `samber/cc-skills-golang@golang-uber-dig` 技能。
samber
session-handoff
创建全面的交接文档,实现AI代理会话的无缝转移。触发条件:(1)用户请求交接/记忆/上下文保存,(2)上下文窗口接近容量上限,(3)主要任务里程碑完成,(4)工作会话结束,(5)用户说出“保存状态”、“创建交接”、“我需要暂停”、“上下文快满了”,(6)恢复工作时说“加载交接”、“从...恢复”、“继续之前的工作”。在完成大量工作(多次文件编辑、复杂调试、架构决策)后主动建议创建交接。通过让新代理零歧义地继续工作,解决长时间运行代理的上下文耗尽问题。
softaworks
command-creator
此技能应在创建 Claude Code 斜杠命令时使用。当用户要求“创建命令”、“制作斜杠命令”、“添加命令”或希望将工作流记录为可复用命令时使用。对于创建具有正确结构和最佳实践的、可被代理执行的优化斜杠命令至关重要。
softaworks
image-to-editable-ppt
Rebuild slide images, image-based or scanned PPT/PPTX files, and PDF decks into object-level editable PowerPoint (.pptx). Use whenever the user provides any visual slide source and wants slides they can edit — "make this PPT editable", "把图片/截图转成可编辑 PPT", "this PDF is a scanned deck, restore it", recreating slides from screenshots, reconstructing slide objects, or preserving speaker notes — even if they do not say "convert". Not for authoring new presentations from scratch.
ningzimu
claude-real-video
Watch a video for the user. Use when the user shares a video URL (YouTube etc.) or local video file and wants it summarized, analyzed, or discussed — Claude can't ingest video directly, so this skill extracts scene-aware keyframes + transcript first, then reads those.
huangchihhungleo
claude-real-video-for-agents
Install and use crv (claude-real-video) — a tool that lets any AI agent watch videos by extracting scene-aware keyframes, deduplicating them, and transcribing audio. Use when the user shares a video URL or file and wants it analyzed, summarized, or discussed.
huangchihhungleo
openchatcut
Connect an MCP-capable coding agent to OpenChatCut and edit local video projects. Use when the user asks to install, connect, or set up OpenChatCut; inspect or edit an OpenChatCut project; work with its timeline, transcript, captions, media, generation, motion graphics, audio, color, or export tools; or recover from an OpenChatCut MCP error.
0xsline
init
Creates, updates, or optimizes an AGENTS.md file for a repository with minimal, high-signal instructions covering non-discoverable coding conventions, tooling quirks, workflow preferences, and project-specific rules that agents cannot infer from reading the codebase. Use when setting up agent instructions or Claude configuration for a new repository, when an existing AGENTS.md is too long, generic, or stale, when agents repeatedly make avoidable mistakes, or when repository workflows have changed and the agent configuration needs pruning. Applies a discoverability filter—omitting anything Claude can learn from README, code, config, or directory structure—and a quality gate to verify each line remains accurate and operationally significant.
mcollina
commandcode-delegate
Delegate a coding task to the Command Code CLI (`cmd`) as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Command Code — phrasings like "have Command Code do X", "delegate this to commandcode", "run it through cmd", or "use Command Code to implement/fix/refactor" — or to run a queue of coding tasks through Command Code while staying the reviewer. DO NOT USE for tasks small enough to do inline, or when the user wants the code written directly without delegating.
amelnagdy
zcode-delegate
Delegate a coding task to the Z.AI ZCode CLI as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to ZCode — phrasings like "have ZCode do X", "delegate this to ZCode", "run it through ZCode", or "use ZCode to implement/fix/refactor" — or to run a queue of coding tasks through ZCode while staying the reviewer. DO NOT USE for tasks small enough to do inline, or when the user wants the code written directly without delegating.
amelnagdy