gen-test

Installation
SKILL.md

gen-test

Generate test scaffolding for Go files following oastools testing conventions.

Usage:

  • /gen-test parser/resolver.go - Generate tests for all exported functions
  • /gen-test validator/validate.go ValidateSpec - Generate test for specific function

Step 1: Analyze Target File

Read the specified file and identify:

  1. Package name
  2. Exported functions/methods to test
  3. Existing test file (if any)
  4. Dependencies and types used
Installs
1
First Seen
Mar 28, 2026
gen-test from smithery.ai