mirror of
https://github.com/samber/cc-skills-golang.git
synced 2026-09-11 19:46:44 +03:00
feat(skills): add golang-gopls skill (#75)
* feat(skills): add golang-gopls skill Documents gopls (the official Go language server) as its own atomic skill: the three ways to reach it (its MCP server, Claude Code's native LSP tool, and its CLI), a capability-to-tool matrix, the full feature catalog (navigation, diagnostics, refactors, web features), and the efficient read/edit workflows from gopls's own MCP instructions. golang-how-to previously carried this content inline; it's now reduced to a pointer, and the ~18 library skills that referenced gopls navigation through golang-how-to are repointed to golang-gopls directly, keeping each concept owned by exactly one skill. * revert: do not bump plugin version for this PR * refactor(skills): tighten golang-gopls, drop LSP-server-hosting CLI flags Moves the capability-to-tool matrix out of SKILL.md into its own references/matrix.md, cutting SKILL.md from ~3.5k to ~2.3k tokens while keeping every row. Drops mentions of gopls's attached MCP mode and the mcp -instructions flag, since neither applies to this skill's agent-only usage. Trims the CLI global flags table down to the ones that matter outside of running gopls as a long-lived LSP server (-listen, -remote*, -debug, -otel, -mode removed), and documents the remaining flags' full value sets exhaustively. Also fixes the README's [!IMPORTANT] alert blockquote, which a prior prettier run had collapsed onto one line, and adds golang-gopls to the ASCII skill map.
This commit is contained in:
@@ -6,7 +6,7 @@ license: MIT
|
||||
compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang.
|
||||
metadata:
|
||||
author: samber
|
||||
version: "1.1.6"
|
||||
version: "1.1.7"
|
||||
openclaw:
|
||||
emoji: "🌐"
|
||||
homepage: https://github.com/samber/cc-skills-golang
|
||||
@@ -38,7 +38,7 @@ allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(g
|
||||
|
||||
Treat gRPC as a pure transport layer — keep it separate from business logic. The official Go implementation is `google.golang.org/grpc`.
|
||||
|
||||
This skill is not exhaustive. Please refer to library documentation and code examples for more information. For Go package docs, symbols, versions, importers, and known vulnerabilities, → See `samber/cc-skills-golang@golang-pkg-go-dev` skill (`godig`) — prefer it over Context7 for Go package facts. To navigate this library's usage in your own code (definitions, call sites, diagnostics), → See `samber/cc-skills-golang@golang-how-to` skill (`gopls`). Context7 remains a fallback for docs not indexed on pkg.go.dev.
|
||||
This skill is not exhaustive. Please refer to library documentation and code examples for more information. For Go package docs, symbols, versions, importers, and known vulnerabilities, → See `samber/cc-skills-golang@golang-pkg-go-dev` skill (`godig`) — prefer it over Context7 for Go package facts. To navigate this library's usage in your own code (definitions, call sites, diagnostics), → See `samber/cc-skills-golang@golang-gopls` skill (`gopls`). Context7 remains a fallback for docs not indexed on pkg.go.dev.
|
||||
|
||||
## Quick Reference
|
||||
|
||||
|
||||
Reference in New Issue
Block a user