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 golang-benchmark skill) or debugging workflow (see golang-troubleshooting skill).

89

Quality

88%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Discovery

100%

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

This is an excellent skill description that clearly defines its scope, provides rich trigger terms, and explicitly delineates boundaries with related skills. It uses proper third-person voice, lists concrete capabilities, provides clear 'Use when' triggers, and includes 'Not for' exclusions that minimize conflict risk. This is a model example of a well-crafted skill description.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions and domains: allocation reduction, CPU efficiency, memory layout, GC tuning, pooling, caching, hot-path optimization, and performance code review. The 'if X bottleneck, then apply Y' framing adds methodological specificity.

3 / 3

Completeness

Clearly answers both 'what' (Golang performance optimization patterns covering allocation reduction, CPU efficiency, etc.) and 'when' (explicit 'Use when profiling or benchmarks have identified a bottleneck' and 'when performing performance code review'). Also includes explicit 'Not for' exclusions referencing other skills, which strengthens the 'when' guidance.

3 / 3

Trigger Term Quality

Includes strong natural keywords users would say: 'performance optimization', 'profiling', 'benchmarks', 'bottleneck', 'allocation reduction', 'GC tuning', 'caching', 'hot-path', 'performance code review'. These cover a wide range of terms a Go developer would naturally use when seeking optimization help.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive with explicit boundary-setting via 'Not for measurement methodology (see golang-benchmark skill) or debugging workflow (see golang-troubleshooting skill)'. This directly addresses potential overlap with related skills and creates a clear niche for optimization patterns specifically.

3 / 3

Total

12

/

12

Passed

Implementation

77%

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

This is a well-structured performance optimization skill that excels at workflow methodology and decision-making frameworks. The decision tree mapping pprof signals to optimization strategies is particularly valuable. The main weakness is that the core optimization patterns (the 'if X bottleneck, then apply Y' content promised in the description) are entirely delegated to reference files that weren't provided in the bundle, making the main skill more of a routing document than a self-contained guide. The actionability would benefit from at least one concrete before/after code example inline.

Suggestions

Include at least 1-2 inline before/after code examples for the highest-ROI optimization (e.g., allocation reduction with sync.Pool or slice preallocation) so the skill is actionable even without reference files.

Provide the bundle reference files (references/memory.md, references/cpu.md, etc.) so the progressive disclosure structure can be fully evaluated and the skill delivers on its promised optimization patterns.

DimensionReasoningScore

Conciseness

The content is lean and efficient. It avoids explaining what Go, GC, or pprof are. Every section delivers actionable patterns or decision tables without padding. The philosophy section is brief and justified by the optimization context.

3 / 3

Actionability

The iterative methodology provides concrete commands (benchstat, go test -bench flags), and the decision tree maps signals to actions. However, the actual optimization patterns are delegated to reference files, and the main skill lacks executable code examples showing before/after optimization patterns. The common mistakes table is actionable but mostly declarative.

2 / 3

Workflow Clarity

The iterative optimization cycle is clearly sequenced with 8 explicit steps including baseline measurement, single-change discipline, statistical comparison via benchstat, and a repeat loop. The 'Rule Out External Bottlenecks First' section adds a validation checkpoint before even starting optimization. The decision tree provides clear routing from diagnosis to action.

3 / 3

Progressive Disclosure

The skill has excellent structure with a clear overview, decision tree routing to deep dives, and well-signaled references to 6 reference files and multiple cross-referenced skills. However, no bundle files were provided, so the referenced files (references/memory.md, references/cpu.md, etc.) cannot be verified to exist, and the actual optimization patterns that are the core value of this skill are entirely in those unverifiable references.

2 / 3

Total

10

/

12

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.

Validation9 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

9

/

11

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.