Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add davidYichengWei/agentic-engineering-framework --skill std-gogit clone --depth 1 https://github.com/davidYichengWei/agentic-engineering-frameworkWrote 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/davidyichengwei/agentic-engineering-framework/std-go)<a href="https://agentmods.dev/skills/davidyichengwei/agentic-engineering-framework/std-go"><img src="https://agentmods.dev/badge/skills/davidyichengwei/agentic-engineering-framework/std-go/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/davidyichengwei/agentic-engineering-framework/std-go"><img src="https://agentmods.dev/badge/skills/davidyichengwei/agentic-engineering-framework/std-go.svg" alt="Reviewed on agentmods" width="80" 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.00032 | $0.00532 |
| Opus 5.5 | $0.00013 | $0.00213 |
| Sonnet 5.5 | $0.00006 | $0.00106 |
| Haiku 4.5 | $0.00003 | $0.00053 |
Grade A, and why
std-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 1mo 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.
What it actually says
Go 编码规范
基于 Google Golang 代码规范,结合实际工程经验进行了调整和补充。
规范等级定义
| 等级 | 定义 |
|---|---|
| 必须(Mandatory) | 用户必须采用,代码扫描工具应将其视为错误 |
| 推荐(Preferable) | 用户理应采用,但如有特殊情况可以不采用 |
| 可选(Optional) | 用户可参考,自行决定是否采用 |
核心规则速查
| 类别 | 必须遵守 |
|---|---|
| 格式化 | 使用 gofmt 格式化代码 |
| import | 使用 goimports,禁止相对路径导入,标准包在最上 |
| 错误处理 | 必须处理 error,error 必须是最后一个返回值 |
| panic | 禁止用于一般错误处理,仅用于不变量断言 |
| 命名 | 驼峰式,包名小写无下划线,文件名小写下划线分隔 |
| 注释 | 导出名字必须有文档注释,格式 // Name 描述 |
| switch | 必须有 default 分支 |
| goto | 业务代码禁止使用 |
| 嵌套 | 深度不超过 4 层 |
| 代码行数 | 文件 ≤ 800 行,函数 ≤ 80 行 |
| 依赖管理 | 使用 go modules |
完整规范
详见 reference/full-standards.md,包含:
- 代码风格(格式化、换行、括号空格、import)
- 错误处理(error、panic、recover)
- 注释规范(包、结构体、方法、变量、常量、类型)
- 命名规范(包、文件、结构体、接口、变量、常量、函数)
- 控制结构(if、for、range、switch、return、goto)
- 函数规范(参数、defer、接收器、代码行数、嵌套、变量声明、魔法数字)
- 依赖管理和应用服务规范
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 44 lines · 32 tokens per session scan A 9fe1a4e175c5
std-go is a skill published in the GitHub repository davidYichengWei/agentic-engineering-framework (159 stars, last pushed 7mo ago), licensed MIT. It adds 32 tokens to every session and 532 once invoked, about $0.0001 per session on Opus 5.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
golang-testing
Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.
golang-patterns
Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization. Use when working with Go code to apply idiomatic Go patterns.
golang-testing
Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…
golang-samber-oops
Structured error handling in Golang with samber/oops — error builders, stack traces, error codes, error context, error wrapping, error attributes, user-facing vs developer messages, panic recovery, and logger integration. Apply when using or adopting samber/oops, or when the codebase already imports…
golang-uber-fx
Golang application framework using uber-go/fx — fx.New, fx.Provide, fx.Invoke, fx.Module, fx.Lifecycle hooks, fx.Annotate (name/group/As), fx.Decorate, fx.Supply, fx.Replace, fx.WithLogger, and signal-aware Run(). Apply when using or adopting uber-go/fx, when the codebase imports go.uber.org/fx, or when wiring…
ax-go-agent-optimize
Use when writing Go code with github.com/ax-llm/ax/packages/go for agent optimization, verified agent-playbook evolution, evaluators, judges, optimizer artifacts, BootstrapFewShot, and GEPA.