[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-74636":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":45,"readmeContent":46,"aiSummary":47,"trendingCount":16,"starSnapshotCount":16,"syncStatus":48,"lastSyncTime":49,"discoverSource":50},74636,"cc-skills-golang","samber\u002Fcc-skills-golang","samber","🧑‍🎨 A collection of Golang agentic skills that works","https:\u002F\u002Fskills.sh\u002Fsamber\u002Fcc-skills-golang",null,"Go",2052,132,18,1,0,57,158,424,171,108.37,"MIT License",false,"main",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"agent","agent-skills","ai","antigravity","claude","claude-code","code","codex","coding","copilot","cursor","gemini","gemini-cli-extension","openclaw","opencode","plugin","skills","skillsmp","vibe-coding","2026-06-12 04:01:15","# Agent Skills for production-ready Golang projects\n\nAI agent skills are reusable instruction sets that extend your coding assistant with domain-specific expertise, loaded on demand so they don't bloat your context. This repository covers **Go-specific** skills only (language, testing, security, observability, etc.); for dev workflow skills (git conventions, CI\u002FCD, PR reviews) you'll want to add a separate skills plugin.\n\nFor generic skills, please visit [cc-skills](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills).\n\n> [!IMPORTANT] Bootstrapped with Claude Code by distilling my Go project commits. **Edited, tested, reviewed and reworked by a human**.\n>\n> **No AI slop here.** AI-made skills are useless.\n\n\u003Cimg width=\"1414\" height=\"491\" alt=\"image\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F620b5835-c1ba-4ea9-bf47-2293b58b879e\" \u002F>\n\n## 🚀 How to use\n\n**Install with [skills](https:\u002F\u002Fskills.sh\u002F) CLI** (universal, works with any [Agent Skills](https:\u002F\u002Fagentskills.io)-compatible tool):\n\n```bash\nnpx skills add https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang --all\n# or a single skill:\nnpx skills add https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang --skill golang-performance\n```\n\n\u003C!-- prettier-ignore-start -->\n\n\u003Cdetails>\n\u003Csummary>Claude Code\u003C\u002Fsummary>\n\n```bash\n\u002Fplugin marketplace add samber\u002Fcc\n\u002Fplugin install cc-skills-golang@samber\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Openclaw\u003C\u002Fsummary>\n\nCopy skills into the cross-client discovery directory:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang.git ~\u002F.openclaw\u002Fskills\u002Fcc-skills-golang\n# or in workspace:\ngit clone https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang.git ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fcc-skills-golang\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Gemini CLI\u003C\u002Fsummary>\n\n```bash\ngemini extensions install https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang\n```\n\nUpdate with `gemini extensions update cc-skills-golang`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Cursor\u003C\u002Fsummary>\n\nCopy skills into the cross-client discovery directory:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang.git  ~\u002F.cursor\u002Fskills\u002Fcc-skills-golang\n```\n\nCursor auto-discovers skills from `.agents\u002Fskills\u002F` and `.cursor\u002Fskills\u002F`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Copilot\u003C\u002Fsummary>\n\nCopy skills into the cross-client discovery directory:\n\n```bash\n\u002Fplugin install https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang\n# or\ngit clone https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang.git ~\u002F.copilot\u002Fskills\u002Fcc-skills-golang\n```\n\nCopilot auto-discovers skills from `.copilot\u002Fskills\u002F`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>OpenCode\u003C\u002Fsummary>\n\nCopy skills into the cross-client discovery directory:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang.git ~\u002F.agents\u002Fskills\u002Fcc-skills-golang\n```\n\nOpenCode auto-discovers skills from `.agents\u002Fskills\u002F`, `.opencode\u002Fskills\u002F`, and `.claude\u002Fskills\u002F`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Codex (OpenAI)\u003C\u002Fsummary>\n\nClone into the cross-client discovery path:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang.git ~\u002F.agents\u002Fskills\u002Fcc-skills-golang\n```\n\nCodex auto-discovers skills from `~\u002F.agents\u002Fskills\u002F` and `.agents\u002Fskills\u002F`. Update with `cd ~\u002F.agents\u002Fskills\u002Fcc-skills-golang && git pull`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Antigravity\u003C\u002Fsummary>\n\nClone and symlink into the cross-client discovery path:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang.git ~\u002F.antigravity\u002Fskills\u002Fcc-skills-golang\n```\n\nUpdate with `cd ~\u002F.antigravity\u002Fskills\u002Fcc-skills-golang && git pull`.\n\n\u003C\u002Fdetails>\n\n\u003C!-- prettier-ignore-end -->\n\n## 🧩 Skills\n\nThese skills are designed as **atomic, cross-referencing units**. A skill may reference conventions defined in another (e.g. error-handling rules that affect logging live in `golang-error-handling`, not `golang-observability`). Installing only a subset will give you a partial and potentially inconsistent view of the guidelines. For best results, install all general-purpose skills together.\n\n```\n                         ┌────────────────────────────────────────┐\n                         │             Golang Skills              │\n                         └──────────────────┬─────────────────────┘\n                                            │\n   ┌─────────────────┬──────────────────────┼──────────────────────┐\n   ▼                 ▼                      ▼                      ▼\n┌──────────────┐ ┌──────────────┐ ┌─────────────────┐ ┌──────────────────┐\n│ Code Quality │ │ Arch & Design│ │    QA & Perf    │ │  Project Start   │\n├──────────────┤ ├──────────────┤ ├─────────────────┤ ├──────────────────┤\n│ code-style   │ │ design-patt  │ │ testing         │ │ project-layout   │\n│ naming       │ │ concurrency  │ │ benchmark       │ │ popular-libs     │\n│ error-handl  │ │ context      │ │ performance     │ │ cli              │\n│ safety       │ │ dep-inject   │ │ troubleshoot    │ │ CI               │\n│ structs-iface│ │ data-structs │ │ observability   │ │ stay-updated     │\n│ documentation│ │ database     │ │                 │ │ dep-management   │\n│ lint         │ │ modernize    │ │                 │ │                  │\n│ security     │ │              │ │                 │ │                  │\n└──────────────┘ └──────────────┘ └─────────────────┘ └──────────────────┘\n\n    ┌─────────────────────────────────────────────────────────────────────────┐\n    │                      Framework \u002F Library Skills                         │\n    ├──────────────┬────────────────┬──────────────┬─────────────┬───────────┤\n    │   APIs       │      DI        │  Frameworks  │  samber\u002F*   │  Testing  │\n    ├──────────────┼────────────────┼──────────────┼─────────────┼───────────┤\n    │ grpc         │ google-wire    │ spf13-cobra  │ samber-lo   │ stretchr- │\n    │ graphql      │ uber-dig       │ spf13-viper  │ samber-mo   │  testify  │\n    │ swagger      │ uber-fx        │              │ samber-ro   │           │\n    │              │                │              │ samber-do   │           │\n    │              │                │              │ samber-hot  │           │\n    │              │                │              │ samber-slog │           │\n    │              │                │              │ samber-oops │           │\n    └──────────────┴────────────────┴──────────────┴─────────────┴───────────┘\n\n```\n\n- ⭐️ Recommended\n- ✅ Published\n- 👷 Work in progress\n- ❌ To-do\n- ⚡ Command available\n- 🧠 Ultrathink automatically\n- ⚙️ Overridable (see doc below)\n- **Description (tok)**: weight of the `description` field from YAML frontmatter, always loaded into Claude's context for skill triggering\n- **SKILL.md (tok)**: weight of the full `SKILL.md` file loaded when the skill triggers\n- **Directory (tok)**: weight of all files in the skill directory (SKILL.md + referenced markdown files)\n\n**General purpose:**\n\n\u003C!-- markdownlint-disable table-column-style -->\n\n|  | Skill | Flags | Error rate gap | Description (tok) | SKILL.md (tok) | Directory (tok) |\n| --- | --- | --- | --- | --- | --- | --- |\n| ⭐️ | ✅ `golang-code-style` | ⚡ ⚙️ | -40% | 31 | 2,069 | 2,685 |\n| ⭐️ | ✅ `golang-data-structures` | ⚡ | -39% | 92 | 2,464 | 6,176 |\n| ⭐️ | ✅ `golang-database` | ⚡ ⚙️ | -38% | 112 | 2,725 | 7,248 |\n| ⭐️ | ✅ `golang-design-patterns` | ⚡ ⚙️ | -37% | 66 | 2,610 | 9,316 |\n| ⭐️ | ✅ `golang-documentation` | ⚡ ⚙️ | -53% | 73 | 2,678 | 10,549 |\n| ⭐️ | ✅ `golang-error-handling` | ⚡ ⚙️ | -26% | 90 | 1,520 | 4,394 |\n| ⭐️ | 👷 `golang-how-to` |  | — | 0 | 0 | 0 |\n| ⭐️ | ✅ `golang-modernize` | ⚡ | -61% | 113 | 2,476 | 7,599 |\n| ⭐️ | ✅ `golang-naming` | ⚡ ⚙️ | -23% | 158 | 2,865 | 7,233 |\n| ⭐️ | ✅ `golang-safety` | ⚡ | -58% | 85 | 2,457 | 5,227 |\n| ⭐️ | ✅ `golang-testing` | ⚡ 🧠 ⚙️ | -32% | 98 | 3,105 | 6,212 |\n| ⭐️ | ✅ `golang-troubleshooting` | ⚡ 🧠 | -32% | 106 | 2,735 | 15,901 |\n| ⭐️ | ✅ `golang-security` | ⚡ 🧠 | -32% | 84 | 2,873 | 20,894 |\n|  | ✅ `golang-benchmark` | ⚡ 🧠 | -50% | 92 | 2,135 | 29,248 |\n|  | ✅ `golang-cli` | ⚡ | -43% | 73 | 2,274 | 6,089 |\n|  | ✅ `golang-concurrency` | ⚡ ⚙️ | -39% | 71 | 1,873 | 6,338 |\n|  | ✅ `golang-context` | ⚡ ⚙️ | -34% | 41 | 1,144 | 3,940 |\n|  | ✅ `golang-continuous-integration` | ⚡ | -59% | 105 | 2,835 | 6,477 |\n|  | ✅ `golang-dependency-injection` | ⚡ ⚙️ | -47% | 104 | 2,842 | 5,113 |\n|  | ✅ `golang-dependency-management` | ⚡ | -54% | 94 | 1,877 | 4,957 |\n|  | ✅ `golang-structs-interfaces` | ⚡ ⚙️ | -35% | 110 | 2,999 | 2,999 |\n|  | ✅ `golang-lint` | ⚡ | -41% | 119 | 1,714 | 5,493 |\n|  | ✅ `golang-observability` | ⚡ ⚙️ | -37% | 144 | 2,921 | 18,453 |\n|  | ✅ `golang-performance` | ⚡ 🧠 | -39% | 108 | 1,953 | 17,855 |\n|  | ✅ `golang-popular-libraries` | ⚡ | -30% | 61 | 788 | 4,131 |\n|  | ✅ `golang-project-layout` | ⚡ | -38% | 66 | 1,510 | 5,718 |\n|  | ✅ `golang-stay-updated` | ⚡ | -56% | 43 | 1,916 | 1,916 |\n\n**Tools:**\n\n| Skill | Flags | Error rate gap | Description (tok) | SKILL.md (tok) | Directory (tok) |\n| --- | --- | --- | --- | --- | --- |\n| ✅ `golang-google-wire` | ⚡ | -16% | 122 | 2,511 | 7,243 |\n| ✅ `golang-graphql` |  | -16% | 76 | 2,935 | 7,766 |\n| ✅ `golang-grpc` | ⚡ | -41% | 69 | 2,149 | 4,965 |\n| ✅ `golang-spf13-cobra` | ⚡ | — | 176 | 2,455 | 7,218 |\n| ✅ `golang-spf13-viper` | ⚡ | — | 170 | 2,412 | 6,936 |\n| ✅ `golang-swagger` | ⚡ | — | 144 | 2,125 | 3,123 |\n| ✅ `golang-uber-dig` | ⚡ | -10% | 107 | 2,264 | 5,904 |\n| ✅ `golang-uber-fx` | ⚡ | -5% | 118 | 2,499 | 6,747 |\n| ✅ `golang-samber-do` | ⚡ | -81% | 70 | 1,746 | 3,269 |\n| ✅ `golang-samber-hot` | ⚡ | -54% | 118 | 1,843 | 7,273 |\n| ✅ `golang-samber-lo` | ⚡ | -40% | 155 | 2,410 | 10,031 |\n| ✅ `golang-samber-mo` | ⚡ 🧠 | -48% | 81 | 2,800 | 11,215 |\n| ✅ `golang-samber-oops` | ⚡ | -59% | 69 | 2,380 | 2,692 |\n| ✅ `golang-samber-ro` | ⚡ 🧠 | -50% | 140 | 2,845 | 11,136 |\n| ✅ `golang-samber-slog` | ⚡ | -19% | 118 | 2,588 | 9,234 |\n| ❌ `golang-temporal` |  | — | 0 | 0 | 0 |\n| ✅ `golang-stretchr-testify` | ⚡ | -47% | 89 | 1,714 | 2,533 |\n\n## 🧪 Skill evaluations\n\n|             | With Skill          | Without Skill       | Delta     |\n| ----------- | ------------------- | ------------------- | --------- |\n| **Overall** | **3315\u002F3395 (98%)** | **1915\u002F3395 (56%)** | **+41pp** |\n\nSee [EVALUATIONS.md](.\u002FEVALUATIONS.md) for the full per-skill breakdown.\n\n## 🕵 Use in CI for AI-driven reviews\n\nAdd AI agents as PR reviewers alongside traditional static analysis. When configured with this skill plugin, the agent applies the relevant Go skills per review area — catching architectural drift, logic bugs, and concurrency hazards that linters cannot detect.\n\nSee [GOLANG-AI-DRIVEN-REVIEW.md](.\u002FGOLANG-AI-DRIVEN-REVIEW.md) for full setup instructions (Claude Code Action and GitHub Copilot).\n\n## 🎯 Tuning Skill Triggers\n\nIf a skill triggers too often or not often enough, please [open an issue](https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang\u002Fissues) suggesting a description change. The `description` field in SKILL.md frontmatter is the primary triggering mechanism — small wording adjustments can significantly improve trigger accuracy. Some `SKILL.md` files might have a `When to use` section which is another level of exclusion. Finally, `SKILL.md` files are an entrypoint for lazy loading references with deep knowledge located in `references\u002F`.\n\n## 🔄 Overlap\n\nClaude reports very little overlap between skills in this repo, thanks to cross-reference. I suggest enabling most of the skills and leveraging lazy loading. The recommended ⭐️ skills load ~1,100 tokens of descriptions at startup; full skill content is only pulled in when relevant. Note:\n\n- I estimate that 50% of `golang-naming` and `golang-code-style` overlap with linters (golangci-lint).\n- A large part of the security rules in `golang-security` have been distilled from the Bearer (SAST) checklist. The skill is still useful for methodology.\n- If your team has its own conventions, create a company skill and declare the override explicitly near the top of its body: `This skill supersedes samber\u002Fcc-skills-golang@golang-naming skill for [company] projects.` Skills marked ⚙️ in the table above support this mechanism.\n\n## ✍️ Contribute\n\n- **100 tokens per skill description** - what? when to use this skill?\n- **1.000–2.500 tokens per SKILL.md** — keep the main file focused on essentials\n- **Use secondary markdown files for depth** — reference them from SKILL.md with relative links (e.g., `[Logging](.\u002Flogging.md)`). Claude reads these on demand when the topic is relevant, so they don't count against the context budget until needed\n- **Up to 10.000 tokens** for full skill and secondary files\n- **2–4 skills loaded simultaneously** in a typical session — design skills to coexist\n- **Stay below ~10k tokens of total loaded SKILL.md** anytime to avoid degrading response quality\n\nFor more guidelines, please check `CLAUDE.md`.\n\n## 💫 Fuel the Revolution\n\n- ⭐️ **Star this repo** - Your star powers the caffeine engine!\n- ☕️ **Buy me a coffee** - I'll literally use it to build more skills while drinking actual coffee\n\n[![GitHub Sponsors](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fsponsors\u002Fsamber?style=for-the-badge)](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fsamber)\n\n## 📝 License\n\nCopyright © 2026 [Samuel Berthe](https:\u002F\u002Fgithub.com\u002Fsamber).\n\nThis project is under [MIT](.\u002FLICENSE) license.\n","samber\u002Fcc-skills-golang 是一个为生产就绪的 Go 项目提供 AI 代理技能的集合。该项目包含针对 Go 语言特定领域的可重用指令集，涵盖语言特性、测试、安全性和可观测性等方面，旨在通过按需加载的方式扩展编码助手的功能而不增加上下文负担。这些技能经过了人工编辑、测试和审查，确保了高质量和实用性。适用于需要增强 Go 项目开发效率与质量的各种场景，如提升代码性能、加强安全性或改进测试覆盖率等。支持多种工具集成，包括但不限于 Claude Code、Openclaw 和 Copilot 等，方便开发者根据自己的需求选择合适的安装方式。",2,"2026-06-11 03:50:12","high_star"]