go-sdk: Skill for Claude Code

.agents/skills/check/SKILL.md

check is a skill for Claude Code from qiniu/go-sdk. It costs 35 tokens per session (303 once invoked), scanned A, original, MIT.

A pre-commit checklist for Go projects that checks code formatting, static analysis, and unit tests. Static analysis looks for likely code problems without running the whole program.

In plain words
What is it for?
Use it before submitting Go code to run gofmt, staticcheck, and the project's unit tests.
Why use it?
It catches common quality and test failures before code is submitted. If a check fails, it stops and reports the problem with a suggested fix.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is qiniu/go-sdk's own configuration. It tells Claude Code how to work on go-sdk itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything go-sdk configures →

View source ↗ qiniu/go-sdk
Reuse

Borrowing it

Nothing to install: this file belongs to qiniu/go-sdk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/qiniu/go-sdk/master/.agents/skills/check/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/qiniu/go-sdk

Made for: Claude Code.

Wrote 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.

agentmods badge for check

README.md
[![agentmods](https://agentmods.dev/badge/skills/qiniu/go-sdk/check/github.svg)](https://agentmods.dev/skills/qiniu/go-sdk/check)
Your own site
<a href="https://agentmods.dev/skills/qiniu/go-sdk/check"><img src="https://agentmods.dev/badge/skills/qiniu/go-sdk/check/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.

agentmods 80×15 button for check

Your own site · 80×15
<a href="https://agentmods.dev/skills/qiniu/go-sdk/check"><img src="https://agentmods.dev/badge/skills/qiniu/go-sdk/check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00303
Opus 5.5 $0.00014 $0.00121
Sonnet 5.5 $0.00007 $0.00061
Haiku 4.5 $0.00003 $0.00030

Measured 2mo ago against content hash f0a07db54dd9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

check 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 2mo 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.

.agents/skills/check/SKILL.md · 55 lines

What it actually says

提交前检查

开始时声明:"我正在使用 check skill 运行提交前检查。"

执行步骤

步骤 1:代码格式化检查

gofmt -s -l .

如果有未格式化的文件,列出文件清单并提示运行 gofmt -s -w . 修复。

步骤 2:静态检查

make staticcheck

如果失败,列出 staticcheck 报告的问题并给出修复建议。

步骤 3:单元测试

make unittest

如果任何步骤失败,停止并报告错误,给出修复建议。

输出格式

全部通过时:

✓ gofmt — 通过
✓ staticcheck — 通过
✓ unittest — 通过

有失败时列出具体错误和修复建议。

系统规范(AGENTS.md)

执行本 skill 时同时遵守 AGENTS.md 中的系统规范;与本 skill 冲突时以本 skill 为准。

Changes

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.

  1. 2mo ago First seen · 55 lines · 35 tokens per session scan A f0a07db54dd9

Subscribe to this mod's changes

check is a skill published in the GitHub repository qiniu/go-sdk (158 stars, last pushed 4d ago), licensed MIT. It adds 35 tokens to every session and 303 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.

Related

check compared with skills from other repositories

check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
checkqiniu/go-sdkSkill1584d agoMITA35Claude Code
golang-testingaffaan-m/ECCSkill299kyesterdayMITA37Claude Code, Kiro
timeouts-and-asynconsi/ginkgoSkill9.1k5d agoMITA106Claude Code
setuponsi/ginkgoSkill9.1k5d agoMITA118Claude Code
golang-testingsamber/cc-skills-golangSkill3.8k6d agoMITA115Claude Code
golang-stretchr-testifysamber/cc-skills-golangSkill3.8k6d agoMITA97Claude Code
overviewonsi/ginkgoSkill9.1k5d agoMITA84Claude Code