go-docstring-style
Enforces docstring writing in this Go project for functions, methods, and struct fields, with approved exceptions and multiline parameter supplements.
Skill by tomyou666
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tomyou666-go-docstring-style
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/go-docstring-style
What's inside
- Skill name
go-docstring-style- Description
- Enforces docstring writing in this Go project for functions, methods, and struct fields, with approved exceptions and multiline parameter supplements. Use only when the user explicitly invokes this skill (e.g. /go-docstring-style).
- License
- MIT
- Instructions
- 56 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Go Docstring Style
このgoのプロジェクトにおいて、関数、メソッド、または構造体(Struct)のフィールドにおいてはdocstringを書くようにしてください。
## 適用対象
- すべての関数
- すべてのメソッド
- 構造体のフィールド
`exported` な要素は常に docstring 必須です。
## 例外(承認済み)
以下のみ例外として docstring を省略できます。
1. 明らかな一時変数用の匿名構造体フィールド
2. enum のように `mode` が複数分かれる説明箇所
## 引数説明の特別ルール(承認済み)
例外的に引数の説明を文章の中で改行を入れて補足してください。
運用ルール:
- 引数説明が長くなる場合は、docstring 本文で改行して補足を入れる
- 特に `mode` 引数は、取りうる値と挙動差分を改行付きで明示する
## 書き方ルール
1. 先頭で要約を1文で書く
2. 必要なら詳細を複数行で補足する
3. 引数の意味、単位、前提条件、失敗条件を必要に応じて書く
4. 挙動が分岐する `mode` は値ごとの差を明示する
## 最低テンプレート
```go
// DoThing は X を実行する。
//
// mode は実行モードを表す。
// "fast": 検証を簡略化して高速実行する。
// "safe": 追加検証を行って安全に実行する。
func DoThing(mode string) error {
// ...
return nil
}
```
## 実装時チェック
- docstring が不足している要素を追加したか
- 例外が承認済み2条件に該当するかを確認したか
- `mode` など分岐引数の説明を改行補足で記述したかFrom tomyou666/skills, MIT.
More from tomyou666/skills
- 0.565score
plan-ticket
tomyou666
Write one kanban ticket in Cursor Plan style: outcome, decisions, work sections, verification, and a checklist.
SkillAFreshness: AClaude Code +9 - 0.565score
pr-overview
tomyou666
Draft a Japanese pull/merge request title and body as a non-technical overview.
SkillAFreshness: AClaude Code +9 - 0.565score
update-changelog
tomyou666
Add an entry to CHANGELOG.md after implementing a feature, fix, or other notable change in this repo.
SkillAFreshness: AClaude Code +9 - 0.565score
code-comments
tomyou666
Add Japanese comments to implementations and Japanese summaries to tests.
SkillAFreshness: AClaude Code +9 - 0.565score
design-to-shadcn-css
tomyou666
Reads a specified DESIGN.md and syncs its color tokens into shadcn/ui CSS variables (:root and .dark) in globals.css or index.css, including semantic…
SkillAFreshness: AClaude Code +9 - 0.565score
git-commit-en
tomyou666
Generates Conventional Commits messages in English from session context and staged git diff.
SkillAFreshness: AClaude Code +9 - 0.565score
go-wire
tomyou666
Guides Google Wire dependency injection — composition root layout, Provide* providers, wireinject files, wire_gen workflow, and cleanup patterns.
SkillAFreshness: AClaude Code +9 - 0.565score
impl-code-check
tomyou666
Review recent implementation for bug risk, dead code, missing tests, and error-handling gaps.
SkillAFreshness: AClaude Code +9 - 0.561score
plan-skill-annotate
tomyou666
Scans project Agent Skills directories and annotates a plan-mode markdown with applicable "Use the `skill-name` skill" notes on matching steps.
SkillAFreshness: AClaude Code +9 - 0.561score
qiita-article-planner
tomyou666
Qiita記事で書きたいテーマとペルソナ・原体験・ゴールを対話形式でヒアリングし、qiita-writing-principlesのコツを踏まえた日本語Markdownの見出し構成と各セクションの要約を生成するスキル。Qiita記事の企画・構成決めに使用する。
SkillAFreshness: AClaude Code +9 - 0.561score
qiita-sample-pattern-extractor
tomyou666
ユーザーが渡した複数のQiita記事サンプルから、いいねが付きやすそうな共通パターンを抽出し、再現テンプレートと執筆指針にまとめるスキル。Qiita記事のサンプル分析、勝ちパターン抽出、構成ルール化、記事スタイルの言語化をしたいときに使う。
SkillAFreshness: AClaude Code +9 - 0.561score
obsidian-vault
tomyou666
Obsidian Vault でノートを作成・移動・改名・編集するときに、フォルダ構成、命名、 作成フロー、Markdown と数式の書式を適用する。00-Inbox から 05-Archive への配置、 日記、ウィキリンク、LaTeX、タグ、フロントマターを扱うときに使う。 Vault 以外の README…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 27, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/tomyou666/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from tomyou666
- 0.565score
impl-code-check
tomyou666
Review recent implementation for bug risk, dead code, missing tests, and error-handling gaps.
SkillAFreshness: AClaude Code +9 - 0.565score
code-comments
tomyou666
Add Japanese comments to implementations and Japanese summaries to tests.
SkillAFreshness: AClaude Code +9 - 0.565score
design-to-shadcn-css
tomyou666
Reads a specified DESIGN.md and syncs its color tokens into shadcn/ui CSS variables (:root and .dark) in globals.css or index.css, including semantic…
SkillAFreshness: AClaude Code +9 - 0.565score
git-commit-en
tomyou666
Generates Conventional Commits messages in English from session context and staged git diff.
SkillAFreshness: AClaude Code +9 - 0.565score
go-wire
tomyou666
Guides Google Wire dependency injection — composition root layout, Provide* providers, wireinject files, wire_gen workflow, and cleanup patterns.
SkillAFreshness: AClaude Code +9 - 0.565score
plan-ticket
tomyou666
Write one kanban ticket in Cursor Plan style: outcome, decisions, work sections, verification, and a checklist.
SkillAFreshness: AClaude Code +9
Cite this page
go-docstring-style skill. Agent Mart. https://agentmart.dev/skills/tomyou666-go-docstring-style (last updated 2026-10-24)