diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index f54bda7..5d5c320 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "cc-skills-golang", "description": "AI Agent Skills for production-ready Go projects", - "version": "1.0.0", + "version": "1.1.0", "author": { "name": "Samuel Berthe", "email": "hey@samuel-berthe.fr" diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index 767ca23..5e83cb7 100644 --- a/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugin.json @@ -2,7 +2,7 @@ "name": "cc-skills-golang", "displayName": "Skills for Golang", "description": "AI Agent Skills for production-ready Go projects", - "version": "1.0.0", + "version": "1.1.0", "author": { "name": "Samuel Berthe", "email": "hey@samuel-berthe.fr" diff --git a/.github/workflows/publish-clawhub.yml b/.github/workflows/publish-clawhub.yml new file mode 100644 index 0000000..52ba810 --- /dev/null +++ b/.github/workflows/publish-clawhub.yml @@ -0,0 +1,47 @@ +name: Publish skills to ClawHub + +on: + push: + branches: [main] + paths: ['skills/**'] + workflow_dispatch: {} + +jobs: + publish: + if: github.repository_owner == 'samber' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: '22' + + - name: Login to ClawHub + run: npx -y clawhub login --token "$CLAWHUB_TOKEN" + env: + CLAWHUB_TOKEN: ${{ secrets.CLAWHUB_TOKEN }} + + - name: Publish all skills + run: | + for skill_dir in skills/*/; do + skill_name=$(basename "$skill_dir") + skill_file="${skill_dir}SKILL.md" + + if [ ! -f "$skill_file" ]; then + echo "::warning::Skipping ${skill_name}: no SKILL.md found" + continue + fi + + # Parse version from frontmatter + version=$(awk '/^---$/{c++; next} c==1 && /^[[:space:]]*version:/{gsub(/[" ]/, "", $2); print $2; exit}' "$skill_file") + + if [ -z "$version" ]; then + echo "::warning::Skipping ${skill_name}: no version found in frontmatter" + continue + fi + + echo "::group::Publishing ${skill_name} v${version}" + npx -y clawhub publish "$PWD/${skill_dir}" --version "$version" || true + echo "::endgroup::" + done diff --git a/CLAUDE.md b/CLAUDE.md index dbb10a7..92f3bfd 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -34,10 +34,21 @@ New skills go in `skills//SKILL.md`. Each SKILL.md has YAML frontmat | `description` | Spec-required | 1-1024 chars. Describes what the skill does **and when to use it** โ€” this is the primary triggering mechanism. Be specific and slightly "pushy" to avoid under-triggering. | | `license` | Project-required | License name or reference to a bundled license file. Use `MIT` for this project. | | `compatibility` | Project-required | 1-500 chars. Describe actual requirements. Base: `Designed for Claude Code or similar AI coding agents.` Extend when needed: add `Requires git`, `Requires internet access`, `Requires Python 3.14+ and uv`, etc. Skills with no special requirements use the base string only. | -| `metadata` | Project-required | Must include `author` (string) and `version` (semver `a.b.c` string, e.g. `"1.0.0"`). | +| `metadata` | Project-required | Must include `author` (string), `version` (semver `a.b.c` string, e.g. `"1.0.0"`), and `openclaw` (object โ€” see below). | | `user-invocable` | Project-required | Boolean. `true` for skills invocable as slash commands (e.g. `/golang-security`), `false` (default) for contextual skills that auto-trigger. | | `allowed-tools` | Project-required | Space-delimited list of pre-approved tools. See "Allowed tools" below. | +### ClawHub metadata (`metadata.openclaw`) + +Every skill MUST include a `metadata.openclaw` block for [ClawHub](https://github.com/openclaw/clawhub) discoverability and dependency management. See the [ClawHub skill format specification](https://github.com/openclaw/clawhub/blob/main/docs/skill-format.md) for the full reference. Fields used in this project: + +| Field | Required | Description | +| --- | --- | --- | +| `emoji` | Yes | Display emoji for the skill (single emoji string) | +| `homepage` | Yes | URL to the skill's homepage. Use `https://github.com/samber/cc-skills-golang` for this project. | +| `requires.bins` | Yes | CLI binaries that must be installed. Always includes `go`. Add skill-specific critical bins (e.g. `protoc`, `dlv`). | +| `install` | Yes | Array of auto-installable dependencies. Use `[]` when no extra deps needed. Supported kinds: `brew`, `go`, `node`, `uv`. Each entry has `kind`, `formula`/`package`, and `bins` fields. | + Example frontmatter: ```yaml @@ -50,10 +61,36 @@ compatibility: Designed for Claude Code or similar AI coding agents. Requires go metadata: author: samber version: "1.0.0" + openclaw: + emoji: "๐Ÿ”ง" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- ``` +Example with extra dependencies: + +```yaml +metadata: + author: samber + version: "1.0.0" + openclaw: + emoji: "๐ŸŒ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - protoc + install: + - kind: brew + formula: protobuf + bins: [protoc] +``` + **Version discipline:** Versions follow semver (`a.b.c`). New skills start at `1.0.0`. When modifying a skill, the developer must increment its `metadata.version` and the plugin version in `.claude-plugin/plugin.json` before merging. CI enforces both checks on PRs. Do not auto-increment versions โ€” remind the developer as a next step. ### Description quality diff --git a/README.md b/README.md index e0f14af..bc05c77 100644 --- a/README.md +++ b/README.md @@ -135,33 +135,33 @@ Skills marked with โญ๏ธ are recommended as a starting point for most Go projec | | Skill | Name | Cmd | Ultrathink | Overridable | Error rate gap | Description (tok) | SKILL.md (tok) | Directory (tok) | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| โญ๏ธ | โœ… Code style | `golang-code-style` | | | โš™๏ธ | -40% | 31 | 2,028 | 2,644 | -| โญ๏ธ | โœ… Data structures | `golang-data-structures` | | | | -39% | 92 | 2,420 | 6,132 | -| โญ๏ธ | โœ… Database | `golang-database` | | | โš™๏ธ | -38% | 112 | 2,681 | 7,166 | -| โญ๏ธ | โœ… Design patterns | `golang-design-patterns` | | | โš™๏ธ | -37% | 66 | 2,567 | 9,273 | -| โญ๏ธ | โœ… Documentation | `golang-documentation` | โšก | | โš™๏ธ | -53% | 73 | 2,636 | 10,507 | -| โญ๏ธ | โœ… Error handling | `golang-error-handling` | | | โš™๏ธ | -26% | 90 | 1,477 | 4,351 | +| โญ๏ธ | โœ… Code style | `golang-code-style` | | | โš™๏ธ | -40% | 31 | 2,070 | 2,686 | +| โญ๏ธ | โœ… Data structures | `golang-data-structures` | | | | -39% | 92 | 2,464 | 6,176 | +| โญ๏ธ | โœ… Database | `golang-database` | | | โš™๏ธ | -38% | 112 | 2,725 | 7,210 | +| โญ๏ธ | โœ… Design patterns | `golang-design-patterns` | | | โš™๏ธ | -37% | 66 | 2,610 | 9,316 | +| โญ๏ธ | โœ… Documentation | `golang-documentation` | โšก | | โš™๏ธ | -53% | 73 | 2,678 | 10,549 | +| โญ๏ธ | โœ… Error handling | `golang-error-handling` | | | โš™๏ธ | -26% | 90 | 1,520 | 4,394 | | โญ๏ธ | ๐Ÿ‘ท How-to | `golang-how-to` | | | | โ€” | 0 | 0 | 0 | -| โญ๏ธ | โœ… Modernize | `golang-modernize` | โšก | | | -61% | 113 | 2,434 | 7,557 | -| โญ๏ธ | โœ… Naming | `golang-naming` | | | โš™๏ธ | -23% | 158 | 2,822 | 7,190 | -| โญ๏ธ | โœ… Safety | `golang-safety` | | | | -58% | 85 | 2,413 | 5,183 | -| โญ๏ธ | โœ… Testing | `golang-testing` | โšก | ๐Ÿง  | โš™๏ธ | -32% | 98 | 3,028 | 6,135 | -| โญ๏ธ | โœ… Troubleshooting | `golang-troubleshooting` | โšก | ๐Ÿง  | | -32% | 106 | 2,633 | 15,799 | -| โญ๏ธ | โœ… Security | `golang-security` | โšก | ๐Ÿง  | | -32% | 84 | 2,790 | 20,811 | -| | โœ… Benchmark | `golang-benchmark` | โšก | ๐Ÿง  | | -50% | 92 | 2,030 | 29,114 | -| | โœ… CLI | `golang-cli` | | | | -43% | 73 | 2,232 | 6,047 | -| | โœ… Concurrency | `golang-concurrency` | | | โš™๏ธ | -39% | 71 | 1,831 | 6,296 | -| | โœ… Context | `golang-context` | | | โš™๏ธ | -34% | 41 | 1,102 | 3,898 | -| | โœ… Continuous integration | `golang-continuous-integration` | โšก | | | -59% | 105 | 2,745 | 6,387 | -| | โœ… Dependency injection | `golang-dependency-injection` | | | โš™๏ธ | -47% | 104 | 2,800 | 5,071 | -| | โœ… Dependency management | `golang-dependency-management` | | | | -54% | 94 | 1,794 | 4,874 | -| | โœ… Structs & interfaces | `golang-structs-interfaces` | | | โš™๏ธ | -35% | 110 | 2,956 | 2,956 | -| | โœ… Linter | `golang-linter` | | | | -41% | 119 | 1,639 | 5,418 | -| | โœ… Observability | `golang-observability` | โšก | | โš™๏ธ | -37% | 144 | 2,851 | 18,358 | -| | โœ… Performance | `golang-performance` | โšก | ๐Ÿง  | | -39% | 108 | 1,876 | 17,746 | -| | โœ… Popular libraries | `golang-popular-libraries` | | | | -30% | 61 | 746 | 4,089 | -| | โœ… Project layout | `golang-project-layout` | โšก | | | -38% | 66 | 1,468 | 5,676 | -| | โœ… Stay up to date | `golang-stay-updated` | | | | -56% | 43 | 1,874 | 1,874 | +| โญ๏ธ | โœ… Modernize | `golang-modernize` | โšก | | | -61% | 113 | 2,476 | 7,599 | +| โญ๏ธ | โœ… Naming | `golang-naming` | | | โš™๏ธ | -23% | 158 | 2,865 | 7,233 | +| โญ๏ธ | โœ… Safety | `golang-safety` | | | | -58% | 85 | 2,457 | 5,227 | +| โญ๏ธ | โœ… Testing | `golang-testing` | โšก | ๐Ÿง  | โš™๏ธ | -32% | 98 | 3,105 | 6,212 | +| โญ๏ธ | โœ… Troubleshooting | `golang-troubleshooting` | โšก | ๐Ÿง  | | -32% | 106 | 2,709 | 15,875 | +| โญ๏ธ | โœ… Security | `golang-security` | โšก | ๐Ÿง  | | -32% | 84 | 2,873 | 20,894 | +| | โœ… Benchmark | `golang-benchmark` | โšก | ๐Ÿง  | | -50% | 92 | 2,106 | 29,190 | +| | โœ… CLI | `golang-cli` | | | | -43% | 73 | 2,274 | 6,089 | +| | โœ… Concurrency | `golang-concurrency` | | | โš™๏ธ | -39% | 71 | 1,873 | 6,338 | +| | โœ… Context | `golang-context` | | | โš™๏ธ | -34% | 41 | 1,144 | 3,940 | +| | โœ… Continuous integration | `golang-continuous-integration` | โšก | | | -59% | 105 | 2,835 | 6,477 | +| | โœ… Dependency injection | `golang-dependency-injection` | | | โš™๏ธ | -47% | 104 | 2,842 | 5,113 | +| | โœ… Dependency management | `golang-dependency-management` | | | | -54% | 94 | 1,877 | 4,957 | +| | โœ… Structs & interfaces | `golang-structs-interfaces` | | | โš™๏ธ | -35% | 110 | 2,999 | 2,999 | +| | โœ… Linter | `golang-linter` | | | | -41% | 119 | 1,714 | 5,493 | +| | โœ… Observability | `golang-observability` | โšก | | โš™๏ธ | -37% | 144 | 2,893 | 18,400 | +| | โœ… Performance | `golang-performance` | โšก | ๐Ÿง  | | -39% | 108 | 1,953 | 17,823 | +| | โœ… Popular libraries | `golang-popular-libraries` | | | | -30% | 61 | 788 | 4,131 | +| | โœ… Project layout | `golang-project-layout` | โšก | | | -38% | 66 | 1,510 | 5,718 | +| | โœ… Stay up to date | `golang-stay-updated` | | | | -56% | 43 | 1,916 | 1,916 | **Tools:** @@ -169,21 +169,21 @@ Skills marked with โญ๏ธ are recommended as a starting point for most Go projec | --- | --- | --- | --- | --- | --- | --- | --- | | โŒ google/wire | `golang-google-wire` | | | โ€” | 0 | 0 | 0 | | โŒ GraphQL | `golang-graphql` | | | โ€” | 0 | 0 | 0 | -| โœ… gRPC | `golang-grpc` | | | -41% | 69 | 2,086 | 4,902 | +| โœ… gRPC | `golang-grpc` | | | -41% | 69 | 2,149 | 4,965 | | โŒ spf13/cobra | `golang-spf13-cobra` | | | โ€” | 0 | 0 | 0 | | โŒ spf13/viper | `golang-spf13-viper` | | | โ€” | 0 | 0 | 0 | | โŒ swaggo/swag | `golang-swagger` | | | โ€” | 0 | 0 | 0 | | โŒ uber-go/dig | `golang-uber-dig` | | | โ€” | 0 | 0 | 0 | | โŒ uber-go/fx | `golang-uber-fx` | | | โ€” | 0 | 0 | 0 | -| โœ… samber/do | `golang-samber-do` | | | -81% | 70 | 1,704 | 3,227 | +| โœ… samber/do | `golang-samber-do` | | | -81% | 70 | 1,746 | 3,269 | | โŒ samber/hot | `golang-samber-hot` | | | โ€” | 0 | 0 | 0 | | โŒ samber/lo | `golang-samber-lo` | | | โ€” | 0 | 0 | 0 | | โŒ samber/mo | `golang-samber-mo` | | | โ€” | 0 | 0 | 0 | -| โœ… samber/oops | `golang-samber-oops` | | | -59% | 69 | 2,338 | 2,650 | +| โœ… samber/oops | `golang-samber-oops` | | | -59% | 69 | 2,380 | 2,692 | | โŒ samber/ro | `golang-samber-ro` | | | โ€” | 0 | 0 | 0 | | โŒ samber/slog | `golang-samber-slog` | | | โ€” | 0 | 0 | 0 | | โŒ temporal | `golang-temporal` | | | โ€” | 0 | 0 | 0 | -| โœ… stretchr/testify | `golang-stretchr-testify` | | | -47% | 89 | 1,641 | 2,460 | +| โœ… stretchr/testify | `golang-stretchr-testify` | | | -47% | 89 | 1,714 | 2,533 | Token counts are measured with `npm exec -- tiktoken-cli --exclude "evals" skills/{name}/`. Description tokens extracted with: diff --git a/gemini-extension.json b/gemini-extension.json index ee46609..8331cb7 100644 --- a/gemini-extension.json +++ b/gemini-extension.json @@ -1,5 +1,5 @@ { "name": "cc-skills-golang", - "version": "1.0.0", + "version": "1.1.0", "description": "AI Agent Skills for production-ready Go projects" } diff --git a/skills/golang-benchmark/SKILL.md b/skills/golang-benchmark/SKILL.md index 063e9e6..2c2ed1e 100644 --- a/skills/golang-benchmark/SKILL.md +++ b/skills/golang-benchmark/SKILL.md @@ -6,7 +6,18 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ“Š" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - benchstat + install: + - kind: go + package: golang.org/x/perf/cmd/benchstat@latest + bins: [benchstat] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch Bash(benchstat:*) Bash(benchdiff:*) Bash(cob:*) Bash(gobenchdata:*) Bash(curl:*) mcp__context7__resolve-library-id mcp__context7__query-docs WebSearch --- diff --git a/skills/golang-cli/SKILL.md b/skills/golang-cli/SKILL.md index adfbcfa..dd8368f 100644 --- a/skills/golang-cli/SKILL.md +++ b/skills/golang-cli/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ’ป" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-code-style/SKILL.md b/skills/golang-code-style/SKILL.md index 56fa5c7..69b7f92 100644 --- a/skills/golang-code-style/SKILL.md +++ b/skills/golang-code-style/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐ŸŽจ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-concurrency/SKILL.md b/skills/golang-concurrency/SKILL.md index 1a731d3..060e728 100644 --- a/skills/golang-concurrency/SKILL.md +++ b/skills/golang-concurrency/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "โšก" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-context/SKILL.md b/skills/golang-context/SKILL.md index 3b6df42..dfe382b 100644 --- a/skills/golang-context/SKILL.md +++ b/skills/golang-context/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ”—" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-continuous-integration/SKILL.md b/skills/golang-continuous-integration/SKILL.md index 88dd2be..36f7f8b 100644 --- a/skills/golang-continuous-integration/SKILL.md +++ b/skills/golang-continuous-integration/SKILL.md @@ -6,7 +6,22 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿš€" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - goreleaser + - gh + install: + - kind: brew + formula: goreleaser + bins: [goreleaser] + - kind: brew + formula: gh + bins: [gh] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch Bash(goreleaser:*) Bash(gh:*) --- diff --git a/skills/golang-data-structures/SKILL.md b/skills/golang-data-structures/SKILL.md index 43c280a..c6e4be0 100644 --- a/skills/golang-data-structures/SKILL.md +++ b/skills/golang-data-structures/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ—ƒ๏ธ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-database/SKILL.md b/skills/golang-database/SKILL.md index 44da3d7..b71ea9b 100644 --- a/skills/golang-database/SKILL.md +++ b/skills/golang-database/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ—„๏ธ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-dependency-injection/SKILL.md b/skills/golang-dependency-injection/SKILL.md index c27ee21..aa9e2bd 100644 --- a/skills/golang-dependency-injection/SKILL.md +++ b/skills/golang-dependency-injection/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ”Œ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs --- diff --git a/skills/golang-dependency-management/SKILL.md b/skills/golang-dependency-management/SKILL.md index d54e9c5..23e0e0e 100644 --- a/skills/golang-dependency-management/SKILL.md +++ b/skills/golang-dependency-management/SKILL.md @@ -6,7 +6,18 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ“ฆ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - govulncheck + install: + - kind: go + package: golang.org/x/vuln/cmd/govulncheck@latest + bins: [govulncheck] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent Bash(govulncheck:*) --- diff --git a/skills/golang-design-patterns/SKILL.md b/skills/golang-design-patterns/SKILL.md index becd3dd..a89cca4 100644 --- a/skills/golang-design-patterns/SKILL.md +++ b/skills/golang-design-patterns/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ—๏ธ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-documentation/SKILL.md b/skills/golang-documentation/SKILL.md index 556b3c9..ec05c07 100644 --- a/skills/golang-documentation/SKILL.md +++ b/skills/golang-documentation/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ“" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch --- diff --git a/skills/golang-error-handling/SKILL.md b/skills/golang-error-handling/SKILL.md index acbfadb..f9ce439 100644 --- a/skills/golang-error-handling/SKILL.md +++ b/skills/golang-error-handling/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "โš ๏ธ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-grpc/SKILL.md b/skills/golang-grpc/SKILL.md index 0389a04..c417ff7 100644 --- a/skills/golang-grpc/SKILL.md +++ b/skills/golang-grpc/SKILL.md @@ -6,7 +6,18 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐ŸŒ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - protoc + install: + - kind: brew + formula: protobuf + bins: [protoc] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs Bash(protoc:*) --- diff --git a/skills/golang-linter/SKILL.md b/skills/golang-linter/SKILL.md index 9b3e865..a29bb00 100644 --- a/skills/golang-linter/SKILL.md +++ b/skills/golang-linter/SKILL.md @@ -6,7 +6,18 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿงน" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - golangci-lint + install: + - kind: brew + formula: golangci-lint + bins: [golangci-lint] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-modernize/SKILL.md b/skills/golang-modernize/SKILL.md index 66df5e9..2f1776f 100644 --- a/skills/golang-modernize/SKILL.md +++ b/skills/golang-modernize/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ”„" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch WebSearch --- diff --git a/skills/golang-naming/SKILL.md b/skills/golang-naming/SKILL.md index ee19dfe..48a6596 100644 --- a/skills/golang-naming/SKILL.md +++ b/skills/golang-naming/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿท๏ธ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-observability/SKILL.md b/skills/golang-observability/SKILL.md index c2b3fc4..e2f286a 100644 --- a/skills/golang-observability/SKILL.md +++ b/skills/golang-observability/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ“ก" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch WebSearch --- diff --git a/skills/golang-performance/SKILL.md b/skills/golang-performance/SKILL.md index 3680692..55bbd68 100644 --- a/skills/golang-performance/SKILL.md +++ b/skills/golang-performance/SKILL.md @@ -6,7 +6,18 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐ŸŽ๏ธ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - benchstat + install: + - kind: go + package: golang.org/x/perf/cmd/benchstat@latest + bins: [benchstat] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch Bash(benchstat:*) Bash(fieldalignment:*) Bash(staticcheck:*) Bash(curl:*) Bash(fgprof:*) Bash(perf:*) WebSearch --- diff --git a/skills/golang-popular-libraries/SKILL.md b/skills/golang-popular-libraries/SKILL.md index 18668e6..2cf483c 100644 --- a/skills/golang-popular-libraries/SKILL.md +++ b/skills/golang-popular-libraries/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ“š" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch WebSearch --- diff --git a/skills/golang-project-layout/SKILL.md b/skills/golang-project-layout/SKILL.md index 565bbd8..6d7304e 100644 --- a/skills/golang-project-layout/SKILL.md +++ b/skills/golang-project-layout/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ“" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-safety/SKILL.md b/skills/golang-safety/SKILL.md index cfc16fd..7b28e9b 100644 --- a/skills/golang-safety/SKILL.md +++ b/skills/golang-safety/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ›ก๏ธ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-samber-do/SKILL.md b/skills/golang-samber-do/SKILL.md index d8b034d..2d96aa8 100644 --- a/skills/golang-samber-do/SKILL.md +++ b/skills/golang-samber-do/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ’‰" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs --- diff --git a/skills/golang-samber-oops/SKILL.md b/skills/golang-samber-oops/SKILL.md index df8e2db..885c626 100644 --- a/skills/golang-samber-oops/SKILL.md +++ b/skills/golang-samber-oops/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ’ฅ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs --- diff --git a/skills/golang-security/SKILL.md b/skills/golang-security/SKILL.md index 14b1499..fdf38a9 100644 --- a/skills/golang-security/SKILL.md +++ b/skills/golang-security/SKILL.md @@ -6,7 +6,18 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ”’" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - govulncheck + install: + - kind: go + package: golang.org/x/vuln/cmd/govulncheck@latest + bins: [govulncheck] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch Bash(govulncheck:*) WebSearch --- diff --git a/skills/golang-stay-updated/SKILL.md b/skills/golang-stay-updated/SKILL.md index 1163997..f4ec578 100644 --- a/skills/golang-stay-updated/SKILL.md +++ b/skills/golang-stay-updated/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ“ฐ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch WebSearch --- diff --git a/skills/golang-stretchr-testify/SKILL.md b/skills/golang-stretchr-testify/SKILL.md index 4db561f..eef2611 100644 --- a/skills/golang-stretchr-testify/SKILL.md +++ b/skills/golang-stretchr-testify/SKILL.md @@ -6,7 +6,18 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "โœ…" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - gotests + install: + - kind: go + package: github.com/cweill/gotests/...@latest + bins: [gotests] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs Bash(gotests:*) --- diff --git a/skills/golang-structs-interfaces/SKILL.md b/skills/golang-structs-interfaces/SKILL.md index d6d39c2..16f9dc3 100644 --- a/skills/golang-structs-interfaces/SKILL.md +++ b/skills/golang-structs-interfaces/SKILL.md @@ -6,7 +6,14 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿงฉ" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + install: [] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent --- diff --git a/skills/golang-testing/SKILL.md b/skills/golang-testing/SKILL.md index ffde97e..a4e98ed 100644 --- a/skills/golang-testing/SKILL.md +++ b/skills/golang-testing/SKILL.md @@ -6,7 +6,18 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿงช" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - gotests + install: + - kind: go + package: github.com/cweill/gotests/gotests@latest + bins: [gotests] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent Bash(gotests:*) --- diff --git a/skills/golang-troubleshooting/SKILL.md b/skills/golang-troubleshooting/SKILL.md index 9a2a25c..29813b4 100644 --- a/skills/golang-troubleshooting/SKILL.md +++ b/skills/golang-troubleshooting/SKILL.md @@ -6,7 +6,18 @@ license: MIT compatibility: Designed for Claude Code or similar AI coding agents, and for projects using Golang. metadata: author: samber - version: "1.0.0" + version: "1.1.0" + openclaw: + emoji: "๐Ÿ”" + homepage: https://github.com/samber/cc-skills-golang + requires: + bins: + - go + - dlv + install: + - kind: go + package: github.com/go-delve/delve/cmd/dlv@latest + bins: [dlv] allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Bash(dlv:*) Agent WebFetch WebSearch ---