Agent skill

Golang Testing

by antoniopaya22 in antoniopaya22/go-rest-template

Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage.

No licenceAuto-check passedTesting & QA

Install Golang Testing

skills CLI
$ npx skills add antoniopaya22/go-rest-template --skill golang-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install antoniopaya22/go-rest-template golang-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/antoniopaya22/go-rest-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/golang-testing .claude/skills/golang-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
golang-testing
GitHub stars
172
Used in
9 other repos
Token cost
~4.2k tokens
SKILL.md length
262 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage.

  • Tasks that involve Test-driven development
  • SKILL.md covers When to Activate, TDD Workflow for Go, Table-Driven Tests and Subtests and Sub-benchmarks, plus 9 more sections
  • Calls go
  • Tasks that involve Test strategy

What it does

Golang Testing is an agent skill from antoniopaya22/go-rest-template. Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. Follows TDD methodology with idiomatic Go practices.

Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test-driven development, Test strategy and Test coverage. It works with Go. The repository describes itself as: Go (Golang) API REST Template/Boilerplate with Gin Framework.

When your agent uses it

  • Tasks that involve Test-driven development
  • Tasks that involve Test strategy
  • Tasks that involve Test coverage

Example prompts

  • “/golang-testing”

What it can do on your machine

Read from SKILL.md and the folder at commit 1107db6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Golang Testing loads about 4.2k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 262 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~4.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 262 words (~4,158 tokens).

“Comprehensive Go testing patterns for writing reliable, maintainable tests following TDD methodology.”

— opening of SKILL.md by antoniopaya22
name
golang-testing
origin
ECC

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/golang-testing of antoniopaya22/go-rest-template.

Open the folder on GitHubat commit 1107db6

Used in 9 other repositories

We found 14 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 9 other GitHub owners. This page covers the copy in antoniopaya22/go-rest-template, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Golang Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Golang Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Golang Testing this skillantoniopaya22/go-rest-template1729 repos~4.2kAutomated safety check: PassNone
Golang Testingaffaan-m/ECC277k1 repos~4.3kAutomated safety check: PassMIT
Designing TestsCloudAI-X/opencode-workflow275—~2.9kAutomated safety check: PassMIT
Golang Testingunxed/f42441 repos~4.5kAutomated safety check: PassMIT
Mutation Testing Triagetrailofbits/skills7.5k—~3.2kAutomated safety check: PassCC-BY-SA-4.0
Automated Test Planningtestdouble/han281—~6.7kAutomated safety check: PassMIT

Similar skills

  • Golang Testing

    affaan-m/ECC

    Table-driven testler, subtestler, benchmark'lar, fuzzing ve test coverage içeren Go test desenleri.

    277k GitHub starsUsed in 1 repo~4.3k tokens
    Testing & QAAuto-check passed
  • Designing Tests

    CloudAI-X/opencode-workflow

    Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.

    275 GitHub stars~2.9k tokensUpdated 9 mo ago
    Testing & QAAuto-check passed
  • Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration…

    244 GitHub starsUsed in 1 repo~4.5k tokens
    Testing & QAAuto-check passed
  • Mutation Testing Triage

    trailofbits/skills

    Official

    Triages survived mutants and unnecessary test statements using Trailmark call-graph data, sorting them into false positives, missing unit tests and fuzzing targets.

    7.5k GitHub stars~3.2k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Produce a standalone test plan by analyzing code for test coverage gaps and edge cases.

    281 GitHub stars~6.7k tokensUpdated 10 days ago
    Testing & QAAuto-check passed
  • Golang Testing

    affaan-m/ECC

    Patrones de pruebas Go incluyendo pruebas basadas en tablas, subpruebas, benchmarks, fuzzing y cobertura de código.

    276k GitHub stars~4.3k tokensUpdated yesterday
    Testing & QAAuto-check passed

More from antoniopaya22/go-rest-template

  • Golang Patterns

    antoniopaya22/go-rest-template

    Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.

    172 GitHub starsUsed in 9 repos~3.5k tokens
    Auto-check passed
  • Golang Pro

    antoniopaya22/go-rest-template

    Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with…

    172 GitHub starsUsed in 3 repos~1.2k tokens
    Auto-check passed

Works with

Categories

Questions about Golang Testing

What does Golang Testing do?

Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. Golang Testing is an agent skill from antoniopaya22/go-rest-template. Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage.

When should I use Golang Testing?

Golang Testing fits situations like: tasks that involve Test-driven development; tasks that involve Test strategy; tasks that involve Test coverage.

How do I install Golang Testing in Claude Code?

Run `npx skills add antoniopaya22/go-rest-template --skill golang-testing -a claude-code`. Or copy the skill folder (.agents/skills/golang-testing in antoniopaya22/go-rest-template) into .claude/skills/golang-testing in your project. Claude Code loads it when a task matches its description.

How do I install Golang Testing in Codex?

Run `npx skills add antoniopaya22/go-rest-template --skill golang-testing -a codex`. Or copy the skill folder (.agents/skills/golang-testing in antoniopaya22/go-rest-template) into .agents/skills/golang-testing in your project. Codex loads it when a task matches its description.

Can I use Golang Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add antoniopaya22/go-rest-template --skill golang-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/golang-testing, .gemini/skills/golang-testing, .github/skills/golang-testing and .opencode/skills/golang-testing in your project.

What does Golang Testing need to run?

Going by SKILL.md and its folder, Golang Testing needs the command-line tools its instructions call (go).

Does Golang Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Golang Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Golang Testing use?

No licence was found for Golang Testing or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Golang Testing use?

About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Golang Testing?

Skills that share tags, products or a category with Golang Testing: Golang Testing (affaan-m/ECC, 277k stars), Designing Tests (CloudAI-X/opencode-workflow, 275 stars), Golang Testing (unxed/f4, 244 stars) and Mutation Testing Triage (trailofbits/skills, 7.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Golang Testing?

antoniopaya22 (a GitHub user) maintains it in antoniopaya22/go-rest-template, which has 172 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on March 31, 2026.

Source: antoniopaya22/go-rest-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.