test-write-go

Community

Write idiomatic Go table-driven tests fast.

AuthorCaptainPhantasy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generates idiomatic Go table-driven tests to accelerate robust unit testing and improve maintainability.

Core Features & Use Cases

  • Table-driven test scaffolding for Go functions to ensure consistent test structure
  • Enforces explicit error handling and 100% path coverage in generated tests
  • Supports testify's require/assert assertions when available
  • Use Case: Quickly generate tests for Go packages with multiple branches to CI-ready coverage

Quick Start

Provide a Go function signature to generate a table-driven test scaffold.

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: test-write-go
Download link: https://github.com/CaptainPhantasy/floyd-v5/archive/main.zip#test-write-go

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.