add_go_test

Official

Add reliable Go tests instantly.

Authorauthgear
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill makes it easy to satisfy requests for new or improved Go unit tests by guiding the implementation while preserving the existing package conventions.

Core Features & Use Cases

  • Test Guidance: Inspect the package and existing _test.go files to mirror the current style, whether that means table-driven checks or using goconvey.
  • Minimal Scope: Add the smallest test file that covers the requested behavior, keeping fixtures local unless reuse is necessary elsewhere.
  • Release Confidence: Run go test on the affected package and extend to related packages when shared code is touched to ensure safety.
  • Use Case: When asked to validate a new authentication path, review the package style, write the targeted assertions, and verify success with go test.

Quick Start

Ask add_go_test to inspect the target Go package and expand or add the unit tests required by the user request.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add_go_test
Download link: https://github.com/authgear/authgear-server/archive/main.zip#add-go-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.