CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

golang-cli

Golang CLI application development. Use when building, modifying, or reviewing a Go CLI tool — especially for command structure, flag handling, configuration layering, version embedding, exit codes, I/O patterns, signal handling, shell completion, argument validation, and CLI unit testing. Also triggers when code uses cobra, viper, or urfave/cli. For cobra-specific APIs → See `samber/cc-skills-golang@golang-spf13-cobra` skill; for viper configuration layering → See `samber/cc-skills-golang@golang-spf13-viper` skill.

73

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

86%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-engineered skill body: dense, actionable, with excellent one-level-deep progressive disclosure into a complete example bundle. The only weaknesses are minor explanatory padding about Cobra/Viper and the absence of explicit verification steps in the Build/Extend workflows.

Suggestions

Trim the 'Go CLI Best Practices' introduction — the sentences explaining what Cobra and Viper do and naming tools that use them (kubectl, docker, gh) restate knowledge Claude already has; keep only the 'Cobra + Viper as default stack' and stdlib-flag carve-out.

Add an explicit verification step to the Build and Extend modes, e.g. 'after changes, run go build ./... and go test ./... (see cli_test.go for command-level tests)' so each workflow ends in a feedback loop like the Review mode's Common Mistakes checklist.

Replace the generic 'refer to the library's official documentation and code examples for current API signatures' with the specific doc entry points or nothing at all, since it adds tokens without actionable direction.

DimensionReasoningScore

Conciseness

The body is mostly tables, MUST-rules, and pointers, but contains minor over-explanation of concepts Claude already knows ('Cobra provides the command/subcommand/flag structure and Viper handles configuration...', 'This combination powers kubectl, docker, gh, hugo') plus generic filler ('refer to the library's official documentation'). Not level 3: the padding is a few sentences, not whole sections.

4 / 5

Actionability

Guidance is fully executable: concrete directives ('SilenceUsage: true' MUST, 'signal.NotifyContext', 'cmd.OutOrStdout()', 'go build -ldflags'), exact package import paths in the Quick Reference, and every section links to a real, complete example file in assets/examples/ (all 12 referenced files exist and contain runnable code).

5 / 5

Workflow Clarity

The Modes section explicitly sequences Build ('follow the project structure, root command setup, flag binding, and version embedding sections sequentially'), Extend ('read the current command tree first'), and Review, and Review has a genuine checkpoint checklist (Common Mistakes table, verify SilenceUsage/exit codes/stdout discipline). Not level 5: Build/Extend flows lack an explicit verify step such as running 'go build'/'go test ./...' after changes.

4 / 5

Progressive Disclosure

The body is a clean overview that links one-level-deep to per-topic example files ([assets/examples/serve.go], [assets/examples/flags.go], etc.), each existing in the bundle with real content, and the inlined material (validator table, exit-code table, sample YAML) is appropriately overview-level. Navigation is easy with nothing buried or nested.

5 / 5

Total

18

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

Excellent description: concrete what-and-when with comprehensive natural triggers, and explicit deconfliction redirects to sibling skills. It follows the strongest reference-example pattern without padding.

DimensionReasoningScore

Specificity

The description names the domain and enumerates ten concrete capability areas — 'command structure, flag handling, configuration layering, version embedding, exit codes, I/O patterns, signal handling, shell completion, argument validation, and CLI unit testing' — which is comprehensive coverage, not the 'minor gaps' of level 4.

5 / 5

Completeness

Both questions are explicitly answered: 'Golang CLI application development' plus the enumerated scope states what it does, and 'Use when building, modifying, or reviewing a Go CLI tool... Also triggers when code uses cobra, viper, or urfave/cli' gives concrete when-triggers, matching the level-5 example structure exactly.

5 / 5

Trigger Term Quality

It includes the natural phrases users would say ('building, modifying, or reviewing a Go CLI tool') plus the exact library names that trigger recognition ('cobra, viper, or urfave/cli') and task nouns like 'exit codes' and 'shell completion'. Go/Golang/CLI synonyms are all covered, matching the comprehensive-synonyms anchor.

5 / 5

Distinctiveness Conflict Risk

It occupies a clear Go-CLI niche and actively reduces overlap risk with explicit boundary redirects: 'For cobra-specific APIs → See `samber/cc-skills-golang@golang-spf13-cobra` skill; for viper configuration layering → See `samber/cc-skills-golang@golang-spf13-viper` skill'.

5 / 5

Total

20

/

20

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_field

'metadata' should map string keys to string values

Warning

relative_links

Relative link issues: 12 deeper-than-1-level

Warning

referenced_paths_exist

Referenced path issues: 24 deeper-than-1-level

Warning

Total

13

/

16

Passed

Repository

samber/cc-skills-golang

Path

skills/golang-cli/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.