Go Skills Router 标志

Go Skills Router

社区
eduardo-sl
go-skills-router

Index and routing table for this repository's Go skills: maps a task to the skill that owns it, names the secondary skills worth loading alongside, and draws the boundary between skills whose triggers overlap. Use when it is unclear which Go skill applies, when a task spans several concerns at once, when two skills seem to cover the same ground, or when the user asks what Go skills are available or wants a project configured to load them. Trigger examples: "which skill should I use", "what Go skills do you have", "is this concurrency or performance", "set up the Go skills for this repo". Not for: a task that already maps cleanly to one skill — load that skill directly.

Add to TypingMind

概览

发布者eduardo-sl
代码仓库go-agent-skills
技能名称go-skills-router
星标数
86
复刻数
11
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 eduardo-sl 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Go Skills Router AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/eduardo-sl/go-agent-skills/tree/main/skills/(workflow)/go-skills-router
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Go Skills Router,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Go Skills Router。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Go Skills Router 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Go Skills Router

This repository publishes 35 Go skills. Their triggers necessarily overlap — "this is slow" could be performance, concurrency, database, or a leak. Use the tables below to pick the owner, then load the secondary skills in the same pass rather than discovering them one at a time.

This is an index. Every skill it names stands alone and can be read without this one.

Routing Table

TaskPrimaryAlso load
Format code, order imports, declare and initialisego-coding-standardsgo-documentation
Name a package, type, function, receiver or errorgo-naminggo-coding-standards
Review a diff or a PRgo-code-reviewthe skill owning the domain under review
Return, wrap, or inspect errorsgo-error-handlinggo-defensive-coding for nil-heavy code
Pass deadlines, cancel workgo-contextgo-concurrency-review if goroutines are involved
Adopt newer Go featuresgo-modernizego-ci to raise the toolchain in CI
Slices, maps, sets, preallocationgo-data-structuresgo-performance-review
Write godoc, examples, deprecations, README, CHANGELOGgo-documentationgo-coding-standards
Guard against panics and silent corruptiongo-defensive-codinggo-error-handling
Review package layout and dependency directiongo-architecture-reviewgo-interface-design
Start a new project or servicego-project-layoutgo-dependency-injection, go-ci
Design an interface or a typego-interface-designgo-design-patterns
Apply a known patterngo-design-patternsgo-interface-design
Wire dependencies, remove globalsgo-dependency-injectiongo-project-layout
Build an HTTP APIgo-api-designgo-openapi, go-observability
Work from an OpenAPI specgo-openapigo-api-design, go-test-quality
Build a GraphQL APIgo-graphqlgo-database, go-api-design
Build a gRPC servicego-grpcgo-test-quality, go-observability
Build a CLIgo-cligo-project-layout, go-binary-size
Query a database, manage transactionsgo-databasego-error-handling, go-security-audit
Write goroutines, channels, syncgo-concurrency-reviewgo-context, go-test-quality
Audit for vulnerabilitiesgo-security-auditgo-dependency-audit, go-defensive-coding
Reduce allocations, optimise a hot pathgo-performance-reviewgo-data-structures
Shrink a binary or imagego-binary-sizego-ci
Cut a release: GoReleaser, signing, SBOMs, provenancego-build-releasego-ci, go-binary-size
Add logs, metrics, tracesgo-observabilitygo-context
Debug a panic, leak, or deadlockgo-troubleshootinggo-concurrency-review, go-performance-review
Write or improve testsgo-test-qualitygo-test-table-driven
Structure a test matrixgo-test-table-drivengo-test-quality
Audit go.mod, check CVEsgo-dependency-auditgo-security-audit
Set up CI, linting, coverage gatesgo-cigo-dependency-audit
Restructure existing code safelygo-refactoringgo-semantic-tools, plus the skill owning the target shape
Find callers, implementers, renamego-semantic-toolsgo-refactoring
Write a commit messagegit-commit—

Boundaries Between Overlapping Skills

Load the one that owns the question being asked, not the one that matches a keyword in the code.

"It is slow."

  • go-performance-review — the code allocates or copies too much. Owns benchmarks, pprof, and optimisation patterns.
  • go-concurrency-review — the code contends on a lock or serialises work that could run in parallel.
  • go-database — the query is the problem: missing index, N+1, pool exhaustion.
  • go-troubleshooting — you do not yet know which of the three it is. Start here to find out, then hand off.

"It crashed."

  • go-troubleshooting — a panic, deadlock, or leak already happened. Diagnosis, profiles, delve.
  • go-defensive-coding — prevention. Nil traps, aliasing, overflow, the constructs that make the next crash impossible.
  • go-concurrency-review — a data race or a goroutine lifecycle bug.

"Is this secure?"

  • go-security-audit — external threats: injection, auth, secrets, TLS.
  • go-dependency-audit — known CVEs in modules you import.
  • go-defensive-coding — internal correctness bugs that are not attacks.

"How should this be structured?"

  • go-architecture-review — the shape of an existing codebase.
  • go-project-layout — the shape of a new one.
  • go-interface-design — the shape of one type or contract.
  • go-refactoring — the process of getting from the current shape to the target shape. Load it alongside whichever skill above owns that target.

"How do I expose this?"

  • go-api-design — HTTP/REST handlers, routing, middleware, idempotency, health checks, shutdown.
  • go-openapi — the contract is a spec and code is generated from it.
  • go-graphql — the client picks the shape of the response.
  • go-grpc — protobuf contract, interceptors, streaming.

"Tests."

  • go-test-quality — what to test, how to isolate it, what to mock, synctest, goleak, benchmarks.
  • go-test-table-driven — the table pattern specifically: when it helps, how to shape the case struct, when to stop using it.

"Style."

  • go-coding-standards — the rules the code should follow.
  • go-naming — what things are called: packages, types, functions, receivers, errors.
  • go-code-review — applying rules to someone else's change, with severity.
  • go-modernize — rules that changed because the language moved.
  • go-ci — making a machine enforce them.

"Ship it."

  • go-ci — the pipeline that gates every change: build, lint, test, scan.
  • go-build-release — turning a tag into signed, reproducible artifacts.
  • go-binary-size — making those artifacts smaller.

Which Tool Answers the Question

QuestionToolSkill
Where is this symbol used / implemented, in this build?gopls (MCP server or CLI)go-semantic-tools
What is the API of a dependency at the version we use?go doc pkg Symbol, gopls go_package_apigo-semantic-tools
What does another version of a module look like?go doc pkg@v1.2.3 (Go 1.27+), go list -m -versionsgo-dependency-audit
Which known vulnerabilities can our code actually reach?govulncheck ./...go-dependency-audit
Which packages import which?go list -deps, go mod graph, go mod whygo-semantic-tools

Multi-Concern Tasks

A real task usually crosses three skills. Load them together at the start rather than sequentially.

RequestLoad
"Build a gRPC service with tests"go-grpc + go-test-quality + go-error-handling
"This endpoint is slow under load"go-troubleshooting + go-performance-review + go-database
"Harden this service before launch"go-security-audit + go-dependency-audit + go-defensive-coding + go-ci
"Split this monolith"go-architecture-review + go-refactoring + go-semantic-tools
"Scaffold a new CLI"go-project-layout + go-cli + go-ci + go-binary-size
"Migrate this to the current Go release"go-modernize + go-test-quality + go-ci

Configure a Project to Use These Skills

Asked to make a project load these skills automatically:

  1. Find the agent-config files the project already has: CLAUDE.md, AGENTS.md, GEMINI.md, .github/copilot-instructions.md, .cursor/rules/.

  2. Skip any file that already references go-skills-router.

  3. Propose this block for each, show the diff, and write only after the developer agrees:

    markdown
    ## Go skills
    
    Before any Go coding, review, debugging or setup task, consult the
    `go-skills-router` skill and load the skills it names for the task.
  4. If the team wants some skills on every task regardless of routing (for example go-error-handling and go-security-audit), list them under the block as "Always load", with the reason.

Full Catalogue

CategorySkills
Code Qualitygo-coding-standards go-naming go-code-review go-error-handling go-context go-modernize go-data-structures go-documentation
Architecturego-architecture-review go-project-layout go-interface-design go-api-design go-openapi go-graphql go-grpc go-design-patterns go-dependency-injection go-cli
Datago-database
Safety & Performancego-concurrency-review go-security-audit go-defensive-coding go-performance-review go-observability go-troubleshooting
Testinggo-test-quality go-test-table-driven
Workflowgo-dependency-audit go-ci go-refactoring go-semantic-tools go-binary-size go-build-release git-commit go-skills-router

Verification Checklist

  1. The primary skill matches the question being asked, not a keyword in the code
  2. Secondary skills were loaded in the same pass, not discovered one at a time
  3. For a diagnosis task, go-troubleshooting ran before an optimisation skill
  4. For a restructuring task, go-refactoring was paired with the skill owning the target shape
  5. If exactly one skill applies, it was loaded directly without routing
  6. Project configuration written only after the developer approved the diff

常见问题

Go Skills Router AI 技能有什么作用?

Index and routing table for this repository's Go skills: maps a task to the skill that owns it, names the secondary skills worth loading alongside, and draws the boundary between skills whose triggers overlap. Use when it is unclear which Go skill applies, when a task spans several concerns at once, when two skills seem to cover the same ground, or when the user asks what Go skills are available or wants a project configured to load them. Trigger examples: "which skill should I use", "what Go skills do you have", "is this concurrency or performance", "set up the Go skills for this repo". No...

为什么在 TypingMind 中使用 Go Skills Router?

因为您只需安装一次,就能搭配任何模型使用。Go Skills Router 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Go Skills Router?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/eduardo-sl/go-agent-skills/tree/main/skills/(workflow)/go-skills-router。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Go Skills Router?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Go Skills Router 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Go Skills Router 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Go Skills Router AI 技能免费吗?

是的。eduardo-sl 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇