Go Test banner
ysyecust ysyecust

Go Test

Testing community

Description

--- description: Enforce TDD workflow for Go. Write table-driven tests first, then implement. Verify 80%+ coverage with go test -cover. --- # Go TDD Command This command enforces test-driven development methodology for Go code using idiomatic Go testing patterns. ## What This Command Does 1. **Define Types/Interfaces**: Scaffold function signatures first 2. **Write Table-Driven Tests**: Create comprehensive test cases (RED) 3. **Run Tests**: Verify tests fail for the right reason 4. **Implem

Installation

Installs to ~/.claude/skills/ysyecust-everything-claude-code-go-test/SKILL.md

Terminal
mkdir -p ~/.claude/skills/ysyecust-everything-claude-code-go-test && curl -fsSL https://raw.githubusercontent.com/ysyecust/everything-claude-code/HEAD/commands/go-test.md -o ~/.claude/skills/ysyecust-everything-claude-code-go-test/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository