Agent skill

Migrate Gunit V2

by smarty in smarty/gunit

Migrate Go test code from gunit v1 (github.com/smarty/gunit) to gunit v2 (github.com/smarty/gunit/v2).

Custom licenceAuto-check passedTesting & QA

Install Migrate Gunit V2

skills CLI
$ npx skills add smarty/gunit --skill migrate-gunit-v2 -a claude-code

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

GitHub CLI
$ gh skill install smarty/gunit migrate-gunit-v2 --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/smarty/gunit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/migrate-gunit-v2 .claude/skills/migrate-gunit-v2 && 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
migrate-gunit-v2
GitHub stars
118
Token cost
~3.5k tokens
SKILL.md length
950 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
Custom licence

At a glance

Migrate Go test code from gunit v1 (github.com/smarty/gunit) to gunit v2 (github.com/smarty/gunit/v2).

  • Works in 6 steps: Module wiring → Runner and options → Fixture method changes → …
  • A caller asks to upgrade
  • SKILL.md covers Step 1: Module wiring, Step 2: Runner and options, Step 3: Fixture method changes and Step 4: Assertion mapping, plus 2 more sections
  • Calls go and make

What it does

Migrate Gunit V2 is an agent skill from smarty/gunit. Migrate Go test code from gunit v1 (github.com/smarty/gunit) to gunit v2 (github.com/smarty/gunit/v2). Use when a caller asks to upgrade, migrate, or convert tests, fixtures, or assertions from gunit v1 (or the legacy smarty/assertions module) to the v2 module.

Its SKILL.md is about 3.5k 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 Unit testing. It works with GitHub. The repository describes itself as: xUnit-style test fixture adapter for go test.

When your agent uses it

  • A caller asks to upgrade
  • Assertions from gunit v1 (or the legacy smarty/assertions module) to the v2 module

Example prompts

  • “/migrate-gunit-v2”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Module wiring
  2. Runner and options
  3. Fixture method changes
  4. Assertion mapping
  5. Custom assertions
  6. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit 80f0682. 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
    • make

    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

Migrate Gunit V2 loads about 3.5k tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 950 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 950 words (~3,550 tokens).

“This skill guides the migration of Go test code from github.com/smarty/gunit (v1) to github.com/smarty/gunit/v2. The two modules are similar in spirit; most migrations are mechanical. Work one package at a time and run the tests after each package.”

— opening of SKILL.md by smarty, Custom licence
name
migrate-gunit-v2

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/migrate-gunit-v2 of smarty/gunit.

Open the folder on GitHubat commit 80f0682

Compare with similar skills

Migrate Gunit V2 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.

Migrate Gunit V2 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migrate Gunit V2 this skillsmarty/gunit118—~3.5kAutomated safety check: PassCustom licence
Rocketmq Rust Issue Generatormxsm/rocketmq-rust1.5k—~1.6kAutomated safety check: PassApache-2.0
Issue WriterNVIDIA/container-canary308—~1.1kAutomated safety check: PassApache-2.0
Shopware CLIshopware/shopware-cli124—~4.9kAutomated safety check: PassMIT
Dependency Pinscognitivegears/ha-escpos-thermal-printer112—~1.1kAutomated safety check: PassMIT
Next QA Loopbreaking-brake/cc-wf-studio5.4k—~2.5kAutomated safety check: PassCustom licence

Similar skills

  • A skill your agent uses when the user asks to create, draft, prepare, or publish a GitHub issue for the rocketmq-rust project — bugs, features, enhancements, refactors, docs, unit tests, CI…

    1.5k GitHub stars~1.6k tokensUpdated today
    Testing & QAAuto-check passed
  • Issue Writer

    NVIDIA/container-canary

    Official

    Draft and revise concise, human-focused GitHub issues for pytest-kind-ng.

    308 GitHub stars~1.1k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Shopware CLI

    shopware/shopware-cli

    Use Shopware CLI for Shopware project, extension, and account workflows — create and install new projects (project create, project dev install), validate projects or extensions (with…

    124 GitHub stars~4.9k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Dependency Pins

    cognitivegears/ha-escpos-thermal-printer

    A skill your agent uses when bumping any dependency, upgrading the HA test harness (pytest-homeassistant-custom-component) or HA floor, or handling Dependabot PRs/security alerts — per-package pin…

    112 GitHub stars~1.1k tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Next QA Loop

    breaking-brake/cc-wf-studio

    Runs one unattended iteration of a QA loop: tend any open QA pull request, then build one queued qa issue as tests or test tooling only and open a PR.

    5.4k GitHub stars~2.5k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Unit Tests

    WildGums/Orc.LicenseManager

    Write unit tests for this repository using NUnit following repository best practices.

    109 GitHub stars~2.1k tokensUpdated today
    Testing & QAAuto-check passed

Works with

Categories

Questions about Migrate Gunit V2

What does Migrate Gunit V2 do?

Migrate Go test code from gunit v1 (github.com/smarty/gunit) to gunit v2 (github.com/smarty/gunit/v2). Migrate Gunit V2 is an agent skill from smarty/gunit.com/smarty/gunit/v2).

When should I use Migrate Gunit V2?

Migrate Gunit V2 fits situations like: A caller asks to upgrade; assertions from gunit v1 (or the legacy smarty/assertions module) to the v2 module.

How do I install Migrate Gunit V2 in Claude Code?

Run `npx skills add smarty/gunit --skill migrate-gunit-v2 -a claude-code`. Or copy the skill folder (.claude/skills/migrate-gunit-v2 in smarty/gunit) into .claude/skills/migrate-gunit-v2 in your project. Claude Code loads it when a task matches its description.

How do I install Migrate Gunit V2 in Codex?

Run `npx skills add smarty/gunit --skill migrate-gunit-v2 -a codex`. Or copy the skill folder (.claude/skills/migrate-gunit-v2 in smarty/gunit) into .agents/skills/migrate-gunit-v2 in your project. Codex loads it when a task matches its description.

Can I use Migrate Gunit V2 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 smarty/gunit --skill migrate-gunit-v2 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migrate-gunit-v2, .gemini/skills/migrate-gunit-v2, .github/skills/migrate-gunit-v2 and .opencode/skills/migrate-gunit-v2 in your project.

What does Migrate Gunit V2 need to run?

Going by SKILL.md and its folder, Migrate Gunit V2 needs the command-line tools its instructions call (go and make).

Does Migrate Gunit V2 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 Migrate Gunit V2 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 Migrate Gunit V2 use?

Migrate Gunit V2 has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Migrate Gunit V2 use?

About 3.5k tokens (SKILL.md is roughly 14k 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 Migrate Gunit V2?

Skills that share tags, products or a category with Migrate Gunit V2: Rocketmq Rust Issue Generator (mxsm/rocketmq-rust, 1.5k stars), Issue Writer (NVIDIA/container-canary, 308 stars), Shopware CLI (shopware/shopware-cli, 124 stars) and Dependency Pins (cognitivegears/ha-escpos-thermal-printer, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Migrate Gunit V2?

smarty (a GitHub organization) maintains it in smarty/gunit, which has 118 GitHub stars. The repository was last updated on July 27, 2026.

Source: smarty/gunit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.