From cercano
Use when the user wants to generate or update doc comments for Go code. Handles the entire read-think-write cycle locally — the host never sees the file contents. Supports dry_run mode to preview.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cercano:cercano-documentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate doc comments for exported Go symbols using local AI and write them directly to the source file.
Generate doc comments for exported Go symbols using local AI and write them directly to the source file.
Tool name: cercano_document
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_path | string | Yes | Path to the Go source file to document. |
| style | string | No | Doc comment style: "minimal" (1-2 sentences, default) or "detailed" (multi-line with params). |
| dry_run | bool | No | If true, report what would be documented without writing changes. |
| project_dir | string | No | Project root directory for context-aware responses. |
The host agent never sees the file contents — only the summary.
.cercano/backups/ before writinggo/formatDocument a file:
{"file_path": "internal/engine/ollama.go"}
Preview without writing:
{"file_path": "internal/engine/ollama.go", "dry_run": true}
Detailed style:
{"file_path": "internal/engine/ollama.go", "style": "detailed"}
npx claudepluginhub bryancostanich/cercano-claude --plugin cercanoCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.