跳到正文
cccskills
免费在 GitHub 公开

go

Use for Go changes in Neva: authoring, refactoring, debugging, or review.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Go

Use this skill for changes touching *.go. Read the matching developer documentation named by AGENTS.md before editing.

Rules

  • Follow idiomatic Go as described by Effective Go, the Go documentation, and established repository patterns.
  • Source of truth for style and APIs: .golangci.yml, go.mod, and existing code patterns.
  • Treat go.mod as the version ceiling for Go features and stdlib APIs.
  • Prefer modern Go idioms available in the target version over legacy patterns.
  • Return early to keep control flow flat. Prefer straightforward code and standard-library primitives over clever abstractions.
  • Always run gofmt on changed Go files.
  • Respect active lints.
  • Never add file-wide or package-wide nolint directives. If suppression is unavoidable, keep it narrowly scoped to the exact line/rule and add a short justification.
  • Prefer Makefile targets for standard checks when applicable.
  • Do not add helper functions or methods unless they abstract at least two meaningful operations or remove real complexity.
  • Never ignore errors, including assignment to _. Either return an error (wrapping when useful) or handle it locally; do not report an error and then continue as though it were handled.
  • Add doc comments for new exported Go functions and types.

Runtime

  • For internal/runtime/funcs/**, follow docs/developer/runtime-functions.md.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use for Neva source or snippets: authoring, refactoring, debugging, or review.

中文简介正在准备中。当前显示原文说明。

nevalang/neva10852026年8月23日 更新

Convert Neva programs to valid Mermaid flowchart diagrams. Use when asked to visualize Neva code as Mermaid.

中文简介正在准备中。当前显示原文说明。

nevalang/neva10852026年8月23日 更新

papercut

免费

Capture or triage small Neva repository and engineering-harness frictions without derailing feature work.

中文简介正在准备中。当前显示原文说明。

nevalang/neva10852026年8月23日 更新

Create a Discord-ready Neva release announcement from a GitHub release payload. Use for official Neva Discord release posts.

中文简介正在准备中。当前显示原文说明。

nevalang/neva10852026年8月23日 更新

Prepare a Neva GitHub release draft from merged PRs, previous release style, and local multi-platform artifacts. Use this for monthly release preparation in nevalang/neva.

中文简介正在准备中。当前显示原文说明。

nevalang/neva10852026年8月23日 更新

Create a Telegram-ready Neva release announcement from a GitHub release payload. Use for official Neva Telegram release posts.

中文简介正在准备中。当前显示原文说明。

nevalang/neva10852026年8月23日 更新

查看 nevalang 的全部技能

报告此技能的问题