Borrowing it
Nothing to install: this file belongs to nongjun/feishu-cursor-claw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/nongjun/feishu-cursor-claw/main/.cursor/skills/Go开发模式/SKILL.mdgit clone --depth 1 https://github.com/nongjun/feishu-cursor-clawWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nongjun/feishu-cursor-claw/go)<a href="https://agentmods.dev/skills/nongjun/feishu-cursor-claw/go"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/go.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.00414 |
| Opus 5 | $0.00021 | $0.00207 |
| Sonnet 5 | $0.00008 | $0.00083 |
| Haiku 4.5 | $0.00004 | $0.00041 |
Grade A, and why
Go开发模式 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- Go开发模式 — 100% identical, 0 lines differ
What it actually says
Go 开发模式
适用场景
使用 Go 语言开发后端服务、CLI 工具、微服务时。
核心原则
- 显式优于隐式——Go 不鼓励魔法,代码应该直白可读
- 错误是值——每个可能出错的地方都显式处理错误,不要忽略
- 接口小而精——接口只定义必需的方法,一个方法的接口最好
- 组合优于继承——用结构体嵌入和接口组合,不要模拟类继承
- 并发用 goroutine + channel——但不要过度并发,简单任务用同步就好
项目结构
Go 项目推荐按功能/领域组织,而非按层级:
- cmd/ 放入口文件
- internal/ 放不对外暴露的逻辑
- pkg/ 放可复用的公共包
- 每个包职责单一,包名就是它做什么
错误处理
- 返回 error 而非 panic
- 用 fmt.Errorf 包装错误添加上下文
- 在调用方处理错误,不在被调用方静默吞掉
- 对外 API 返回统一的错误结构
并发模式
- 用 context 控制 goroutine 生命周期
- 用 sync.WaitGroup 等待多个 goroutine 完成
- channel 用于通信,mutex 用于保护共享状态
- 总是处理 channel 的关闭和超时
测试
- 表驱动测试(Table-Driven Tests)是标准模式
- 用 testify 做断言
- 测试文件和被测文件同目录,以 _test.go 结尾
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 47 lines · 42 tokens per session scan A 32d4dc293634
Go开发模式 is a skill published in the GitHub repository nongjun/feishu-cursor-claw (14 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 414 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
telnyx-numbers-go
Search, order, and manage phone numbers by location, features, and coverage.
pn-go-scaffolding
Scaffolds new Go API projects (Gin, Fiber, Echo, Chi) or handlers. Use when adding a new route/module; covers idiomatic project layout, env/secrets, error handling, and Go-specific conventions.
go-core
Go implementation guidance — stack-specific. Covers project structure, idiomatic patterns, testing, security, and observability for Go backend services and CLIs. Use when the user asks about Go-specific structure, error handling, concurrency, testing strategy, or production reliability. Invoke via @go-core after…
telnyx-messaging-go
Send and receive SMS/MMS, handle opt-outs and delivery webhooks. Use for notifications, 2FA, or messaging apps.
go-expert
Expert idiomatic Go: concurrency, interfaces, error handling, and the standard library. Trigger keywords: Go, golang, goroutine, channel, context, select, interface, error wrapping, errors.Is, defer, sync, Mutex, WaitGroup, errgroup, race, pprof. Use for writing/refactoring Go, designing concurrency, or fixing races…
telnyx-porting-out-go
Manage port-out requests when numbers are being ported away from Telnyx. List, view, and update port-out status. This skill provides Go SDK examples.