CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-performance

Golang performance optimization patterns and methodology - if X bottleneck, then apply Y. Covers allocation reduction, CPU efficiency, memory layout, GC tuning, pooling, caching, and hot-path optimization. Use when profiling or benchmarks have identified a bottleneck and you need the right optimization pattern to fix it. Also use when performing performance code review to suggest improvements or benchmarks that could help identify quick performance gains. Not for measurement methodology (→ See `samber/cc-skills-golang@golang-benchmark` skill) or debugging workflow (→ See `samber/cc-skills-golang@golang-troubleshooting` skill).

72

Quality

88%

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

85%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.

Well-structured content: a decision tree, mistake table, and validated 8-step methodology with concrete commands, appropriately splitting deep material into real reference files. Weaknesses are minor — slight redundancy (the ~80% claim stated twice) and a preamble that could be tightened.

DimensionReasoningScore

Conciseness

The body is dense and mostly lean (tables, command lines, an 8-step numbered cycle), but "intuition about bottlenecks is wrong ~80% of the time" is repeated in Core Philosophy and Common Mistakes, and the persona/thinking/orchestration preamble edges toward padding — minor over-explanation that could be trimmed (anchor 4, not the fully lean anchor 5).

4 / 5

Actionability

Workflow steps are copy-paste ready (`go test -bench=BenchmarkMyFunc -benchmem -count=6 ./pkg/... | tee /tmp/report-1.txt`, `benchstat /tmp/report-1.txt /tmp/report-2.txt`, `go install golang.org/x/perf/cmd/benchstat@latest`, `perf(scope): summary` commit format) and diagnosis names concrete tools (fgprof, goroutine profile, OpenTelemetry). The optimization patterns themselves live in reference files rather than inline, leaving minor gaps versus anchor 5's fully covered common cases.

4 / 5

Workflow Clarity

The iterative cycle is an explicitly sequenced 8-step loop with a built-in validation checkpoint — benchstat statistical comparison must confirm significance before committing — plus a pre-flight "Rule Out External Bottlenecks First" check and one-change-at-a-time discipline with re-measure/repeat feedback, matching the anchor-5 pattern of clear sequence with explicit validation and error recovery.

5 / 5

Progressive Disclosure

SKILL.md is a clean overview routing to six real one-level-deep reference files, well-signaled via the Deep Dives list with per-file descriptions, a decision tree linking to specific sections (e.g., caching.md#algorithmic-complexity), and observability.md linking to assets/prometheus-alerts.yml — all verified to exist with no deeper nesting beyond normal sibling cross-links.

5 / 5

Total

18

/

20

Passed

Description

92%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.

A strong description: it states concrete capability areas, gives explicit positive and negative trigger conditions, and clearly delineates itself from sibling benchmarking and troubleshooting skills. The only gap is a few natural synonyms (e.g., "speed up", "latency") that users might use when asking for performance help.

DimensionReasoningScore

Specificity

The description enumerates concrete capability areas — "allocation reduction, CPU efficiency, memory layout, GC tuning, pooling, caching, and hot-path optimization" — and frames the skill as an "if X bottleneck, then apply Y" pattern catalog, which is comprehensive rather than leaving minor gaps (score 4).

5 / 5

Completeness

It explicitly answers both what ("Golang performance optimization patterns and methodology...") and when ("Use when profiling or benchmarks have identified a bottleneck... Also use when performing performance code review...") with concrete trigger phrases, matching the anchor-5 example structure.

5 / 5

Trigger Term Quality

Natural phrases like "profiling or benchmarks have identified a bottleneck", "performance code review", and "quick performance gains" give good keyword coverage, but common user synonyms such as "speed up", "faster", or "latency" are absent (score 5 requires comprehensive coverage including synonyms and extensions).

4 / 5

Distinctiveness Conflict Risk

A clear niche (optimization after a bottleneck is identified) is reinforced by explicit negative boundary guidance — "Not for measurement methodology... or debugging workflow" — with pointers to sibling skills, minimizing conflict risk beyond the anchor-4 "minor overlap" level.

5 / 5

Total

19

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_field

'metadata' should map string keys to string values

Warning

Total

15

/

16

Passed

Repository
samber/cc-skills-golang
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.