CtrlK
BlogDocsLog inGet started
Tessl Logo

go-test-generator

Go Test Generator - Auto-activating skill for Test Automation. Triggers on: go test generator, go test generator Part of the Test Automation skill category.

35

1.00x

Quality

3%

Does it follow best practices?

Impact

93%

1.00x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./planned-skills/generated/09-test-automation/go-test-generator/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

Write Unit Tests for a Go Validation Package

Unit testing with table-driven patterns

Criteria
Without context
With context

Correct package declaration

100%

100%

Proper test file name

100%

100%

Standard testing import

100%

100%

TestXxx naming convention

100%

100%

Table-driven tests used

100%

100%

Subtests via t.Run

100%

100%

ValidateUsername coverage

100%

100%

ValidateEmail coverage

100%

100%

ValidatePassword coverage

100%

100%

Assertions use t.Errorf or t.Fatalf

100%

100%

No third-party test libraries

100%

100%

Production-ready: no debug output

100%

100%

Tests compilable with go test

100%

100%

Without context: $0.2405 · 1m 29s · 13 turns · 14 in / 4,522 out tokens

With context: $0.4202 · 2m 10s · 21 turns · 23 in / 6,011 out tokens

100%

Test a Go Notification Service with a Mocked Email Client

Mocking external dependencies in Go tests

Criteria
Without context
With context

Interface defined for emailer

100%

100%

NotificationService uses interface

100%

100%

Mock struct implemented

100%

100%

Mock captures calls

100%

100%

No real network calls in tests

100%

100%

SendWelcome tested

100%

100%

SendPasswordReset error path tested

100%

100%

Mock error injection tested

100%

100%

Standard testing package used

100%

100%

Assertions use t.Errorf or t.Fatalf

100%

100%

Test file compiles

100%

100%

Without context: $0.4803 · 2m 9s · 25 turns · 25 in / 6,971 out tokens

With context: $0.5171 · 2m 14s · 29 turns · 28 in / 7,094 out tokens

81%

1%

Set Up Integration Tests for a Go REST API Handler

Integration tests and test framework configuration

Criteria
Without context
With context

Uses net/http/httptest

100%

100%

TestMain present

0%

0%

TestMain calls m.Run()

0%

0%

GET /items tested

100%

100%

POST /items tested

100%

100%

PUT /items/{id} tested

100%

100%

Fresh store per test or per suite

100%

100%

Correct test file names

60%

80%

Makefile test target

100%

100%

Coverage flags in Makefile

100%

100%

Standard testing package used

100%

100%

Assertions with t.Errorf or t.Fatalf

100%

100%

Without context: $0.4688 · 2m 26s · 24 turns · 24 in / 7,274 out tokens

With context: $0.6795 · 3m 9s · 31 turns · 113 in / 9,440 out tokens

Repository
jeremylongshore/claude-code-plugins-plus-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

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.