go-cli-development
Skill2 starsChanged 6 months agoMITView on GitHub
Use this skill when changing a Go command-line application.
In this repository13 other files it gives its agents.
- feishu-cliSkill
- git-commit-cnSkill
- marketplace-catalogSkill
- obsidian-workflowSkill
- pr-handoffSkill
- public-repo-hygieneSkill
- registry-maintainerSkill
- release-readinessSkill
- repo-code-reviewSkill
- runtime-adapterSkill
- skill-authoring-guideSkill
- skill-metadata-qualitySkill
- systematic-debuggingSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Use this skill when changing a Go command-line application.
- Distinctive: line 7
Start from the command behavior and its tests.
- Distinctive: line 8
Prefer table-driven tests for parser, filter, and formatter behavior.
- Distinctive: line 9
Keep command output stable and easy to parse.
- Very specific: line 11
Use gofmt before final verification.
- Distinctive: line 12
Run targeted tests first, then the full suite and build.
- Distinctive: line 24
Use tabs for machine-readable list output.
- Very specific: line 26
Keep detailed metadata in info commands rather than crowded list views.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Go CLI Development
Use this skill when changing a Go command-line application.
Instructions
- Start from the command behavior and its tests.
- Prefer table-driven tests for parser, filter, and formatter behavior.
- Keep command output stable and easy to parse.
- Return errors from command handlers instead of exiting deep in library code.
- Use
gofmtbefore final verification. - Run targeted tests first, then the full suite and build.
Verification
go test ./...
go build -v ./cmd/<binary>
git diff --checkOutput Design
- Use tabs for machine-readable list output.
- Include enough fields for users to decide the next command.
- Keep detailed metadata in
infocommands rather than crowded list views.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

